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 #2315 (closed)

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

BUG: useDefault

Reported by: wmoore Owned by: jamoore
Priority: minor Milestone: OMERO-Beta4.2
Component: Scripting Version: n.a.
Keywords: n.a. Cc: jburel
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 result for test/integration/ TestScripts.testRunScript

wjm:OmeroPy will$ PYTHONPATH=$PYTHONPATH:.:test:build/lib ICE_CONFIG=/Users/will/Documents/workspace/Omero/etc/ice.config python test/integration/ TestScripts.testRunScript
ERROR: testRunScript (__main__.TestScripts)
Traceback (most recent call last):
  File "test/integration/", line 107, in testRunScript
    proc = scriptService.runScript(officialScriptId, map, None)
  File "/Users/will/Documents/workspace/Omero/dist/lib/python/", line 149, in runScript
    return _M_omero.api.IScript._op_runScript.invoke(self, ((scriptID, inputs, waitSecs), _ctx))
ValidationException: exception ::omero::ValidationException
    serverStackTrace = 
    serverExceptionClass = 
    message = Can't find params for 23. Stderr is in file 24

Traceback (most recent call last):
  File "./script", line 6, in <module>
    scripts.String('message', optional=True))
  File "/Users/will/Documents/workspace/Omero/dist/lib/python/omero/", line 214, in client
    handleParse(c) # May throw
  File "/Users/will/Documents/workspace/Omero/dist/lib/python/omero/", line 219, in handleParse
    c.setOutput("omero.scripts.parse", rinternal(c.params))
  File "/Users/will/Documents/workspace/Omero/dist/lib/python/omero/", line 789, in setOutput
    self._env(False, "setOutput", key, value)
  File "/Users/will/Documents/workspace/Omero/dist/lib/python/omero/", line 759, in _env
    rv = apply(m, (u,)+args)
  File "/Users/will/Documents/workspace/Omero/dist/lib/python/", line 174, in setOutput
    return _M_omero.api.ISession._op_setOutput.invoke(self, ((sess, key, value), _ctx))
AttributeError: no member `useDefault' found in ::omero::grid::Param value


Ran 1 test in 22.724s

FAILED (errors=1)

Change History (6)

comment:1 Changed 10 years ago by wmoore

  • Description modified (diff)
  • Owner set to jmoore

comment:2 Changed 10 years ago by wmoore

  • Cc jburel added
  • Milestone OMERO-Beta4.2 deleted
  • Sprint 2010-04-30 (8) deleted

comment:3 Changed 10 years ago by jmoore

  • Component changed from General to Scripting
  • Milestone set to OMERO-Beta4.2
  • Sprint set to 2010-04-30 (8)
  • 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 [6835]) fix #2315 - Improved Type constructor

comment:5 Changed 10 years ago by jmoore

(In [6841]) see #2315 - adding missing super ctor call

comment:6 Changed 10 years ago by jmoore

(In [6846]) see #2315, #2316 - updating scripts for new Type usage

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.200940 sec.)

We're Hiring!