PyMuPDF failt #4464
Replies: 7 comments
-
Sorry, we cannot deal with bug submissions where all mandatory data are missing. We need a script and a reproducing file. |
Beta Was this translation helpful? Give feedback.
-
Sorry, here ist the code: import tkinter as tk --- Globale Konstanten ---APP_TITLE = "PDF Schwärzer Pro v2 (Robust)" ------------------------------------------------------------------------------Funktion zur Überprüfung der Umgebung (Wird sofort beim Start ausgeführt)------------------------------------------------------------------------------def check_environment():
------------------------------------------------------------------------------Hauptanwendungsklasse------------------------------------------------------------------------------class PDFRedactorApp:
--- Hauptausführung ---if name == "main":
an her is the Message from Terminal: Last login: Tue Apr 22 16:33:25 on ttys000 |
Beta Was this translation helpful? Give feedback.
-
This is obviously not a PyMuPDF problem. You have not installed PIL / Pillow. |
Beta Was this translation helpful? Give feedback.
-
Thank you, I will see if I can fix the error thanks to your advice |
Beta Was this translation helpful? Give feedback.
-
I have installed the PIL / Pillow..but that did not solve the problem... Last login: Tue Apr 22 19:15:10 on ttys001 *** WARNUNG: 'apply_redactions' wurde nicht im PyMuPDF-Objekt gefunden! *** 2025-04-22 19:18:33.172 Python[46999:4765965] The class 'NSOpenPanel' overrides the method identifier. This method is implemented by class 'NSWindow' |
Beta Was this translation helpful? Give feedback.
-
I am realizing that you do not post a bug issue here, but that you are seeking help. Transferring this to the |
Beta Was this translation helpful? Give feedback.
-
Reacting to your new (!) problem: |
Beta Was this translation helpful? Give feedback.
-
Description of the bug
Following: (macOS Sequoia Beta/RC?, M-Chip, Python 3.12 via official installer, PyMuPDF Version), den ModuleNotFoundError oder AttributeError und die Tatsache, dass fitz.doc None ist.
--- Minimaler PyMuPDF Test ---
Python Executable: /Applications/pdf_schwärzer_venv/bin/python
Python Version: 3.12.10
Plattform: Darwin 24.4.0
Ein Fehler ist aufgetreten: 'NoneType' object has no attribute 'split'
--- Test Ende ---
Havy anyone a answer?
How to reproduce the bug
--- Minimaler PyMuPDF Test ---
Python Executable: /Applications/pdf_schwärzer_venv/bin/python
Python Version: 3.12.10
Plattform: Darwin 24.4.0
Ein Fehler ist aufgetreten: 'NoneType' object has no attribute 'split'
--- Test Ende ---
PyMuPDF version
1.25.5
Operating system
MacOS
Python version
3.12
Beta Was this translation helpful? Give feedback.
All reactions