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"

Bug #1244 (closed)

Opened 15 years ago

Closed 15 years ago

DatasetI( id, false) should except int

Reported by: jamoore Owned by: jamoore
Priority: major Cc:
Sprint: n.a.
Total Remaining Time: n.a.

Description (last modified by jmoore)

Traceback (most recent call last):
  File "OmeroClients/constructors.py", line 4, in <module>
    dataset = omero.model.DatasetI(1, False)
  File "/Users/josh/GlencoeSoftware.git/git/omero.git/dist/lib/python/omero_model_DatasetI.py", line 82, in __init__
    raise omero.ClientError("id argument can only be an omero.RLong or long, not " + str(id))
NameError: global name 'omero' is not defined

Also note the added exception-on-exception.

Change History (2)

comment:1 Changed 15 years ago by jmoore

  • Description modified (diff)

comment:2 Changed 15 years ago by jmoore

  • Resolution set to fixed
  • Status changed from new to closed
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.80712 sec.)

We're Hiring!