compatibility with new version of pdfminer-20131113#1
Open
medphisiker wants to merge 2 commits intodrj11:devfrom
Open
compatibility with new version of pdfminer-20131113#1medphisiker wants to merge 2 commits intodrj11:devfrom
medphisiker wants to merge 2 commits intodrj11:devfrom
Conversation
|
I cloned and installed the the development version and it doesn't seem to have this problem. Installing with pip does not work as it is an older version. @drj11 - can you update the package on PyPI? Not only is it a problem for using pdftables on its own, the messytables package also depends on it. |
|
The development version doesn't have the problem because it's using poppler as the default backend. I'll send pull request that fixes the pdfminer api change in case anyone wants to use that as the backend. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
hello, I download pdftables 0.3
In new version of pdfminer (pdfminer-20131113) PDFDocument have new location
it's location now in
from pdfminer.pdfdocument import PDFDocument
In pdftables.py
insead of string:
from pdfminer.pdfparser import PDFParser, PDFDocument
you could write :
from pdfminer.pdfparser import PDFParser
try:
from pdfminer.pdfparser import PDFDocument
except ImportError:
from pdfminer.pdfdocument import PDFDocument