-
Notifications
You must be signed in to change notification settings - Fork 79
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
Running svg2rlg second time returns None. #95
Comments
I cannot reproduce. Are you sure |
@claudep It is a real file path(str). What is your version of svglib? I use 0.8.1.
|
Changes on master from the 0.8.1 release are minor, I don't think that makes a difference. |
File is |
I have quite a similar configuration (Debian instead of Ubuntu). That's a weird behavior.
I don't see how the document would be empty the second time. |
Yes, this runs without errors. |
I'm sorry, I don't see any obvious error on svglib side which would explain this error. I'm afraid you'll have to debug a bit more on your side. |
@claudep Yes, I think I should. Thank you for your help. I will try to dig deeper. |
I have to draw an image on every page of a PDF file. For that I have a function that does something like this:
And for every page I call the function draw_logo. It draws the image on the first page, but when the function is called second time(for second page) svg2rlg returns None. Yet I have found a way to bypass this case, I still think things shouldn't work so.
The text was updated successfully, but these errors were encountered: