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

RuntimeError: dictionary changed size during iteration #13

Closed
sentry-io bot opened this issue Apr 19, 2020 · 1 comment
Closed

RuntimeError: dictionary changed size during iteration #13

sentry-io bot opened this issue Apr 19, 2020 · 1 comment

Comments

@sentry-io
Copy link

sentry-io bot commented Apr 19, 2020

Sentry Issue: BANANAS-FRONTEND-WEB-2

RuntimeError: dictionary changed size during iteration
(4 additional frame(s) were not displayed)
...
  File "flask/app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "flask/app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "webclient/pages/login.py", line 22, in login
    session = start_session()
  File "webclient/session.py", line 101, in start_session
    cleanup_sessions()
  File "webclient/session.py", line 95, in cleanup_sessions
    for sid, session in _sessions.items():

Exception on /login [GET]
@TrueBrain
Copy link
Member

Most likely this can be fixed by putting a list() around the _sessions.items(), but this needs testing.

frosch123 added a commit to frosch123/bananas-frontend-web that referenced this issue Apr 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant