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

original_file_paths #420

Open
will-moore opened this issue Nov 30, 2022 · 1 comment
Open

original_file_paths #420

will-moore opened this issue Nov 30, 2022 · 1 comment

Comments

@will-moore
Copy link
Member

/webgateway/original_file_paths/ID/ failing on public nightshade.

{
"message": "'NoneType' object has no attribute 'id'",
"stacktrace": "Traceback (most recent call last):\n  File \"/opt/omero/web/venv3/lib64/python3.6/site-packages/omeroweb/webgateway/views.py\", line 1431, in wrap\n    rv = f(request, *args, **kwargs)\n  File \"/opt/omero/web/venv3/lib64/python3.6/site-packages/omeroweb/webgateway/views.py\", line 2689, in original_file_paths\n    fileset_id = image.fileset.id.val\nAttributeError: 'NoneType' object has no attribute 'id'\n"
}

This URL is used to load original_file_paths when the /../.. button is clicked, but it isn't shown when there are no original files, as for Image 3946841.
In fact, it looks like a bot: HTTP_FROM = 'googlebot(at)googlebot.com'

@will-moore
Copy link
Member Author

Seen this a few more times recently on same server as above.
E.g. search emails for original_file_paths 394684

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