Synfig export error

Bug #1614111 reported by mio75 on 2016-08-17
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

Traceback (most recent call last):
  File "", line 1344, in <module>
  File "/usr/share/inkscape/extensions/", line 265, in affect
  File "/usr/share/inkscape/extensions/", line 207, in getposinlayer
    x = self.unittouu( xattr[0] + 'px' )
  File "/usr/share/inkscape/extensions/", line 351, in unittouu
    return retval * (self.__uuconv[u.string[u.start():u.end()]] / self.__uuconv[self.getDocumentUnit()])
  File "/usr/share/inkscape/extensions/", line 304, in getDocumentUnit
    p = param.match(svgwidth)
TypeError: expected string or buffer

mio75 (mio75) wrote :
mio75 (mio75) wrote :

Inkscape 0.91 r
Ubuntu 14.04.5

Workaround: copied the contents into a fresh Inkscape document, then saving as .sif works perfectly.

jazzynico (jazzynico) wrote :

Reproduced on Windows XP (32-bit) with 0.91 (same error message) and 0.92, with a different message:

Traceback (most recent call last):
  File "", line 1344, in <module>
  File "d:\dev\Inkscape\0.92.x\inkscape\share\extensions\", line 283, in affect
  File "", line 1053, in effect
  File "d:\dev\Inkscape\0.92.x\inkscape\share\extensions\", line 483, in effect
  File "d:\dev\Inkscape\0.92.x\inkscape\share\extensions\", line 383, in propagate_attribs
    dw = get_dimension(node.get("width", vw))
  File "d:\dev\Inkscape\0.92.x\inkscape\share\extensions\", line 455, in get_dimension
    elif s[-1] == "%":
TypeError: 'float' object has no attribute '__getitem__'

Related to bug #1463623 "Error trying to save Optimized SVG (no 'width' attribute for SVGRoot)"?

Changed in inkscape:
importance: Undecided → Medium
status: New → Confirmed
tags: added: extensions-plugins
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers