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

get_csv_annotations AttributeError: 'NoneType' object has no attribute 'val' #132

Open
will-moore opened this issue Nov 5, 2024 · 0 comments

Comments

@will-moore
Copy link
Member

https://qa.openmicroscopy.org/qa/feedback/42196/

File "/opt/omero/web/venv3/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner
response = get_response(request)

File "/opt/omero/web/venv3/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/opt/omero/web/venv3/lib/python3.10/site-packages/omeroweb/decorators.py", line 538, in wrapped
retval = f(request, *args, **kwargs)

File "/opt/omero/web/venv3/lib/python3.10/site-packages/omero_parade/views.py", line 145, in dataprovider_list
data = module.get_dataproviders(request, conn)

File "/opt/omero/web/venv3/lib/python3.10/site-packages/omero_parade/csv_filters/data_providers.py", line 71, in get_dataproviders
return get_names(conn, dtype, obj_id)

File "/opt/omero/web/venv3/lib/python3.10/site-packages/omero_parade/csv_filters/data_providers.py", line 57, in get_names
csv_files = get_csv_annotations(conn, obj_type, obj_id)

File "/opt/omero/web/venv3/lib/python3.10/site-packages/omero_parade/csv_filters/data_providers.py", line 40, in get_csv_annotations
ann.file.size.val < MAX_CSV_SIZE and

AttributeError: 'NoneType' object has no attribute 'val'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant