Comment 0 for bug 174992

Revision history for this message
Diti Torterat (diti) wrote : UnboundLocalError with perspective.py

I'm testing the 0.46.0-svn+16641 version of Inkscape because the perspective tool didn't work. On this version, after I had installed the “python-lxml” (see #169095) and “numpy” packages (see #169802), I got this error message :

 Traceback (most recent call last):
  File "/usr/share/inkscape/extensions/perspective.py", line 127, in <module>
    e.affect()
  File "/usr/share/inkscape/extensions/inkex.py", line 153, in affect
    self.effect()
  File "/usr/share/inkscape/extensions/perspective.py", line 80, in effect
    solmatrix[i][0] = sp[i][0]
UnboundLocalError: local variable 'sp' referenced before assignment

And the perspective extension does nothing.
I hope my bug will help the developpers. Thanks.