Bug #88088
applification: mauvais bundle (ReadError: file could not be opened successfully:)
Statut:
Rejeté
Priorité:
Normal
Assigné à:
-
Catégorie:
-
Version cible:
-
Début:
12 mars 2024
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Non
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/123129/
ReadError: file could not be opened successfully: - method gz: ReadError('not a gzip file') - method bz2: ReadError('not a bzip2 file') - method xz: ReadError('not an lzma file') - method tar: ReadError('truncated header') (5 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 "chrono/apps/export_import/api_views.py", line 216, in put with tarfile.open(fileobj=tar_io) as tar: File "tarfile.py", line 1639, in open raise ReadError(f"file could not be opened successfully:\n{error_msgs_summary}")