Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

roiRectangles: 'NoneType' object has no attribute 'encode' #495

Open
will-moore opened this issue Jan 4, 2023 · 0 comments
Open

roiRectangles: 'NoneType' object has no attribute 'encode' #495

will-moore opened this issue Jan 4, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@will-moore
Copy link
Member

Seen on demo server:

Traceback (most recent call last):
  File "/opt/omero/web/venv3/lib64/python3.6/site-packages/django/core/handlers/exception.py", line 47, in inner
    response = get_response(request)
  File "/opt/omero/web/venv3/lib64/python3.6/site-packages/django/core/handlers/base.py", line 181, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/opt/omero/web/venv3/lib64/python3.6/site-packages/omeroweb/decorators.py", line 544, in wrapped
    retval = f(request, *args, **kwargs)
  File "/opt/omero/web/venv3/lib64/python3.6/site-packages/omero_figure/views.py", line 602, in roi_rectangles
    json_data.append(encoder.encode(roi))
  File "/opt/omero/web/venv3/lib64/python3.6/site-packages/omero_marshal/encode/encoders/roi.py", line 29, in encode
    shapes.append(shape_encoder.encode(shape))

Exception Type: AttributeError at /figure/roiRectangles/247940/
Exception Value: 'NoneType' object has no attribute 'encode'
@will-moore will-moore added the bug Something isn't working label Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant