Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
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 14 years ago

Closed 14 years ago

Last modified 14 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/scripts.py TestScripts.testRunScript

wjm:OmeroPy will$ PYTHONPATH=$PYTHONPATH:.:test:build/lib ICE_CONFIG=/Users/will/Documents/workspace/Omero/etc/ice.config python test/integration/scripts.py TestScripts.testRunScript
E
======================================================================
ERROR: testRunScript (__main__.TestScripts)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/integration/scripts.py", line 107, in testRunScript
    proc = scriptService.runScript(officialScriptId, map, None)
  File "/Users/will/Documents/workspace/Omero/dist/lib/python/omero_api_IScript_ice.py", 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

---stderr---
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/scripts.py", line 214, in client
    handleParse(c) # May throw
  File "/Users/will/Documents/workspace/Omero/dist/lib/python/omero/scripts.py", line 219, in handleParse
    c.setOutput("omero.scripts.parse", rinternal(c.params))
  File "/Users/will/Documents/workspace/Omero/dist/lib/python/omero/clients.py", line 789, in setOutput
    self._env(False, "setOutput", key, value)
  File "/Users/will/Documents/workspace/Omero/dist/lib/python/omero/clients.py", line 759, in _env
    rv = apply(m, (u,)+args)
  File "/Users/will/Documents/workspace/Omero/dist/lib/python/omero_api_ISession_ice.py", 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 14 years ago by wmoore

  • Description modified (diff)
  • Owner set to jmoore

comment:2 Changed 14 years ago by wmoore

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

comment:3 Changed 14 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 14 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 14 years ago by jmoore

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

comment:6 Changed 14 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.68607 sec.)

We're Hiring!