Comment 7 for bug 278423

Revision history for this message
Alexandre Prokoudine (alexandre-prokoudine) wrote :

With "Regular Polygon":

Traceback (most recent call last):
  File "/usr/share/inkscape/extensions/render_sequential_labels.py", line 329, in <module>
    e.affect()
  File "/usr/share/inkscape/extensions/inkex.py", line 172, in affect
    self.effect()
  File "/usr/share/inkscape/extensions/render_sequential_labels.py", line 316, in effect
    draw_decoration(so, dec_pos, st, group)
  File "/usr/share/inkscape/extensions/render_sequential_labels.py", line 181, in draw_decoration
    draw_SVG_poly_star(options, position, st, 'PolygonDec', parent, id)
  File "/usr/share/inkscape/extensions/render_sequential_labels.py", line 75, in draw_SVG_poly_star
    poly = inkex.etree.SubElement(parent, inkex.addNS('path','svg'), poly_attribs )
  File "lxml.etree.pyx", line 2342, in lxml.etree.SubElement (src/lxml/lxml.etree.c:21249)
  File "apihelpers.pxi", line 174, in lxml.etree._makeSubElement (src/lxml/lxml.etree.c:27048)
  File "apihelpers.pxi", line 246, in lxml.etree._initNodeAttributes (src/lxml/lxml.etree.c:27760)
  File "apihelpers.pxi", line 1323, in lxml.etree._attributeValidOrRaise (src/lxml/lxml.etree.c:36387)
ValueError: Invalid attribute name u'sodipodi:type'

With "Star":

Traceback (most recent call last):
  File "/usr/share/inkscape/extensions/render_sequential_labels.py", line 329, in <module>
    e.affect()
  File "/usr/share/inkscape/extensions/inkex.py", line 172, in affect
    self.effect()
  File "/usr/share/inkscape/extensions/render_sequential_labels.py", line 316, in effect
    draw_decoration(so, dec_pos, st, group)
  File "/usr/share/inkscape/extensions/render_sequential_labels.py", line 183, in draw_decoration
    draw_SVG_poly_star(options, position, st, 'StarDec', parent, id)
  File "/usr/share/inkscape/extensions/render_sequential_labels.py", line 75, in draw_SVG_poly_star
    poly = inkex.etree.SubElement(parent, inkex.addNS('path','svg'), poly_attribs )
  File "lxml.etree.pyx", line 2342, in lxml.etree.SubElement (src/lxml/lxml.etree.c:21249)
  File "apihelpers.pxi", line 174, in lxml.etree._makeSubElement (src/lxml/lxml.etree.c:27048)
  File "apihelpers.pxi", line 246, in lxml.etree._initNodeAttributes (src/lxml/lxml.etree.c:27760)
  File "apihelpers.pxi", line 1323, in lxml.etree._attributeValidOrRaise (src/lxml/lxml.etree.c:36387)
ValueError: Invalid attribute name u'sodipodi:type'