Closed will-moore closed 8 months ago
Seen again on nightshade:
Traceback (most recent call last):
File "/opt/omero/web/venv3/lib64/python3.6/site-packages/omeroweb/decorators.py", line 538, in wrapped
retval = f(request, *args, **kwargs)
File "/opt/omero/web/venv3/lib64/python3.6/site-packages/omero_figure/views.py", line 126, in img_data_json
rv['pixel_size']['valueX'] = px.getValue()
KeyError: 'pixel_size'
<WSGIRequest: GET '/figure/imgData/4482641/?_=1638196962751'>
Related error from nightshade:
File "/opt/omero/web/venv3/lib64/python3.6/site-packages/omeroweb/decorators.py" in wrapped
538. retval = f(request, *args, **kwargs)
File "/opt/omero/web/venv3/lib64/python3.6/site-packages/omero_figure/views.py" in img_data_json
130. rv['pixel_size']['valueY'] = py.getValue()
Exception Type: AttributeError at /figure/imgData/4495653/
Exception Value: 'NoneType' object has no attribute 'getValue'
This issue has been mentioned on Image.sc Forum. There might be relevant details there:
https://forum.image.sc/t/misleading-error-message-in-omero-figure/68642/4
Seen on nightshade, with big image (5184 x 3456) where pyramid not complete, so probably just need to handle the error better?