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

pdfCanvas referenced before assignment #8

Open
Streep opened this issue Feb 11, 2022 · 1 comment
Open

pdfCanvas referenced before assignment #8

Streep opened this issue Feb 11, 2022 · 1 comment

Comments

@Streep
Copy link

Streep commented Feb 11, 2022

The variable pdfCanvas is referenced before it is assigned. The only occurrence is in the function snbToPdf. Not sure how it could ever work like this for this reason, or that I am missing something.

Also, a Python 3 version would be nice. If you fix the above I can make a PR.

@ohadcn
Copy link
Owner

ohadcn commented Feb 12, 2022

I do no longer have SNB, so this project is not maintained any more.

I took a quick look at what you have pointed at - does your file have empty pages? I only see how it could happen in empty pages where the loop in line 124 is never called

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

2 participants