1
0
Fork 0
mirror of synced 2025-07-04 20:37:34 +02:00
mat2/libmat2
jvoisin e740a9559f Properly handle an exception
```
Traceback (most recent call last):
  File "/builds/jvoisin/mat2/tests/test_deep_cleaning.py", line 147, in test_office
    meta = p.get_meta()
  File "/builds/jvoisin/mat2/libmat2/archive.py", line 155, in get_meta
    zin.extract(member=item, path=temp_folder)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/zipfile/__init__.py", line 1762, in extract
    return self._extract_member(member, path, pwd)
           ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/zipfile/__init__.py", line 1829, in _extract_member
    os.makedirs(upperdirs, exist_ok=True)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen os>", line 227, in makedirs
OSError: [Errno 28] No space left on device: '/tmp/tmptl1ibyv6/word/theme'
```

This should never happen™, but just in case…
2025-04-03 15:24:34 +02:00
..
__init__.py Use proper type annotations instead of comments 2023-05-03 22:28:02 +02:00
abstract.py Raise a ValueError for invalid FLAC files to please mypy 2023-11-13 15:03:42 +01:00
archive.py Properly handle an exception 2025-04-03 15:24:34 +02:00
audio.py Raise a ValueError for invalid FLAC files to please mypy 2023-11-13 15:03:42 +01:00
bubblewrap.py Explicitly pass a parameter to functools.lru_cache 2023-01-31 20:42:39 +01:00
epub.py Fix the type annotations 2023-01-28 15:57:20 +00:00
exiftool.py Use proper type annotations instead of comments 2023-05-03 22:28:02 +02:00
harmless.py Add a variant mimetype for bmp 2023-07-11 21:35:04 +02:00
images.py Add webp support 2025-03-18 22:20:17 +01:00
office.py Significantly improve portability 2025-01-09 02:36:16 +01:00
parser_factory.py fix: Typing in the parser factory 2023-03-07 17:37:56 +00:00
pdf.py Significantly improve portability 2025-01-09 02:36:16 +01:00
torrent.py Fix the type annotations 2023-01-28 15:57:20 +00:00
video.py Use proper type annotations instead of comments 2023-05-03 22:28:02 +02:00
web.py Significantly improve portability 2025-01-09 02:36:16 +01:00