TypeError: unsupported operand type(s) for +: 'float' and 'str' #260

Closed
liZe opened this Issue Jul 6, 2015 · 2 comments

Comments

Projects
None yet
1 participant
@liZe
Member

liZe commented Jul 6, 2015

weasyprint http://foundation.zurb.com/docs/ out.pdf

@liZe

This comment has been minimized.

Show comment
Hide comment
@liZe

liZe Jul 6, 2015

Member

I'm sure that WeasyPrint was working when #225 was closed, so we can assume that the CSS has changed since this moment and caused this bug. Version 01a5ce7 doesn't work either, so this bug is old and not introduced in latest features.

Member

liZe commented Jul 6, 2015

I'm sure that WeasyPrint was working when #225 was closed, so we can assume that the CSS has changed since this moment and caused this bug. Version 01a5ce7 doesn't work either, so this bug is old and not introduced in latest features.

@liZe

This comment has been minimized.

Show comment
Hide comment
@liZe

liZe Jul 6, 2015

Member

Minimum test case:

<body style="display: inline-block; margin-bottom: auto">

I'm sometimes sad to realize that the 9000+ tests of the W3 CSS test suite don't crash, and that a so stupid and simple example like this fails.

Member

liZe commented Jul 6, 2015

Minimum test case:

<body style="display: inline-block; margin-bottom: auto">

I'm sometimes sad to realize that the 9000+ tests of the W3 CSS test suite don't crash, and that a so stupid and simple example like this fails.

@liZe liZe closed this in 81a035c Jan 17, 2016

jsonn pushed a commit to jsonn/pkgsrc that referenced this issue Feb 19, 2016

kleink
Update py-weasyprint to 0.26.
Version 0.26
------------

Released on 2016-01-29.

New features:

* Support the `empty-cells` attribute.
* Respect table, column and cell widths.

Bug fixes:

* `#172: <Kozea/WeasyPrint#172>`_:
  Unable to set table column width on tables td's.
* `#151: <Kozea/WeasyPrint#151>`_:
  Table background colour bleeds beyond table cell boundaries.
* `#260: <Kozea/WeasyPrint#260>`_:
  TypeError: unsupported operand type(s) for +: 'float' and 'str'.
* `#288: <Kozea/WeasyPrint#288>`_:
  Unwanted line-breaks in bold text.
* `#286: <Kozea/WeasyPrint#286>`_:
  AttributeError: 'Namespace' object has no attribute 'attachments'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment