After more investigation, I cannot longuer product valid ZIP file (without the bug), even manualy, and it clear it a top level calibre issue or related.
Code:
calibre, version 9.10.0
ERREUR : Impossible d'ajouter les livres: Échec lors de l'ajout de certains livres, cliquez sur "Afficher les détails" pour plus d'information.
Worker process crashed while executing job
Traceback (most recent call last):
File "calibre/utils/ipc/pool.py", line 106, in recv
File "calibre/utils/ipc/__init__.py", line 20, in eintr_retry_call
File "multiprocessing/connection.py", line 226, in recv_bytes
File "multiprocessing/connection.py", line 451, in _recv_bytes
File "multiprocessing/connection.py", line 420, in _recv
EOFError
Inside my plugin, the exact line that raise the error is the following:
reader/__init__.py:40
Code:
37| if find_plugin(self.name):
38| if hasattr(stream, 'seek'):
39| stream.seek(0)
40| from ..action import read_metadata
41| return read_metadata(stream, type, mi)
42| else:
43| return mi
Their is no reason that this import fail. Really I looked it hard.
Plugin source code is on GitHub.