'Pattern along Path' python script fails

Bug #405215 reported by fmartin400
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Incomplete
Medium
Unassigned

Bug Description

I found this (probable) error following the tutorial at http://tavmjong.free.fr/INKSCAPE/MANUAL/html/SoupCan.html, and I got the following exception from the python script:
Traceback (most recent call last):

  File "C:\Archivos de programa\Inkscape\share\extensions\pathalongpath.py", line 276, in <module>

    e.affect()

  File "C:\Archivos de programa\Inkscape\share\extensions\inkex.py", line 154, in affect

    self.effect()

  File "C:\Archivos de programa\Inkscape\share\extensions\pathalongpath.py", line 198, in effect

    self.prepareSelectionList()

  File "C:\Archivos de programa\Inkscape\share\extensions\pathalongpath.py", line 139, in prepareSelectionList

    self.objectsToPaths(self.skeletons)

  File "C:\Archivos de programa\Inkscape\share\extensions\pathmodifier.py", line 233, in objectsToPaths

    newnode=self.objectToPath(node,doReplace)

  File "C:\Archivos de programa\Inkscape\share\extensions\pathmodifier.py", line 221, in objectToPath

    fuseTransform(node)

  File "C:\Archivos de programa\Inkscape\share\extensions\simpletransform.py", line 113, in fuseTransform

    m = parseTransform(t)

  File "C:\Archivos de programa\Inkscape\share\extensions\simpletransform.py", line 70, in parseTransform

    matrix=composeTransform(mat,matrix)

UnboundLocalError: local variable 'matrix' referenced before assignment

Inkscape version: 0.46

Revision history for this message
fmartin400 (fmartin400) wrote :
Revision history for this message
Alvin Penner (apenner) wrote :

would you be willing to try this with a more recent version of Inkscape? These are available at :
http://sourceforge.net/projects/inkscape/files/

Changed in inkscape:
status: New → Incomplete
importance: Undecided → Medium
su_v (suv-lp)
tags: added: extensions-plugins
Revision history for this message
mbeach (mbeaches) wrote :

The referenced tutorial was followed to complection using Inkscape 0.47pre4 r22446, built Oct 15 2009 on Ubuntu 9.10

A number of extensions are utilized:
- Inside/Outside Halo extension (now Inset/Outset Halo)
- Add Nodes (to a path created from text)
- Pattern Along path

No errors were observed.

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

The bug in the file 'simpletransform.py' was fixed in SVN Revision 18997. Inkscape 0.47 includes the fixed version.

Linking as duplicate to bug #241565 “parseTransform() in simpletransform.py does not parse valid transformations”. Please add a comment and revert the duplicate status if you don't agree and think these are separate issues.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.