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

Uncaught exception on login #130

Open
hmpf opened this issue Jun 19, 2024 · 0 comments
Open

Uncaught exception on login #130

hmpf opened this issue Jun 19, 2024 · 0 comments

Comments

@hmpf
Copy link
Contributor

hmpf commented Jun 19, 2024

In the UI, when logging in on a testing branch where I had not added some config the branch expected to be there, I got a popup with:

"500 Internal Server Error: The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application."

When I try to click on the expand button I get a new error, which has a working expand-button:

Traceback (most recent call last):
  File "/../.virtualenvs/howitz/lib/python3.10/site-packages/flask/app.py", line 1484, in full_dispatch_request
    rv = self.dispatch_request()
  File "/../.virtualenvs/howitz/lib/python3.10/site-packages/flask/app.py", line 1469, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  File "/HOME/../howitz/src/howitz/endpoints.py", line 778, in show_maximized_error_alert
    err_description = session["errors"][alert_id]
  File "/../.virtualenvs/howitz/lib/python3.10/site-packages/flask/sessions.py", line 79, in __getitem__
    return super().__getitem__(key)
KeyError: 'errors'

If I click away this error and attempt to expand the first error again I get:

Traceback (most recent call last):
  File "/../.virtualenvs/howitz/lib/python3.10/site-packages/flask/app.py", line 1484, in full_dispatch_request
    rv = self.dispatch_request()
  File "/../.virtualenvs/howitz/lib/python3.10/site-packages/flask/app.py", line 1469, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  File "/HOME/../howitz/src/howitz/endpoints.py", line 778, in show_maximized_error_alert
    err_description = session["errors"][alert_id]
KeyError: 'd5ce616f-9e97-4fa6-be32-a20c31495bbf'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant