You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/home/jan/.local/share/virtualenvs/kucharka-vjOexrDR/lib/python3.9/site-packages/weasyprint/layout/inline.py", line 1134, in text_align
assert align == 'end'
File "/home/jan/.local/share/virtualenvs/kucharka-vjOexrDR/lib/python3.9/site-packages/weasyprint/layout/inline.py", line 1134, in text_align
assert align == 'end'
Activity
grewn0uille commentedon Jan 12, 2022
Hello!
Can you please share the related HTML/CSS?
janpeterka commentedon Jan 12, 2022
Sure, but it happens on all
render_pfd
pages (using Flask-Weasyprint).Controller:
Template:
using Bootstrap for design
Fix #1538.
grewn0uille commentedon Jan 12, 2022
Thanks for this bug report! It’s now fix in the 54.x branch.
This crash was caused by a variable that isn’t set in Bootstrap for text-align, which lead to a None value.
assert align == 'end'
when using Boostrap classtable
#1605PEMIDI commentedon Nov 16, 2024
Same Issue, solved by downgrading to
53.4
Thanks.