Closed thattemperature closed 1 week ago
Please upload the PDF file to this issue, otherwise we cannot investigate the problem.
We have no dealings with that PDF viewer and cannot investigate what may go wrong inside it. You should probably contact that project and submit your issue there.
We have no dealings with that PDF viewer and cannot investigate what may go wrong inside it. You should probably contact that project and submit your issue there.
I have submitted a issue in that project and communicated with that author, but he thinks that the problem may be caused by the conflicts between pymupdf and mupdf library. @JorjMcKie
Please upload the PDF file to this issue, otherwise we cannot investigate the problem.
Untitled 1.pdf I have tested with several pdf files and meet same problem. One file is the above one, just an empty pdf file. @julian-smith-artifex-com
We have no dealings with that PDF viewer and cannot investigate what may go wrong inside it. You should probably contact that project and submit your issue there.
I have submitted a issue in that project and communicated with that author, but he thinks that the problem may be caused by the conflicts between pymupdf and mupdf library. @JorjMcKie
There are no such conflicts. All the market leading PDF viewers have no problem with the example file, including not only browser-based PDF viewers but also all the market-relevant MuPDF, Adobe Acrobat, Nitro PDF, PDF XChange, evince, SumatraPDF, Foxit Reader, evince (Linux standard viewer), what have you. The problem is certainly located in that viewer and must be fixed there.
Loading the document with PyMuPDF and looking at the metadata works as well.
Description of the bug
I use eaf-pdf-viewer in emacs. And It meets segmentation fault every time I open a pdf file. This is the trace back:
Maybe this problem is related to mupdf library?
How to reproduce the bug
My OS is Ubuntu 24.04. I am using anaconda with python version 3.12.7, and I install the pymupdf package with the command
pip install --user PyMuPDF
, which gets the newest version 1.24.13.I try to test different version of pymupdf with command
pip install --user PyMuPDF==<version>
, and I found that the 1.23.8 works well but 1.23.9 or higher version will face the same problem. But since the file structure is different between different version, I cannot determine the critical difference between 1.23.8 and 1.23.9.PyMuPDF version
1.24.13
Operating system
Linux
Python version
3.12