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

Thumbnail handler falls over on PGIR alerts #485

Open
mcoughlin opened this issue Oct 30, 2022 · 0 comments
Open

Thumbnail handler falls over on PGIR alerts #485

mcoughlin opened this issue Oct 30, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@mcoughlin
Copy link
Contributor

[19:11:35 models.thumbnail] Error deleting thumbnail file /skyportal/static/thumbnails/PGIR19agmdyq_ref.png: [Errno 2] No such file or directory: '/skyportal/static/thumbnails/PGIR19agmdyq_ref.png'
2022-10-30 19:11:35,534 - tornado.application - ERROR - Uncaught exception PATCH /api/thumbnailPath?pageNumber=2 (136.152.143.213)
HTTPServerRequest(protocol='http', host='fritz.science', method='PATCH', uri='/api/thumbnailPath?pageNumber=2', version='HTTP/1.0', remote_ip='136.152.143.213')
Traceback (most recent call last):
File "/skyportal_env/lib/python3.8/site-packages/tornado/web.py", line 1702, in _execute
result = method(*self.path_args, **self.path_kwargs)
File "/skyportal/baselayer/app/access.py", line 46, in wrapper
return method(self, *args, **kwargs)
File "/skyportal/baselayer/app/access.py", line 75, in wrapper
return method(self, *args, **kwargs)
File "/skyportal/skyportal/handlers/api/thumbnail.py", line 481, in patch
ok = check_thumbnail_file(
File "/skyportal/skyportal/handlers/api/thumbnail.py", line 670, in check_thumbnail_file
post_alert(
File "/skyportal/skyportal/handlers/api/alert.py", line 212, in post_alert
raise ValueError(f"{object_id} not found on Kowalski")
ValueError: PGIR19agmdyq not found on Kowalski

@mcoughlin mcoughlin added the bug Something isn't working label Oct 30, 2022
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

2 participants