On Sun, 2008-03-02 at 20:01 -0400, bulia byak wrote:
On Sun, Mar 2, 2008 at 9:59 AM, <J.B.C.Engelen@...1578...> wrote:
Now there should be a somewhat cleaner/better fix, however these two effects are broken again. The effects run successfully, but the parameters are not passed correctly.
In rev 17608, function plotter works but dimensions and add nodes do not. Ted, can you please look into whether this might be caused by your recent fixes?
With "Add Nodes" I get:
Traceback (most recent call last): File "/home/ted/Development/inkscape.work/install/share/inkscape/extensions/addnodes.py", line 91, in <module> e.affect() File "/home/ted/Development/inkscape.work/install/share/inkscape/extensions/inkex.py", line 154, in affect self.effect() File "/home/ted/Development/inkscape.work/install/share/inkscape/extensions/addnodes.py", line 81, in effect splits = math.ceil(length/self.options.max) ZeroDivisionError: float division
and with Dimensions I get:
/home/ted/Development/inkscape.work/install/share/inkscape/extensions/dimension.py:60: TagNameWarning: Tag names must not contain ':', lxml 2.0 will enforce well-formed tag names as required by the XML specification. marker.set('inkscape:stockid', name)
Aaron, do you have any ideas on what these could be caused by?
And btw please don't forget to copy all your fixes to the 0.46 branch.
I'm not sure what will happen there, there was concern that they contain too much refactoring. I'm not really interesting in fixing the old code as it is really broken (architecturally and code-wise).
--Ted