Project

General

Profile

Actions

Bug #79447

closed

stats, UnboundLocalError: local variable 'allowed_filters' referenced before assignment

Added by Sentry Io over 2 years ago. Updated over 2 years ago.

Status:
Fermé
Priority:
Normal
Category:
-
Target version:
-
Start date:
05 July 2023
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No
Tags:

Description

https://sentry.entrouvert.org/entrouvert/publik/issues/112641/

UnboundLocalError: local variable 'allowed_filters' referenced before assignment
(6 additional frame(s) were not displayed)
...
  File "rest_framework/views.py", line 469, in handle_exception
    self.raise_uncaught_exception(exc)
  File "rest_framework/views.py", line 480, in raise_uncaught_exception
    raise exc
  File "rest_framework/views.py", line 506, in dispatch
    response = handler(request, *args, **kwargs)
  File "authentic2/api_views.py", line 1768, in login_new
    return self.get_statistics(request, UserLogin)
  File "authentic2/api_views.py", line 1748, in get_statistics
    if service and 'service' in allowed_filters:
Actions

Also available in: Atom PDF