Closed sdc50 closed 2 years ago
Exception Type: ValueError at /admin/tethys_apps/proxyapp/6/change/
It looks to me that this error occurs when visiting the admin page for the Proxy app? Is that true?
It looks to me that this error occurs when visiting the admin page for the Proxy app?
Yes that is True, although it doesn't always occur when visiting the admin page for a Proxy app, so I'm not sure what the exact scenario is that produces it. I was just able to produce it again with Tethys 4:
It looks like it's not just the proxy app admin page. I just got a similar error on a job admin page:
I also think I understand how to reproduce the error. It seems to happen only after creating a new user and before the server is restarted.
Clarification: it happens when a new user is created via the admin portal. It doesn't seem to happen when a new user signs up via the interface.
More Clarification: The error occurs after visiting a user admin page (that renders the custom quotas field).
This is not true of all of the pages that the error occurs on, but the admin form for a Tethys Job has a "User field" with edit and add buttons. Or maybe more generally, the model has a relationship with Users?
The error occurs on these pages (not exhaustive):
TL;DR: It renders almost any page of the admin pages with models unusable.
I have been occationally been getting this error. It seems like restarting the server resolves it, but I'm not sure why.