Several effects broken with python error 'invalid tag name'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
Aaron C Spike |
Bug Description
Currently (SVN rev 16895, 12/31/07, linux x86), a number of effects are broken, all returning a similar error: Lorem Ipsum, Gear, Barcode, and LaTeX formula. A number of other bugs have been filed for the individual extensions, but this looks suspiciously like a single shared problem. The python tracebacks are as follows:
Render->LaTeX formula:
Traceback (most recent call last):
File "/usr/local/
e.affect()
File "/usr/local/
self.effect()
File "/usr/local/
svg_open(self, svg_file)
File "/usr/local/
group = clone_and_
File "/usr/local/
node_out = inkex.etree.
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
Render->Barcode (note you have to enter the correct # of digits to trigger this)
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/
e.affect()
File "/usr/local/
self.effect()
File "/usr/local/
svg_open(self, svg_file)
File "/usr/local/
group = clone_and_
File "/usr/local/
node_out = inkex.etree.
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
Render->Lorem Ipsum
Traceback (most recent call last):
File "/usr/local/
e.affect()
File "/usr/local/
self.effect()
File "/usr/local/
g=inkex.
File "etree.pyx", line 1854, in etree.SubElement
File "apihelpers.pxi", line 145, in etree._
File "apihelpers.pxi", line 723, in etree._getNsTag
ValueError: Invalid tag name
Render->Gear
Traceback (most recent call last):
File "/usr/local/
e.affect()
File "/usr/local/
self.effect()
File "/usr/local/
g = inkex.etree.
File "etree.pyx", line 1854, in etree.SubElement
File "apihelpers.pxi", line 145, in etree._
File "apihelpers.pxi", line 723, in etree._getNsTag
ValueError: Invalid tag name
I guess this could have something to do with my version of lxml (python- lxml-1. 3.3-1.fc6) . But in any case I was able to build against what I have, so either the problem should be fixed, or the dependencies should be updated...
Here is some more info on my installation of lxml:
% rpmquery -i python-lxml
Name : python-lxml Relocations: (not relocatable) fedora. redhat. com Libraries Source RPM: python- lxml-1. 3.3-1.fc6. src.rpm bugzilla. redhat. com/bugzilla> codespeak. net/lxml/
Version : 1.3.3 Vendor: Fedora Project
Release : 1.fc6 Build Date: Tue 31 Jul 2007 04:44:57 AM PDT
Install Date: Sun 04 Nov 2007 06:57:42 PM PST Build Host: xenbuilder2.
Group : Development/
Size : 5480328 License: BSD
Packager : Fedora Project <http://
URL : http://
Summary : ElementTree-like Python bindings for libxml2 and libxslt
Description :
lxml provides a Python binding to the libxslt and libxml2 libraries. It
follows the ElementTree API as much as possible in order to provide a more
Pythonic interface to libxml2 and libxslt than the default bindings. In
particular, lxml deals with Python Unicode strings rather than encoded UTF-8
and handles memory management automatically, unlike the default bindings.