-
Notifications
You must be signed in to change notification settings - Fork 2
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
All "spectra" menu options yield 500 Internal Server Error messages #255
Comments
The spectra menu does work at the KPNO instance of Nightwatch but not at NERSC. On the other hand, the guide image menu works at NERSC but not KPNO, though even at NERSC the JavaScript callback used to advance through the list of guide frames is broken. I suspect we have some bokeh version inconsistencies between the sites in addition to obsolete code. Will investigate. |
I'm trying to track back what's going on with this issue and I noticed that in line 64 of script.py the import of main_webapp is inside a condition. When moving it to the beginning and running nightwatch on NERSC using the desiconda environment, it complains about the lack of the 'flask' module, which seems to be needed for the spectra according to webapp.py. Could this lack of 'flask' be related to the issue? |
Thanks for finding this @jose-bermejo. It seems we have two options: |
It looks like it's generating the HTML for the spectra web pages dynamically |
Fix for this is in #319. The docker image at NERSC is just obsolete. Will close the ticket when the image is updated on rancher2. |
eg these URLs are broken:
linked from https://nightwatch.desi.lbl.gov/20220126/00120334/qa-camfiber-00120334.html
under the "spectra" menu.
The text was updated successfully, but these errors were encountered: