Giter VIP home page Giter VIP logo

Comments (11)

jan-benisek avatar jan-benisek commented on June 6, 2024 2

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

I_break_things.pdf

from pymupdf.

JorjMcKie avatar JorjMcKie commented on June 6, 2024 1

When providing code snippets, please use properly indented code blocks using slash commands
image

from pymupdf.

JorjMcKie avatar JorjMcKie commented on June 6, 2024

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.

JorjMcKie avatar JorjMcKie commented on June 6, 2024

Here is the reference to the MuPDF bug: https://bugs.ghostscript.com/show_bug.cgi?id=707721

from pymupdf.

JorjMcKie avatar JorjMcKie commented on June 6, 2024

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.

xiaominghero avatar xiaominghero commented on June 6, 2024

@jan-benisek Unfortunately, Version 1.23.14 is not OK for me.

from pymupdf.

JorjMcKie avatar JorjMcKie commented on June 6, 2024

This has been fixed in v1.24.2.

from pymupdf.

henriklaurentz avatar henriklaurentz commented on June 6, 2024

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.

JorjMcKie avatar JorjMcKie commented on June 6, 2024

Sorry - my bad. The required / developed MuPDF fix is not contained in this version yet.
I am re-opening the issue.

from pymupdf.

henriklaurentz avatar henriklaurentz commented on June 6, 2024

No worries, and thanks a lot for all your work.

from pymupdf.

julian-smith-artifex-com avatar julian-smith-artifex-com commented on June 6, 2024

Fixed in 1.24.3.

from pymupdf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.