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

Type Error #2

Open
benwiggy opened this issue Apr 21, 2017 · 0 comments
Open

Type Error #2

benwiggy opened this issue Apr 21, 2017 · 0 comments

Comments

@benwiggy
Copy link

If I run this with a PDF containing images, I get:

 line 102, in myOperator_Do
    res, name = CGPDFScannerPopName(s, None)
TypeError: 'bool' object is not iterable

If the PDF has no images, I get a loads of things like:
Python[66207:2479700] PyObjCPointer created: at 0x7fb87cb3b940 of type {CGPDFOperatorTable=}
and then the python process crashes!

There are a few different versions of this code on the Apple open source site, and none of them work!

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