'Pattern along Path' python script fails

Bug #405215 reported by fmartin400 on 2009-07-27
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
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

fmartin400 (fmartin400) wrote :
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) on 2009-11-02
tags: added: extensions-plugins
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.

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  Edit
Everyone can see this information.

Other bug subscribers