Project

General

Profile

Bug #75568

dataviz: erreur dans format_duration (TypeError: unsupported type for timedelta seconds component: NoneType)

Added by Sentry Io 3 days ago. Updated 3 days ago.

Status:
Nouveau
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
17 March 2023
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No

Description

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

TypeError: unsupported type for timedelta seconds component: NoneType
(7 additional frame(s) were not displayed)
...
  File "pygal/graph/public.py", line 74, in render_table
    return Table(self).render(**kwargs)
  File "pygal/table.py", line 95, in render
    row.append(self.chart._format(serie, j))
  File "pygal/graph/graph.py", line 615, in _format
    return formatter(value, **kwargs)
  File "pygal/graph/graph.py", line 596, in _value_format
    return self._y_format(value)
  File "combo/apps/dataviz/models.py", line 656, in format_duration
    return timesince(base_date, base_date + timedelta(seconds=value))

History

#1

Updated by Lauréline Guérin 3 days ago

  • Project changed from Suivi des traces to Combo

Also available in: Atom PDF