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

Not able to read the PDF and the repository doesn't work with Python3.5? #41

Open
JafferWilson opened this issue Sep 19, 2017 · 0 comments

Comments

@JafferWilson
Copy link

Clubbing the 2 issues together as one issue.
The repository, I installed successfully but there was a issue while running it. The issue was related to the encoding of the file. Please take a note of this.
Then I uninstalled the library and installed with Python2. So I got the following error while running the example:

Traceback (most recent call last):
  File "<stdin>", line 2, in <module>
  File "build\bdist.win-amd64\egg\slate\classes.py", line 61, in __init__
  File "c:\Python27\lib\site-packages\pdfminer-20140328-py2.7.egg\pdfminer\pdfdocument.py", line 315, in __init__
    xref.load(parser)
  File "c:\Python27\lib\site-packages\pdfminer-20140328-py2.7.egg\pdfminer\pdfdocument.py", line 175, in load
    (_, obj) = parser.nextobject()
  File "c:\Python27\lib\site-packages\pdfminer-20140328-py2.7.egg\pdfminer\psparser.py", line 557, in nextobject
    (pos, token) = self.nexttoken()
  File "c:\Python27\lib\site-packages\pdfminer-20140328-py2.7.egg\pdfminer\psparser.py", line 482, in nexttoken
    self.fillbuf()
  File "c:\Python27\lib\site-packages\pdfminer-20140328-py2.7.egg\pdfminer\psparser.py", line 215, in fillbuf
    raise PSEOF('Unexpected EOF')
pdfminer.psparser.PSEOF: Unexpected EOF

Kindly, help me.

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

1 participant