Task #9081 (closed)
Opened 7 years ago
Closed 7 years ago
BUG: Split View - Channels = None
| Reported by: | omero-qa | Owned by: | wmoore |
|---|---|---|---|
| Priority: | major | Milestone: | OMERO-4.4 |
| Component: | Web | Version: | n.a. |
| Keywords: | n.a. | Cc: | ajpatterson@… |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | n.a. |
| Sprint: | n.a. |
Description
http://qa.openmicroscopy.org.uk/qa/feedback/4440/
Comment: Switching to split view
Traceback (most recent call last):
File "/home/omero/slave/workspace/OMERO-merge-green/src/dist/lib/python/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/omero/slave/workspace/OMERO-merge-green/src/dist/lib/python/omeroweb/decorators.py", line 311, in wrapped
retval = f(request, *args, **kwargs)
File "/home/omero/slave/workspace/OMERO-merge-green/src/dist/lib/python/omeroweb/webtest/views.py", line 347, in split_view_figure
channels = getChannelData(image)
File "/home/omero/slave/workspace/OMERO-merge-green/src/dist/lib/python/omeroweb/webtest/views.py", line 321, in getChannelData
for i, c in enumerate(image.getChannels()):
TypeError: 'NoneType' object is not iterable
<WSGIRequest
GET:<QueryDict: {u'width': [u'120'], u'imageIds': [u'1949']}>,
POST:<QueryDict: {}>,
COOKIES:{'sessionid': '43a022ca626aa912a4552688c68ac491'},
META:{'DOCUMENT_ROOT': '/var/www',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html, */*; q=0.01',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-us',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'sessionid=43a022ca626aa912a4552688c68ac491',
'HTTP_HOST': 'gretzky.openmicroscopy.org.uk',
'HTTP_REFERER': 'http://gretzky.openmicroscopy.org.uk/webclient/',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2',
'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest',
'PATH': '/usr/local/bin:/usr/bin:/bin',
'PATH_INFO': u'/webtest/split_view_figure_plugin/',
'PATH_TRANSLATED': '/home/omero/OMERO-CURRENT/var/omero.fcgi/webtest/split_view_figure_plugin/',
'QUERY_STRING': 'imageIds=1949&width=120',
'REMOTE_ADDR': '10.12.1.87',
'REMOTE_PORT': '55198',
'REQUEST_METHOD': 'GET',
'REQUEST_URI': '/webtest/split_view_figure_plugin/?imageIds=1949&width=120',
'SCRIPT_FILENAME': '/home/omero/OMERO-CURRENT/var/omero.fcgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '134.36.65.227',
'SERVER_ADMIN': 'webmaster@localhost',
'SERVER_NAME': 'gretzky.openmicroscopy.org.uk',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.2.14 (Ubuntu) Server at gretzky.openmicroscopy.org.uk Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.2.14 (Ubuntu)',
'wsgi.errors': <flup.server.fcgi_base.TeeOutputStream object at 0x7f17dc10dd50>,
'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x3869b10>,
'wsgi.multiprocess': True,
'wsgi.multithread': False,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>
Change History (1)
comment:1 Changed 7 years ago by wmoore
- Component changed from from QA to Web
- Milestone changed from Unscheduled to OMERO-Beta4.4
- Priority changed from minor to major
- 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.
Error above should be handled by https://github.com/will-moore/openmicroscopy/commit/7c1a866765ed85fa8b6a2c8b2f7388529840b685
But not sure what the behavior will be, depending on whether all selected images are broken.