-
Notifications
You must be signed in to change notification settings - Fork 486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
page.get_pixmap() fails due to fitz.mupdf.FzErrorLimit: code=5: too many nested graphics states
#3608
Comments
Sorry, but we cannot accept bug reports without any material required to reproduce it! |
The same file worked just fine with earlier versions of PyMuPDF ( |
Well in that case you may be better off to directly communicate with the MuPDF team. Their own issue tracking is located here: https://bugs.ghostscript.com/enter_bug.cgi |
I created a ticket for mupdf: https://bugs.ghostscript.com/show_bug.cgi?id=707842 |
Thank you for the information! |
The MuPDF team has determined that this problem cannot be resolved - see comment in https://bugs.ghostscript.com/show_bug.cgi?id=707842. |
Just adding a note here to clarify that the reason that the MuPDF people cannot fix this, is that the input file has not been provided. It's not possible to investigate the problem without this input file. As @JorjMcKie mentioned above, we can (and often do) use files emailed directly to us. Such files are never made public. So please do this if you can. |
We hit the same issue 😞 . I checked all versions and it worked with |
Description of the bug
Trying to get the pixmap of certain pdf documents fails:
How to reproduce the bug
with latest pymupdf version. The same constellation runs just fine with at least
pymupdf==1.22.5
. Unfortunately, I cannot provide affected files, but it seems to hit some hardcoded recursion limit - maybe a parameter to configure this limit would be enough?PyMuPDF version
1.24.5
Operating system
Linux
Python version
3.12
The text was updated successfully, but these errors were encountered: