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

Opened 14 years ago

Closed 14 years ago

BUG: Script bool parameter

Reported by: wmoore Owned by: jamoore
Priority: critical Milestone: OMERO-Beta4.2
Component: Scripting 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 jmoore)

Get error when passing an rbool parameter to script. Test below fails unless line 162 http://trac.openmicroscopy.org.uk/omero/browser/trunk/components/tools/OmeroPy/test/integration/figureExportScripts.py?rev=6666#L162 is commented out.

See comment for stack trace

Change History (6)

comment:1 Changed 14 years ago by wmoore

wjm:OmeroPy will$ PYTHONPATH=/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/:/opt/Ice-3.3.1/python:.:test:build/lib ICE_CONFIG=/Users/will/Documents/workspace/Omero/etc/ice.config python test/integration/figureExportScripts.py TestFigureExportScripts.testSplitViewFigure
testSplitViewFigure
E
======================================================================
ERROR: testSplitViewFigure (__main__.TestFigureExportScripts)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/integration/figureExportScripts.py", line 175, in testSplitViewFigure
    fileId1 = runScript(session, scriptId, omero.rtypes.rmap(argMap), "fileAnnotation")
  File "test/integration/figureExportScripts.py", line 194, in runScript
    proc = processor.execute(argMap)
  File "/Users/will/Documents/workspace/Omero/components/tools/OmeroPy/build/lib/omero_Scripts_ice.py", line 859, in execute
    return _M_omero.grid.InteractiveProcessor._op_execute.invoke(self, ((inputs, ), _ctx))
ApiUsageException: exception ::omero::ApiUsageException
{
    serverStackTrace = 
    serverExceptionClass = 
    message = Unsupported conversion to rtype from:true
}

comment:2 Changed 14 years ago by jmoore

  • Description modified (diff)
  • Milestone changed from OMERO-Beta4.2 to Unscheduled
  • Sprint 2010-04-16 (7) deleted

comment:3 Changed 14 years ago by jmoore

  • Component changed from General to Scripting
  • Milestone changed from Unscheduled to OMERO-Beta4.2
  • Priority changed from minor to critical
  • Sprint set to 2010-04-16 (7)

comment:4 Changed 14 years ago by cxallan

  • Sprint changed from 2010-04-16 (7) to 2010-04-30 (8)

comment:5 Changed 14 years ago by jmoore

  • Status changed from new to assigned

comment:6 Changed 14 years ago by jmoore

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

(In [6816]) fix #2255 - adding missing rbool parsing

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

We're Hiring!