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

window7 problem #18

Open
eelsirhc opened this issue Jul 5, 2014 · 7 comments
Open

window7 problem #18

eelsirhc opened this issue Jul 5, 2014 · 7 comments

Comments

@eelsirhc
Copy link
Contributor

eelsirhc commented Jul 5, 2014

(copied by chris from 895500a#commitcomment-6903404)
@amccarren commented on 895500a 9 hours ago

When I run this example I get 
CalledProcessError: Command '['pdftoppm', '-h']' returned non-zero exit status 99

I am working on windows 7 and have set the path to the directory where the pdftoppm.exe is stored. 
Any suggestions?

Andrew
@eelsirhc
Copy link
Contributor Author

eelsirhc commented Jul 5, 2014

I think the problem is that the executable on windows has the .exe extension, and the code is not looking for that. Depending on how familiar you are with git, if you can try the fix/dotexe branch by running git pull followed by git checkout fix/dotexe and then install as before.

This version should check for the .exe executable name and remember which version to use.

@andyli
Copy link

andyli commented Sep 22, 2014

This should be a problem of the line at https://github.com/ashima/pdf-table-extract/blob/master/src/pdftableextract/core.py#L19
which check to see if the program can be called or not by checking its exit code (should be 0).

But pdftoppm -h returns exit code 99:
screen shot 2014-09-22 at 10 22 02 pm

@oracuk
Copy link

oracuk commented Mar 25, 2015

This is still an issue on windows.

I can confirm exactly the same issue on Windows 7.

@zachguo
Copy link

zachguo commented May 6, 2015

I'm on OS X, using poppler instead of pdftoppm fixed my problem.

@ekta1007
Copy link

Here's what I did to resolve this on Mac(Yosemite) (in that order)

sudo port install xorg-libXt +flat_namespace
sudo port install openmotif 
sudo port install xpm
sudo port install xpdf
sudo port install poppler

after this re-ran the example code-worked perfectly . I think pdftoppm -h always returns a 99 exit code, so this was an easy alternative to fix.

@dwatsonbynes
Copy link

dwatsonbynes commented Jan 31, 2017

pdftoppm -h returns exit code as 99. What should be done to resolve this issue on windows(32 bit)?

@sunnn
Copy link

sunnn commented Apr 26, 2017

Any fix for this pdftoppm -h issue in Windows 7 ? @eelsirhc @eugeneai @dwatsonbynes

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

7 participants