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
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
Fixed with https://github.com/aleksandra-tarkowska/openmicroscopy/commit/c144bd5b7ca00f3b421be992867c27b19cdf3e8e
SERVICE_OPTS created in init() if client_obj is not None.