Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #2313 (closed)

Opened 10 years ago

Closed 10 years ago

BUG: editScript(file, text)

Reported by: wmoore Owned by: jamoore
Priority: minor Milestone: OMERO-Beta4.2
Component: General Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2010-04-30 (8)

Description (last modified by wmoore)

Test committed below

wjm:OmeroPy will$ PYTHONPATH=$PYTHONPATH:.:test:build/lib ICE_CONFIG=/Users/will/Documents/workspace/Omero/etc/ice.config python test/integration/ TestScripts.testEditScript
ERROR: testEditScript (__main__.TestScripts)
Traceback (most recent call last):
  File "test/integration/", line 142, in testEditScript
    scriptService.editScript(scriptFile, script)
  File "/Users/will/Documents/workspace/Omero/dist/lib/python/", line 125, in editScript
    return _M_omero.api.IScript._op_editScript.invoke(self, ((fileObject, scriptText), _ctx))
InternalException: exception ::omero::InternalException
    serverStackTrace = File '/Users/will/Documents/workspace/Omero/dist/./lib/scripts/test/edit' exists but is a directory
	at omero.api._IScriptTie.editScript_async(
	at omero.api._IScriptDisp.___editScript(
	at omero.api._IScriptDisp.__dispatch(
	at IceInternal.Incoming.invoke(
	at Ice.ConnectionI.invokeAll(
	at Ice.ConnectionI.message(
	at IceInternal.ThreadPool.access$100(
	at IceInternal.ThreadPool$

    serverExceptionClass =
    message = File '/Users/will/Documents/workspace/Omero/dist/./lib/scripts/test/edit' exists but is a directory

Change History (4)

comment:1 Changed 10 years ago by wmoore

(In [6828]) Test for editScript(file, text). See #2313

comment:2 Changed 10 years ago by wmoore

  • Description modified (diff)
  • Owner set to jmoore

comment:3 Changed 10 years ago by jmoore

  • Status changed from new to assigned

comment:4 Changed 10 years ago by jmoore

  • Remaining Time set to 0
  • Resolution set to fixed
  • Status changed from assigned to closed

(In [6832]) fix #2313 - Fixing more path+name issues. See #1753

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.219430 sec.)

We're Hiring!