Comment 15 for bug 179770

Revision history for this message
Tom Davidson (tjd-mit) wrote : Re: [Bug 179770] Re: Several effects broken with python error 'invalid tag name'

The only difference I see is that the error now happens at line 54 :) . No
extra output to command line. Is there some log file generated or something?

pstoedit: version 3.44 / DLL interface 108 (build Nov 23 2006 - release
build - g++ 4.1.1 20061011 (Red Hat 4.1.1-30)) : Copyright (C) 1993 - 2006
Wolfgang Glunz
{http://www.w3.org/2000/svg}{http://www.w3.org/2000/svg}svg
Traceback (most recent call last):
  File "/usr/local/share/inkscape/extensions/eqtexsvg.py", line 120, in ?
    e.affect()
  File "/usr/local/share/inkscape/extensions/inkex.py", line 154, in affect
    self.effect()
  File "/usr/local/share/inkscape/extensions/eqtexsvg.py", line 115, in
effect
    svg_open(self, svg_file)
  File "/usr/local/share/inkscape/extensions/eqtexsvg.py", line 70, in
svg_open
    group = clone_and_rewrite(self, svg)
  File "/usr/local/share/inkscape/extensions/eqtexsvg.py", line 54, in
clone_and_rewrite
    node_out = inkex.etree.Element(inkex.addNS(node_in.tag,'svg'))
  File "etree.pyx", line 1801, in etree.Element
  File "apihelpers.pxi", line 101, in etree._makeElement
  File "apihelpers.pxi", line 712, in etree._getNsTag
ValueError: Invalid tag name

On Jan 24, 2008 2:11 PM, Aaron Spike <email address hidden> wrote:

> Tom Davidson wrote:
> > Hi, yes, Lorem Ipsum, Barcode, and Gears are all working now! Latex
> > unfortunately still triggers the error (pasted again below) using lxml
> > 1.3.3. If it works in 1.3.6, I'd say it's not worth keeping the bug
> > open, but I'll let you make that call, Aaron...
>
> I'd prefer to get it fixed before I close it. I don't think I see the
> problem with 1.3.3 on windows, but I'll check again.
>
> > pstoedit: version 3.44 / DLL interface 108 (build Nov 23 2006 - release
> build - g++ 4.1.1 20061011 (Red Hat 4.1.1-30)) : Copyright (C) 1993 - 2006
> Wolfgang Glunz
> > Traceback (most recent call last):
> > File "/usr/local/share/inkscape/extensions/eqtexsvg.py", line 119, in
> ?
> > e.affect()
> > File "/usr/local/share/inkscape/extensions/inkex.py", line 154, in
> affect
> > self.effect()
> > File "/usr/local/share/inkscape/extensions/eqtexsvg.py", line 114, in
> effect
> > svg_open(self, svg_file)
> > File "/usr/local/share/inkscape/extensions/eqtexsvg.py", line 69, in
> svg_open
> > group = clone_and_rewrite(self, svg)
> > File "/usr/local/share/inkscape/extensions/eqtexsvg.py", line 53, in
> clone_and_rewrite
> > node_out = inkex.etree.Element(inkex.addNS(node_in.tag,'svg'))
>
> are you at all comfortable with python? if so you could help me, what
> happens if you put
>
> inkex.debug(inkex.addNS(node_in.tag,'svg'))
>
> right above line 53?
>
> Aaron
>
> --
> Several effects broken with python error 'invalid tag name'
> https://bugs.launchpad.net/bugs/179770
> You received this bug notification because you are a direct subscriber
> of the bug.
>