Task #8906 (closed)
Opened 7 years ago
Closed 7 years ago
OmeroPy Schema: Instrument
| Reported by: | wmoore | Owned by: | wmoore |
|---|---|---|---|
| Priority: | critical | Milestone: | OMERO-4.4 |
| Component: | General | Version: | n.a. |
| Keywords: | n.a. | Cc: | atarkowska, cxallan, cneves |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | n.a. |
| Sprint: | 2012-05-22 (15) |
Description
Metadata display fails on several Instrument methods:
Environment:
Request Method: GET
Request URL: http://localhost:8000/webclient/metadata_acquisition/image/2/
Django Version: 1.3.1
Python Version: 2.6.1
Installed Applications:
['django.contrib.staticfiles',
'django.contrib.markup',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'omeroweb.feedback',
'omeroweb.webadmin',
'omeroweb.webclient',
'omeroweb.webgateway',
'omeroweb.webtest',
'omeroweb.webredirect']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.messages.middleware.MessageMiddleware')
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
170. return f(request, *args, **kwargs)
File "/Users/will/Desktop/OMERO/components/tools/OmeroWeb/omeroweb/../omeroweb/webclient/views.py" in load_metadata_acquisition
1366. objectives = instrument.getObjectives()
File "/Users/will/Desktop/OMERO/dist/lib/python/omero/gateway/__init__.py" in getObjectives
7527. return [ObjectiveWrapper(self._conn, x) for x in self._objectiveSeq]
File "/Users/will/Desktop/OMERO/dist/lib/python/omero/gateway/__init__.py" in __getattr__
1056. raise AttributeError("'%s' object has no attribute '%s'" % (self._obj.__class__.__name__, attr))
Exception Type: AttributeError at /webclient/metadata_acquisition/image/2/
Exception Value: 'InstrumentI' object has no attribute '_objectiveSeq'
Change History (1)
comment:1 Changed 7 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/will-moore/openmicroscopy/commit/5b4a43303e2c617be15a8c37504af19796a3d0ee