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

Debian buster problem #3

Open
jsbien opened this issue Aug 15, 2019 · 7 comments
Open

Debian buster problem #3

jsbien opened this issue Aug 15, 2019 · 7 comments

Comments

@jsbien
Copy link

jsbien commented Aug 15, 2019

I used the program succesfully several month ago. Now I get:

pip install pdf-link-checker
Requirement already satisfied: pdf-link-checker in /home/jsbien/.local/lib/python2.7/site-packages (1.1.1)
Requirement already satisfied: pdfminer in /home/jsbien/.local/lib/python2.7/site-packages (from pdf-link-checker) (20140328)
/home/jsbien/.local/bin/pdf-link-checker -h
Traceback (most recent call last):
File "/home/jsbien/.local/bin/pdf-link-checker", line 54, in <module>
from pdfminer.pdfparser import PDFDocument, PDFParser
ImportError: cannot import name PDFDocument

Any suggestions?

@vvneng
Copy link

vvneng commented Feb 22, 2020

If you install pdf-link-checker v1.2.0 directly from GitHub
pip install git+https://github.com/bootlin/pdf-link-checker.git
that should fix the problem!

@jsbien
Copy link
Author

jsbien commented Mar 5, 2020

Should it run with python3?
After pip3 install I get No module named 'httplib despite the fact that python3-httplib2 is already the newest version (0.11.3-2).

@vvneng
Copy link

vvneng commented Mar 5, 2020

I'm running Python 2.7.17. I did reinstall Python2 on my Mac at one point with this line of code:
brew reinstall python@2

@jsbien
Copy link
Author

jsbien commented Mar 5, 2020

On buster I have 2.7.16 and unfortunately there are still problems - cf. the enclosed log.
log.zip

@jsbien
Copy link
Author

jsbien commented Sep 27, 2020

Now pip3 claims pdf-link-checker 1.1.1 has been installed succesfully, but the program is not in the path. Moreover it is not present in the reported installation directory:
/home/jsbien/.local/lib/python3.7/site-packages .
What can be done about it?

@michaelopdenacker
Copy link

Greetings
Would you mind testing again on release 1.3.0, please?
https://github.com/bootlin/pdf-link-checker/releases/tag/1.3.0
Thanks for reporting this issue.
Cheers

@jsbien
Copy link
Author

jsbien commented Feb 13, 2023

Thanks!

When tested on https://www.researchgate.net/publication/368455744 (you have explicitely ask for the access) I get
ERROR: URL https://cyfrowe.mnk.pl/publication/24392Cimelia failed. Reason: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)> (the PDF was created by me with XeLaTeX).

When tested on https://www.researchgate.net/publication/363698181 the program reports a lot of errors which seem to be actually not existing; moreover it reports strange links like file:///C:/Users/katar/Desktop/#x1-700212 which are not visible in the text (the PDF was created by the editors in InDesign).

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

3 participants