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

Comments

Projects
None yet
4 participants
@iurisilvio
Copy link

iurisilvio commented Feb 9, 2017

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

This comment has been minimized.

Copy link

acmujica commented Sep 12, 2017

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

This comment has been minimized.

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

This comment has been minimized.

Copy link
Owner

emcconville commented Mar 15, 2019

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
You can’t perform that action at this time.