Comments (11)
I encountered the same on Friday with 1.24.1
. Rolling back to 1.23.14
"fixed" it.
Interestingly enough, it was triggered on a .pdf
with the same first page as @xiaominghero shared (attached).
(❗ note that we encountered this on different files, not just this one)
import fitz
doc = fitz.open("I_break_things.pdf")
doc
from pymupdf.
When providing code snippets, please use properly indented code blocks using slash commands
from pymupdf.
This is base library problem occurring on the first page - the second page works.
I will open a bug in MuPDF's issue system.
from pymupdf.
Here is the reference to the MuPDF bug: https://bugs.ghostscript.com/show_bug.cgi?id=707721
from pymupdf.
Interestingly enough, it was triggered on a .pdf with the same first page as @xiaominghero shared (attached).
It is this one page that causes the problem - not any other.
from pymupdf.
@jan-benisek Unfortunately, Version 1.23.14 is not OK for me.
from pymupdf.
This has been fixed in v1.24.2.
from pymupdf.
Hi @JorjMcKie ,
I still run into the same issues on 1.24.2
while testing on the file (the first page) that @jan-benisek submitted.
That is,
import fitz
fitz.open("I_break_things.pdf")[0].get_text()
hangs, while working fine on 1.23.14
.
from pymupdf.
Sorry - my bad. The required / developed MuPDF fix is not contained in this version yet.
I am re-opening the issue.
from pymupdf.
No worries, and thanks a lot for all your work.
from pymupdf.
Fixed in 1.24.3.
from pymupdf.
Related Issues (20)
- PyMuPDF failed to extract bw images HOT 11
- Extra characters returned by `page.get_text` with clip HOT 1
- page.get_text() cause process freeze with certain pdf on v1.24.2 HOT 2
- Unable to set ComboBox value HOT 1
- Page.apply_redactions() removes more text than expected in the pdf document. HOT 13
- insert_text() not display true font correctly HOT 2
- Facing Issues after applying redactions they delete some Image or Icons HOT 4
- Images missing from TextPage dictionary HOT 1
- get_pixmap function removes the table and leaves just the content behind HOT 7
- get_pixmap function takes too long to process HOT 4
- Unable to align or format text in Form Field Widgets HOT 2
- test_q_count fails with v1.24.3 HOT 11
- Widget font not being updated HOT 3
- Check the hash of the downloaded MuPDF tarball
- pix = page.get_pixmap(matrix=matrix, clip=rect) recommend to modify function get_pixmap HOT 1
- subset_fonts error exit without exception/warning HOT 6
- insert_pdf gives TypeError HOT 4
- insert_pdf gives SystemError HOT 6
- Embedded full-text search index HOT 4
- Page.delete_widget() doesn't fully remove the widget, other programs still detect the widgets HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pymupdf.