trunk: ink2canvas for stroked objects fails with "AttributeError: 'module' object has no attribute 'unittouu'"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
Alvin Penner |
Bug Description
Steps to reproduce:
1) launch current trunk (default (new) prefs, default not-localized template)
2) draw a rectangle
3) change stroke width to any value ≠ 1 px
4) save a copy as 'HTML 5 canvas (*.html)'
Saving fails with this error message:
Traceback (most recent call last):
File "ink2canvas.py", line 89, in <module>
ink.affect()
File "/custom/
self.effect()
File "ink2canvas.py", line 84, in effect
self.
File "ink2canvas.py", line 75, in walk_tree
self.
File "ink2canvas.py", line 74, in walk_tree
elem.draw()
File "/custom/
self.
File "/custom/
getattr(
File "/custom/
self.
AttributeError: 'module' object has no attribute 'unittouu'
Simply changing 'inkex.unittouu' to 'self.unittouu' does not work in this case.
AFAIU this regression is related to the changes in revision 12722:
<http://
Backtrace produced with r12839 on OS X 10.7.5.
Related branches
description: | updated |
tags: | added: units |
description: | updated |
Changed in inkscape: | |
assignee: | nobody → Alvin Penner (apenner) |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
Reproduced on Crunchbang Waldorf, Inkscape trunk revision 12840.