Comment 6 for bug 1362534

Revision history for this message
su_v (suv-lp) wrote :

> <su_v> houz: ok, the extension is lazy and relies on a style property
> present which may or may not be there

Pardon me for using 'lazy' in this context - I haven't narrowed down yet what exactly triggers the failure (but AFAICT it seems to be related to the content of the 'style' attribute):

Steps to reproduce:
1) draw a rect, a smaller circle on top of the rect
2) in the XML Editor, remove the style attribute of both objects
3) assign a fill color to each of the objects (via palette below the canvas area)
4) select both and group them
5) apply extension to this group

Traceback (most recent call last):
  File "axonometric_transform.py", line 166, in <module>
    effect.affect()
  File "/Volumes/magenta/mp-trunk/src/inkscape-repo/mptrunk-quartz-clang/inst/share/inkscape/extensions/inkex.py", line 261, in affect
    self.effect()
  File "axonometric_transform.py", line 160, in effect
    self.replacestackedobjects(newNode, widthattr, strokescale)
  File "axonometric_transform.py", line 97, in replacestackedobjects
    self.replacestackedobjects(o, w, strokescale)
  File "axonometric_transform.py", line 96, in replacestackedobjects
    for o, w in zip(object, widthattr):
TypeError: zip argument #2 must support iteration