|
2026-01-23 10:47:33
|
ERROR
|
runbot
|
Traceback found in logs:
2026-01-23 10:23:32,715 26 WARNING 05351-18-0-all odoo.addons.documents.models.documents_document: Impossible to count pages in 'file.pdf'. It could be due to a malformed document or a (possibly known) issue within PyPDF2.
Traceback (most recent call last):
File "/data/build/enterprise/documents/models/documents_document.py", line 1352, in _get_is_multipage
return PdfFileReader(stream, strict=False).numPages > 1
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/build/odoo/odoo/tools/pdf/__init__.py", line 91, in __init__
super().__init__(stream, strict)
File "/usr/lib/python3/dist-packages/PyPDF2/_reader.py", line 317, in __init__
self.read(stream)
File "/usr/lib/python3/dist-packages/PyPDF2/_reader.py", line 1409, in read
self._find_eof_marker(stream)
File "/usr/lib/python3/dist-packages/PyPDF2/_reader.py", line 1465, in _find_eof_marker
raise PdfReadError("EOF marker not found")
PyPDF2.errors.PdfReadError: EOF marker not found
|
|