pdfparanoia
pdfparanoia copied to clipboard
initialization not needed anymore
Was getting this error:
AttributeError: 'PDFDocument' object has no attribute 'initialize'
Is this in both versions of pdfminer?
Re: pdfminer discrepancies for python2 and python3, see https://github.com/kanzure/pdfparanoia/issues/44
pdfminer3k hasn't been updated since my last patch march update to pdfminer removed initialize() http://euske.github.io/pdfminer/index.html#changes to avoid cluttering up the code base with conditionals to manage the two interfaces we should move to https://pypi.python.org/pypi/pdfminer.six/20140915 see #44
This was for python2
but even pdfminer-six
does not require initialize
it seems.
currently we use pdfminer3k for extraction w. python3 that port hasn't been maintained for a while, and the interfaces of it and pdfminer have diverged e.g. initialize() is required -- so applying this patch would mean breaking 3 support if we haven't already instead of managing two interfaces, we want to move to -six which means a single interface & support for both runtimes but that hasn't happened yet
Are there any other changes that pdfminer-six is going to require?
Is this merge request not needed anymore too?
I was closing my ancient PRs. Not sure, since I am not using it anymore.