dangerzone/dangerzone
Alex Pyrgiotis 74c467eaf7
conversion: Do not let PyMuPDF print to stdout
PyMuPDF has some hardcoded log messages that print to stdout [1]. We don't
have a way to silence them, because they don't use the Python logging
infrastructure.

What we can do here is silence a particular call that's been creating
debug messages. For a long term solution, we have sent a PR to the
PyMuPDF team, and we will follow up there [2].

Fixes #700

[1]: https://github.com/freedomofpress/dangerzone/issues/700
[2]: https://github.com/pymupdf/PyMuPDF/pull/3137
2024-03-13 21:03:15 +02:00
..
conversion conversion: Do not let PyMuPDF print to stdout 2024-03-13 21:03:15 +02:00
gui Properly add new file extensions 2024-02-20 16:02:38 +02:00
isolation_provider Capture missing logs in second-stage conversion 2024-03-13 20:59:50 +02:00
__init__.py Remove separate dangerzone-container entry point, make CLI work with it, and refactor container code to be more DRY 2021-08-04 16:21:00 -07:00
args.py Update typing hints for Mypy 1.1.1 2023-03-27 15:19:43 +03:00
cli.py Remove timeouts 2024-02-06 20:11:43 +00:00
document.py Sanitize filenames before logging them 2023-08-01 14:43:48 +03:00
errors.py Prevent adding duplicate documents 2022-11-30 12:49:18 +00:00
logic.py Add logic to handle documents removal 2023-07-25 15:00:12 +01:00
settings.py Get default settings without Settings instance 2023-07-24 14:22:26 +03:00
util.py Revert "Add Stopwatch implementation" 2024-02-06 19:42:42 +00:00