Traceback (most recent call last):


 "/usr/local/bin/weasyprint", line 11, in <module>

sys.exit(main())


 "/usr/local/lib/python2.7/site-packages/weasyprint/__main__.py", line 164, in main

getattr(html, 'write_' + format_)(output, **kwargs)


 "/usr/local/lib/python2.7/site-packages/weasyprint/__init__.py", line 178, in write_pdf

return self.render(stylesheets, presentational_hints).write_pdf(


 "/usr/local/lib/python2.7/site-packages/weasyprint/__init__.py", line 143, in render

self, stylesheets, enable_hinting, presentational_hints)


 "/usr/local/lib/python2.7/site-packages/weasyprint/document.py", line 334, in _render

[Page(p, enable_hinting) for p in page_boxes],


 "/usr/local/lib/python2.7/site-packages/weasyprint/layout/__init__.py", line 53, in layout_document

pages = list(make_all_pages(context, root_box))


 "/usr/local/lib/python2.7/site-packages/weasyprint/layout/pages.py", line 567, in make_all_pages

page_number)


 "/usr/local/lib/python2.7/site-packages/weasyprint/layout/pages.py", line 513, in make_page

positioned_boxes, positioned_boxes, adjoining_margins)


 "/usr/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 70, in block_level_layout

adjoining_margins)


 "/usr/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 98, in block_box_layout

page_is_empty, absolute_boxes, fixed_boxes, adjoining_margins)


 "/usr/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 603, in block_container_layout

adjoining_margins)


 "/usr/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 70, in block_level_layout

adjoining_margins)


 "/usr/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 98, in block_box_layout

page_is_empty, absolute_boxes, fixed_boxes, adjoining_margins)


 "/usr/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 603, in block_container_layout

adjoining_margins)


 "/usr/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 70, in block_level_layout

adjoining_margins)


 "/usr/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 98, in block_box_layout

page_is_empty, absolute_boxes, fixed_boxes, adjoining_margins)


 "/usr/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 603, in block_container_layout

adjoining_margins)


 "/usr/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 70, in block_level_layout

adjoining_margins)


 "/usr/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 98, in block_box_layout

page_is_empty, absolute_boxes, fixed_boxes, adjoining_margins)


 "/usr/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 603, in block_container_layout

adjoining_margins)


 "/usr/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 70, in block_level_layout

adjoining_margins)


 "/usr/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 98, in block_box_layout

page_is_empty, absolute_boxes, fixed_boxes, adjoining_margins)


 "/usr/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 603, in block_container_layout

adjoining_margins)


 "/usr/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 70, in block_level_layout

adjoining_margins)


 "/usr/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 98, in block_box_layout

page_is_empty, absolute_boxes, fixed_boxes, adjoining_margins)


 "/usr/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 603, in block_container_layout

adjoining_margins)


 "/usr/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 70, in block_level_layout

adjoining_margins)


 "/usr/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 98, in block_box_layout

page_is_empty, absolute_boxes, fixed_boxes, adjoining_margins)


 "/usr/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 603, in block_container_layout

adjoining_margins)


 "/usr/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 70, in block_level_layout

adjoining_margins)


 "/usr/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 98, in block_box_layout

page_is_empty, absolute_boxes, fixed_boxes, adjoining_margins)


 "/usr/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 603, in block_container_layout

adjoining_margins)


 "/usr/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 65, in block_level_layout

adjoining_margins)


 "/usr/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 224, in columns_layout

for i in range(count):
TypeError: range() integer end argument expected, got float.

Traceback (most recent call last):


 "test_Chainer.py", line 64, in <module>

loss2.backward()


 "/home/nam/.local/lib/python3.6/site-packages/chainer/variable.py", line 981, in backward

self._backward_main(retain_grad, loss_scale)


 "/home/nam/.local/lib/python3.6/site-packages/chainer/variable.py", line 1061, in _backward_main

func, target_input_indexes, out_grad, in_grad)


 "/home/nam/.local/lib/python3.6/site-packages/chainer/_backprop_utils.py", line 109, in backprop_step

target_input_indexes, grad_outputs)


 "/home/nam/.local/lib/python3.6/site-packages/chainer/function.py", line 145, in backward

variable._check_grad_type(self, x, True, gx, False)


 "/home/nam/.local/lib/python3.6/site-packages/chainer/variable.py", line 74, in _check_grad_type

raise typ(detail + msg)
TypeError: Function `<property object at 0x7fb19ad347c8>` (SequenceBatchNormalizationFunction) has a bug.
