Skip to content
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

Open PDF without ghostscript installed fail silently #319

Closed
iurisilvio opened this issue Feb 9, 2017 · 3 comments
Closed

Open PDF without ghostscript installed fail silently #319

iurisilvio opened this issue Feb 9, 2017 · 3 comments
Milestone

Comments

@iurisilvio
Copy link

with WandImage(filename=pdf_filename) as pdf_file:
    # pdf_file has no pages here, but no exception

It was fixed after I installed ghostscript, but an exception would have saved some time.

@acmujica
Copy link

It no longer fails silently but when I was trying to do this there was no error saying I needed ghostcript. Thanks for this comment I've been searching how to make it work for a couple hours now.

@blodone
Copy link

blodone commented Sep 22, 2017

<wand.image.Image: (empty)> is the result... error or warning would be better... "apt-get install ghostscript" fixed it

@emcconville
Copy link
Owner

Added generic exception if ImageMagick doesn't emit one. Hope it save someone in the future some time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants