Bug #55330
ValueError: max() arg is an empty sequence
Début:
01 juillet 2021
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Non
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/49275/
ValueError: max() arg is an empty sequence (14 additional frame(s) were not displayed) ... File "wcs/backoffice/management.py", line 3868, in create_export workbook.save(output) File "wcs/qommon/ods.py", line 161, in save z.writestr('content.xml', self.get_content()) File "wcs/qommon/ods.py", line 157, in get_content return ET.tostring(self.get_content_node(), 'utf-8') File "wcs/qommon/ods.py", line 99, in get_content_node spreadsheet.append(sheet.get_node()) File "wcs/qommon/ods.py", line 192, in get_node for i in range(0, max(self.cells.keys()) + 1):
Révisions associées
Historique
Mis à jour par Robot Gitea il y a 7 mois
- Statut changé de Nouveau à En cours
- Assigné à mis à Frédéric Péters
Frédéric Péters (fpeters) a ouvert une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/wcs/pulls/715
- Titre : WIP: backoffice: export ods with a single empty cell if there's nothing (#55330)
- Modifications : https://git.entrouvert.org/entrouvert/wcs/pulls/715/files
Mis à jour par Robot Gitea il y a 7 mois
- Statut changé de Solution proposée à Solution validée
Thomas NOËL (tnoel) a approuvé une pull request sur Gitea concernant cette demande :
Mis à jour par Robot Gitea il y a 7 mois
- Statut changé de Solution validée à Résolu (à déployer)
Frédéric Péters (fpeters) a mergé une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/wcs/pulls/715
- Titre : backoffice: export ods with a single empty cell if there's nothing (#55330)
- Modifications : https://git.entrouvert.org/entrouvert/wcs/pulls/715/files
Mis à jour par Transition automatique il y a 7 mois
- Statut changé de Résolu (à déployer) à Solution déployée
backoffice: export ods with a single empty cell if there's nothing (#55330)