GLEAM Galactic Plane transient rating app is a web-based candidate classifier for team members to easily classify transient candidates. The transient candidates are detected in the MWA's weekly monitoring of the galactic plane.
Request Method: | GET
-- | --
https://mwa-image-plane.duckdns.org/candidate_rating/random/
4.0.3
TypeError
'int' object is not subscriptable
/home/ubuntu/GleamXGPMonitoring/gleam_webapp/./candidate_app/views.py, line 318, in candidate_random
/home/ubuntu/.local/bin/uwsgi
3.8.10
['.', '', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/ubuntu/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/shpc', '/usr/lib/python3/dist-packages']
Wed, 07 Feb 2024 05:55:17 +0000
You’re seeing this error because you haveDEBUG = Truein your Django settings file. Change that toFalse, and Django will display a standard page generated by the handler for this status code.
If you just log in, you are directed to https://mwa-image-plane.duckdns.org/candidate_rating/random/ Or you can go there on purpose. Either way, you get an error. I think this is because there are no more candidates available to rate.
TypeError at /candidate_rating/random/
Request Method: | GET -- | -- https://mwa-image-plane.duckdns.org/candidate_rating/random/ 4.0.3 TypeError 'int' object is not subscriptable /home/ubuntu/GleamXGPMonitoring/gleam_webapp/./candidate_app/views.py, line 318, in candidate_random /home/ubuntu/.local/bin/uwsgi 3.8.10 ['.', '', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/ubuntu/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/shpc', '/usr/lib/python3/dist-packages'] Wed, 07 Feb 2024 05:55:17 +0000You’re seeing this error because you have
DEBUG = True
in your Django settings file. Change that toFalse
, and Django will display a standard page generated by the handler for this status code.