Skip to content
Discussion options

You must be logged in to vote

Why it works isolated but not in a for loop?

Obviously, the only remaining explanation now is some problem in your code, or something else in your setup.

I recommend again to print those mupdf_warnings() whenever an open raises an exception. This may help to understand, what it is that PyMuPDF actually is trying to open. Who knows what has happened to the file on its way to where your script lives?

I reviewed the two files you attached - and no problem whatsoever is popping up.

So for the time being, your issue cannot be reproduced so far.

Replies: 6 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by JorjMcKie
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@IvanDesuo
Comment options

@JorjMcKie
Comment options

@JorjMcKie
Comment options

Comment options

You must be logged in to vote
5 replies
@IvanDesuo
Comment options

@JorjMcKie
Comment options

@IvanDesuo
Comment options

@IvanDesuo
Comment options

@JorjMcKie
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not a bug not a bug / user error / unable to reproduce
2 participants
Converted from issue

This discussion was converted from issue #1988 on October 25, 2022 14:50.