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

Python recursion limit with large file #654

Closed
bassasaurus opened this issue Jul 16, 2018 · 4 comments
Closed

Python recursion limit with large file #654

bassasaurus opened this issue Jul 16, 2018 · 4 comments
Labels
bug Existing features not working as expected

Comments

@bassasaurus
Copy link

Traceback

https://pastebin.com/eAHZKiY1

I have a file with ~3.5k lines that keeps giving me a maximum recursion error.

It seems to concern this line in particular

/lib/python3.6/site-packages/weasyprint/formatting_structure/build.py" in element_to_box 155. child_element, style_for, get_image_from_uri, base_url, state))

This is my first time reporting a bug - forgive me for possibly not doing it properly.

Thank you for your attention.

@liZe
Copy link
Member

liZe commented Jul 17, 2018

Thank you for this bug report!

Could you please provide the HTML+CSS sample causing this error? There's probably a bug somewhere in WeasyPrint.

@liZe liZe added the bug Existing features not working as expected label Jul 17, 2018
@liZe
Copy link
Member

liZe commented Aug 1, 2018

@bassasaurus ping?

@bassasaurus
Copy link
Author

bassasaurus commented Aug 1, 2018 via email

@liZe
Copy link
Member

liZe commented Aug 2, 2018

Thank you very much for reaching out. It's a
great package!

No problem 😄!

We'll release our first stable version soon. To be sure that we focus on what's important for you, you can write a small comment on #635. Thank you!

@liZe liZe closed this as completed Aug 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Existing features not working as expected
Projects
None yet
Development

No branches or pull requests

2 participants