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

Opened 12 years ago

Closed 12 years ago

Scripts: BlitzGateway has no SERVICE_OPTS attribute

Reported by: sbesson Owned by:
Priority: major Milestone: OMERO-4.4
Component: OmeroPy Version: n.a.
Keywords: n.a. Cc: wmoore, cxallan
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

  • OMERO.web 4.4.0-RC1-224-272f9ba-ice33-b109
  • OS X 10.7.4 (Firefox 13.0.1)
  • bp.openmicroscopy.org.uk

Multiple scripts fail with the following error

Traceback (most recent call last):
  File "./script", line 689, in <module>
    runAsScript()
  File "./script", line 678, in runAsScript
    [fileAnnotation, message] = splitViewFigure(conn, scriptParams)
  File "./script", line 478, in splitViewFigure
    images, logMessage = scriptUtil.getObjects(conn, scriptParams)
  File "C:\OMERO-CURRENT\lib\python\omero\util\script_utils.py", line 359, in getObjects
    objects = list(conn.getObjects(dataType,ids))
  File "C:\OMERO-CURRENT\lib\python\omero\gateway\__init__.py", line 2504, in getObjects
    result = self.getQueryService().findAllByQuery(query, params, self.SERVICE_OPTS)
AttributeError: '_BlitzGateway' object has no attribute 'SERVICE_OPTS'

Change History (2)

comment:1 Changed 12 years ago by sbesson

  • Summary changed from Script fails to Scripts: BlitzGateway has no SERVICE_OPTS attribute

comment:2 Changed 12 years ago by wmoore

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

Fixed with https://github.com/aleksandra-tarkowska/openmicroscopy/commit/c144bd5b7ca00f3b421be992867c27b19cdf3e8e

SERVICE_OPTS created in init() if client_obj is not None.

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

We're Hiring!