Task #10237 (closed)
Opened 7 years ago
Closed 6 years ago
Bug: UnboundLocalError: local variable 'figScripts' referenced before assignment
| Reported by: | bpindelski | Owned by: | wmoore |
|---|---|---|---|
| Priority: | major | Milestone: | OMERO-4.4.7 |
| Component: | Web | Version: | n.a. |
| Keywords: | n.a. | Cc: | |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | n.a. |
| Sprint: | 2013-04-09 (7)) |
Description
Connected to howe. Logged in as user-2. Navigated to shares. Two shares exist, both with deleted items inside. After clicking on one of the shares, HTTP 500 appears with the following error message:
Traceback (most recent call last):
File "/home/hudson/hudson/workspace/OMERO-merge-4.4/src/dist/lib/python/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/hudson/hudson/workspace/OMERO-merge-4.4/src/dist/lib/python/omeroweb/decorators.py", line 377, in wrapped
retval = f(request, *args, **kwargs)
File "/home/hudson/hudson/workspace/OMERO-merge-4.4/src/dist/lib/python/omeroweb/decorators.py", line 414, in wrapper
context = f(request, *args, **kwargs)
File "/home/hudson/hudson/workspace/OMERO-merge-4.4/src/dist/lib/python/omeroweb/webclient/views.py", line 823, in load_metadata_details
'share_id':share_id, 'figScripts':figScripts}
UnboundLocalError: local variable 'figScripts' referenced before assignment
<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'sessionid': '48e3d2a665c9f7b661e5fd997d3e4b75'},
META:{'DOCUMENT_ROOT': '/var/www',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html, */*; q=0.01',
'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3',
'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch',
'HTTP_ACCEPT_LANGUAGE': 'en-GB,en-US;q=0.8,en;q=0.6',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'sessionid=48e3d2a665c9f7b661e5fd997d3e4b75',
'HTTP_HOST': 'howe.openmicroscopy.org.uk',
'HTTP_REFERER': 'http://howe.openmicroscopy.org.uk/webclient/public/',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.52 Safari/537.17',
'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest',
'PATH': '/usr/local/bin:/usr/bin:/bin',
'PATH_INFO': u'/webclient/metadata_details/share/479/',
'PATH_TRANSLATED': '/var/www/omero.fcgi/webclient/metadata_details/share/479/',
'QUERY_STRING': '',
'REMOTE_ADDR': '10.12.0.27',
'REMOTE_PORT': '49894',
'REQUEST_METHOD': 'GET',
'REQUEST_URI': '/webclient/metadata_details/share/479/',
'SCRIPT_FILENAME': '/var/www/omero.fcgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '134.36.65.228',
'SERVER_ADMIN': 'webmaster@localhost',
'SERVER_NAME': 'howe.openmicroscopy.org.uk',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.2.14 (Ubuntu) Server at howe.openmicroscopy.org.uk Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.2.14 (Ubuntu)',
'wsgi.errors': <flup.server.fcgi_base.TeeOutputStream object at 0x5322cd0>,
'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x508fe50>,
'wsgi.multiprocess': True,
'wsgi.multithread': False,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>
Change History (4)
comment:1 Changed 7 years ago by wmoore
- Owner changed from web-team@… to wmoore
comment:2 Changed 6 years ago by jburel
- Sprint changed from 2013-02-12 (5) to 2013-03-12 (6))
comment:3 Changed 6 years ago by jburel
- Sprint changed from 2013-03-12 (6)) to 2013-04-09 (7))
Moved from sprint 2013-03-12 (6))
comment:4 Changed 6 years ago by wmoore
- Resolution set to fixed
- Status changed from new to closed
This was due to split view figs PR (temporarily closed) https://github.com/openmicroscopy/openmicroscopy/pull/610 and has been referenced from there.
Moved from sprint 2013-02-12 (5)