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

Opened 13 years ago

Closed 13 years ago

BUG: Channels Offset script

Reported by: jburel Owned by: wmoore
Priority: minor Milestone: OMERO-Beta4.3
Component: General Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

Traceback (most recent call last):
  File "./script", line 258, in <module>
    runAsScript()
  File "./script", line 244, in runAsScript
    newImgIds = processImages(conn, scriptParams)
  File "./script", line 155, in processImages
    newImg = newImageWithChannelOffsets(conn, iId, channel_offsets, newDatasetName)
  File "./script", line 58, in newImageWithChannelOffsets
    oldImage = conn.getObject("Image", imageId)
AttributeError: '_BlitzGateway' object has no attribute 'getObject'

Change History (1)

comment:1 Changed 13 years ago by wmoore

  • Resolution set to fixed
  • Status changed from new to closed

Seems that this is due to old PYTHONPATH. Can be checked like this:

$ python
>>> from omero import gateway
>>> gateway.__file__
'/Users/will/Desktop/OMERO/dist/lib/python/omero/gateway/__init__.pyc'
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.66237 sec.)

We're Hiring!