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

initialization not needed anymore #43

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rejuvyesh
Copy link

Was getting this error:

AttributeError: 'PDFDocument' object has no attribute 'initialize'

@kanzure
Copy link
Owner

kanzure commented Nov 17, 2014

Is this in both versions of pdfminer?

@kanzure
Copy link
Owner

kanzure commented Nov 17, 2014

Re: pdfminer discrepancies for python2 and python3, see #44

@fmap
Copy link

fmap commented Nov 17, 2014

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

@rejuvyesh
Copy link
Author

This was for python2 but even pdfminer-six does not require initialize it seems.

@fmap
Copy link

fmap commented Nov 18, 2014

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

@kanzure
Copy link
Owner

kanzure commented Nov 21, 2014

Are there any other changes that pdfminer-six is going to require?

@kanzure
Copy link
Owner

kanzure commented Aug 17, 2018

Is this merge request not needed anymore too?

@rejuvyesh
Copy link
Author

I was closing my ancient PRs. Not sure, since I am not using it anymore.

@rejuvyesh rejuvyesh reopened this Aug 17, 2018
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

Successfully merging this pull request may close these issues.

3 participants