Bug #107762
TypeError: '>=' not supported between instances of 'list' and 'int'
Status:
Nouveau
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
02 July 2025
Due date:
% Done:
0%
Estimated time:
Patch proposed:
No
Planning:
No
Description
https://sentry.entrouvert.org/organizations/entrouvert/issues/1736/
Peut-être à rapprocher de #107375, ou pas
TypeError: '>=' not supported between instances of 'list' and 'int' File "django/core/handlers/exception.py", line 55, in inner response = get_response(request) File "django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "django/views/decorators/clickjacking.py", line 38, in wrapper_view resp = view_func(*args, **kwargs) File "django/views/generic/base.py", line 104, in view return self.dispatch(request, *args, **kwargs) File "combo/apps/dataviz/views.py", line 66, in dispatch return super().dispatch(request, *args, **kwargs) File "django/views/generic/base.py", line 143, in dispatch return handler(request, *args, **kwargs) File "combo/apps/dataviz/views.py", line 142, in get return HttpResponse(chart.render(), content_type='image/svg+xml') File "pygal/graph/public.py", line 52, in render self.setup(**kwargs) File "pygal/graph/base.py", line 217, in setup self._draw() File "pygal/graph/graph.py", line 923, in _draw self._compute() File "pygal/graph/stackedbar.py", line 66, in _compute positive_vals, negative_vals = self._get_separated_values() File "pygal/graph/stackedbar.py", line 40, in _get_separated_values positive_vals = [sum([ File "pygal/graph/stackedbar.py", line 40, in <listcomp> positive_vals = [sum([ File "pygal/graph/stackedbar.py", line 42, in <listcomp> if val is not None and val >= self.zero])
History
Updated by Valentin Deniaud 13 days ago
- Tracker changed from Gestion de projet to Bug
- Project changed from Suivi des traces to Combo