-
Notifications
You must be signed in to change notification settings - Fork 141
Not able to read the PDF and the repository doesn't work with Python3.5? #41
Copy link
Copy link
Open
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels