Task #8303 (closed)
Load Metadata Bug
Reported by: | wmoore | Owned by: | wmoore |
---|---|---|---|
Priority: | major | Milestone: | OMERO-4.4 |
Component: | Web | Version: | n.a. |
Keywords: | n.a. | Cc: | cxallan, jamoore, atarkowska, cneves |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | 2012-03-27 (11) |
Description
Trying to load acquisition metadata from someone else's image in a different group. omero.group is "-1" but
Traceback: File "/Users/will/Desktop/OMERO/dist/lib/python/django/core/handlers/base.py" in get_response 111. response = callback(request, *callback_args, **callback_kwargs) File "/Users/will/Desktop/OMERO/components/tools/OmeroWeb/omeroweb/../omeroweb/webclient/views.py" in wrapped 176. return f(request, *args, **kwargs) File "/Users/will/Desktop/OMERO/components/tools/OmeroWeb/omeroweb/../omeroweb/webclient/views.py" in load_metadata_acquisition 1467. lightPath = logicalChannel.getLightPath() File "/Users/will/Desktop/OMERO/dist/lib/python/omero/gateway/__init__.py" in getLightPath 4895. self.__loadedHotSwap__() File "/Users/will/Desktop/OMERO/dist/lib/python/omero/gateway/__init__.py" in __loadedHotSwap__ 4891. self._obj = self._conn.getMetadataService().loadChannelAcquisitionData([self._obj.id.val])[0] Exception Type: IndexError at /webclient/metadata_acquisition/image/4251/ Exception Value: list index out of range
Change History (2)
comment:1 Changed 12 years ago by wmoore
- Cc cneves-x added
- Remaining Time changed from 1 to 0
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 12 years ago by Will Moore <will@…>
(In [d63c134557fb4bbaa44815296655d6eb3645d009/ome.git] on branch develop) Add {'omero.group': '-1'} to loadInstrument() etc Closes #8303
Also added to loadChannelAcquisitionData().
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
Added {'omero.group': '-1'} to a couple of loadedHotSwap methods in BlitzGateway?:
See: https://github.com/will-moore/openmicroscopy/commit/037138c981a0284728abdf8d669f11da68ddeed6
Closing...