Task #12231 (new)
Opened 5 years ago
Last modified 5 years ago
BUG: OMEROweb_request.log errors on nightshade
| Reported by: | spli | Owned by: | web-team@… |
|---|---|---|---|
| Priority: | major | Milestone: | Unscheduled |
| Component: | Web | Version: | 5.0.1 |
| Keywords: | n.a. | Cc: | web-team@…, khgillen |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | n.a. |
| Sprint: | n.a. |
Description
OMEROweb_request.log from Nightshade (OMERO.server-5.0.1-ice33-b21) contains several ERRORs, including:
2014-04-11 08:28:35,526 ERROR [ django.request] (proc.05412) handle_uncaught_exception:226 Internal Server Error: /webclient/
Traceback (most recent call last):
File "/homes/omero-x/OMERO-CURRENT/lib/python/django/core/handlers/base.py", line 114, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/homes/omero-x/OMERO-CURRENT/lib/python/omeroweb/decorators.py", line 387, in wrapped
retval = f(request, *args, **kwargs)
File "/homes/omero-x/OMERO-CURRENT/lib/python/omeroweb/decorators.py", line 451, in wrapper
ctx.prepare_context(request, context, *args, **kwargs)
File "/homes/omero-x/OMERO-CURRENT/lib/python/omeroweb/webclient/decorators.py", line 124, in prepare_context
self.load_settings(request, context, conn)
File "/homes/omero-x/OMERO-CURRENT/lib/python/omeroweb/webclient/decorators.py", line 160, in load_settings
include = cp[1]
IndexError: list index out of range
2014-04-12 23:46:04,336 ERROR [ django.request] (proc.06962) handle_uncaught_exception:226 Internal Server Error: /webgateway/render_image/3925542/35/0/
Traceback (most recent call last):
File "/homes/omero-x/OMERO-CURRENT/lib/python/django/core/handlers/base.py", line 114, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/homes/omero-x/OMERO-CURRENT/lib/python/omeroweb/decorators.py", line 387, in wrapped
retval = f(request, *args, **kwargs)
File "/opt/omero/omero/OMERO.server-5.0.1-ice33-b21/lib/python/omeroweb/webgateway/views.py", line 754, in render_image
jpeg_data = webgateway_cache.getImage(request, server_id, img, z, t)
File "/opt/omero/omero/OMERO.server-5.0.1-ice33-b21/lib/python/omeroweb/webgateway/webgateway_cache.py", line 631, in getImage
k = self._imageKey(r, client_base, img, z, t) + ctx
File "/opt/omero/omero/OMERO.server-5.0.1-ice33-b21/lib/python/omeroweb/webgateway/webgateway_cache.py", line 597, in _imageKey
return rv % ('%sx%s' % (str(z), str(t)))
TypeError: not enough arguments for format string
2014-04-24 21:28:29,932 ERROR [ django.request] (proc.13640) handle_uncaught_exception:226 Internal Server Error: /webgateway/render_roi_thumbnail/0
Traceback (most recent call last):
File "/homes/omero-x/OMERO-CURRENT/lib/python/django/core/handlers/base.py", line 114, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/homes/omero-x/OMERO-CURRENT/lib/python/omeroweb/decorators.py", line 387, in wrapped
retval = f(request, *args, **kwargs)
File "/opt/omero/omero/OMERO.server-5.0.1-ice33-b21/lib/python/omeroweb/webgateway/views.py", line 349, in render_roi_thumbnail
midZ = zList[len(zList)/2]
IndexError: list index out of range
Full log attached.
Attachments (1)
Change History (3)
Changed 5 years ago by spli
comment:1 Changed 5 years ago by atarkowska
comment:2 Changed 5 years ago by spli
File "/opt/omero/omero/OMERO.server-5.0.1-ice33-b21/lib/python/omeroweb/webgateway/webgateway_cache.py", line 597, in _imageKey
return rv % ('%sx%s' % (str(z), str(t)))
TypeError: not enough arguments for format string
593 rv = 'img_%s/%s/%s/%%s-c%s-m%s-q%s-r%s-t%s' % (client_base, pre, str(iid), c, m, q, region, tile)
594 if p:
595 return rv % ('%s-%s' % (p, str(t)))
596 else:
597 return rv % ('%sx%s' % (str(z), str(t)))
Does the error imply one of the parameters to rv in line 593 contained a %?
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
I am not sure what exactly happened. I have just tested image 3925542 and works fine. Is that possible that some if the data were deleted in the same time?