Projet

Général

Profil

Bug #52194

ValueError: not enough values to unpack (expected 2, got 0)

Ajouté par Sentry Io il y a environ 3 ans. Mis à jour il y a presque 3 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
18 mars 2021
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Non
Planning:
Non

Description

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

ValueError: not enough values to unpack (expected 2, got 0)
(2 additional frame(s) were not displayed)
...
  File "django/core/handlers/base.py", line 185, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "combo/apps/dataviz/views.py", line 45, in dataviz_graph
    height=int(request.GET['height']) if request.GET.get('height') else int(cell.height),
  File "combo/apps/dataviz/models.py", line 329, in get_chart
    data = self.process_one_dimensional_data(chart, data)
  File "combo/apps/dataviz/models.py", line 460, in process_one_dimensional_data
    data = self.sort_values(chart, data)
  File "combo/apps/dataviz/models.py", line 482, in sort_values
    x_labels, sorted_data = zip(*[(label, value) for label, value in tmp_items])

Historique

#1

Mis à jour par Lauréline Guérin il y a environ 3 ans

  • Projet changé de Suivi des traces à Combo
#2

Mis à jour par Valentin Deniaud il y a presque 3 ans

  • Statut changé de Nouveau à Fermé

Dupliqué et résolu par #53596.

Formats disponibles : Atom PDF