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
Traceback (most recent call last):
File "/workspaces/calendarFetcher/resources/test.py", line 9, in <module>
html.write_pdf(
File "/usr/local/lib/python3.10/site-packages/weasyprint/__init__.py", line 183, in write_pdf
self.render(
File "/usr/local/lib/python3.10/site-packages/weasyprint/__init__.py", line 134, in render
return Document._render(
File "/usr/local/lib/python3.10/site-packages/weasyprint/document.py", line 930, in _render
[Page(page_box) for page_box in page_boxes],
File "/usr/local/lib/python3.10/site-packages/weasyprint/document.py", line 930, in <listcomp>
[Page(page_box) for page_box in page_boxes],
File "/usr/local/lib/python3.10/site-packages/weasyprint/layout/__init__.py", line 133, in layout_document
pages = list(make_all_pages(context, root_box, html, pages))
File "/usr/local/lib/python3.10/site-packages/weasyprint/layout/page.py", line 855, in make_all_pages
page, resume_at = remake_page(i, context, root_box, html)
File "/usr/local/lib/python3.10/site-packages/weasyprint/layout/page.py", line 792, in remake_page
page, resume_at, next_page = make_page(
File "/usr/local/lib/python3.10/site-packages/weasyprint/layout/page.py", line 590, in make_page
root_box, resume_at, next_page, _, _ = block_level_layout(
File "/usr/local/lib/python3.10/site-packages/weasyprint/layout/block.py", line 56, in block_level_layout
return block_level_layout_switch(
File "/usr/local/lib/python3.10/site-packages/weasyprint/layout/block.py", line 70, in block_level_layout_switch
return block_box_layout(
File "/usr/local/lib/python3.10/site-packages/weasyprint/layout/block.py", line 112, in block_box_layout
result = block_container_layout(
File "/usr/local/lib/python3.10/site-packages/weasyprint/layout/block.py", line 641, in block_container_layout
next_page, new_children) = _in_flow_layout(
File "/usr/local/lib/python3.10/site-packages/weasyprint/layout/block.py", line 449, in _in_flow_layout
collapsing_through) = block_level_layout(
File "/usr/local/lib/python3.10/site-packages/weasyprint/layout/block.py", line 56, in block_level_layout
return block_level_layout_switch(
File "/usr/local/lib/python3.10/site-packages/weasyprint/layout/block.py", line 70, in block_level_layout_switch
return block_box_layout(
File "/usr/local/lib/python3.10/site-packages/weasyprint/layout/block.py", line 112, in block_box_layout
result = block_container_layout(
File "/usr/local/lib/python3.10/site-packages/weasyprint/layout/block.py", line 641, in block_container_layout
next_page, new_children) = _in_flow_layout(
File "/usr/local/lib/python3.10/site-packages/weasyprint/layout/block.py", line 449, in _in_flow_layout
collapsing_through) = block_level_layout(
File "/usr/local/lib/python3.10/site-packages/weasyprint/layout/block.py", line 56, in block_level_layout
return block_level_layout_switch(
File "/usr/local/lib/python3.10/site-packages/weasyprint/layout/block.py", line 70, in block_level_layout_switch
return block_box_layout(
File "/usr/local/lib/python3.10/site-packages/weasyprint/layout/block.py", line 112, in block_box_layout
result = block_container_layout(
File "/usr/local/lib/python3.10/site-packages/weasyprint/layout/block.py", line 641, in block_container_layout
next_page, new_children) = _in_flow_layout(
File "/usr/local/lib/python3.10/site-packages/weasyprint/layout/block.py", line 449, in _in_flow_layout
collapsing_through) = block_level_layout(
File "/usr/local/lib/python3.10/site-packages/weasyprint/layout/block.py", line 56, in block_level_layout
return block_level_layout_switch(
File "/usr/local/lib/python3.10/site-packages/weasyprint/layout/block.py", line 66, in block_level_layout_switch
return table_layout(
File "/usr/local/lib/python3.10/site-packages/weasyprint/layout/table.py", line 533, in table_layout
all_groups_layout())
File "/usr/local/lib/python3.10/site-packages/weasyprint/layout/table.py", line 517, in all_groups_layout
body_groups_layout(
File "/usr/local/lib/python3.10/site-packages/weasyprint/layout/table.py", line 381, in body_groups_layout
new_group, resume_at, next_page = group_layout(
File "/usr/local/lib/python3.10/site-packages/weasyprint/layout/table.py", line 166, in group_layout
new_cell, cell_resume_at, _, _, _ = block_container_layout(
File "/usr/local/lib/python3.10/site-packages/weasyprint/layout/block.py", line 631, in block_container_layout
abort, stop, resume_at, position_y = _linebox_layout(
File "/usr/local/lib/python3.10/site-packages/weasyprint/layout/block.py", line 304, in _linebox_layout
for i, (line, resume_at) in enumerate(lines_iterator):
File "/usr/local/lib/python3.10/site-packages/weasyprint/layout/inline.py", line 43, in iter_line_boxes
line, resume_at = get_next_linebox(
File "/usr/local/lib/python3.10/site-packages/weasyprint/layout/inline.py", line 114, in get_next_linebox
offset_x = text_align(
File "/usr/local/lib/python3.10/site-packages/weasyprint/layout/inline.py", line 1143, in text_align
assert align == 'end'
AssertionError
The text was updated successfully, but these errors were encountered:
Error
I am getting the following error:
Just by using the
table
class from Bootstrap.System Information
alpine3.15
3.10.3
54.2
5.1.3
Minimal reproducible example
Example.html
test.py
Whole stacktrace
The text was updated successfully, but these errors were encountered: