Comment 66 for bug 55273

Revision history for this message
Leandro (leandromartinez98) wrote :

I'm using: inkscape_0.46-5ubuntu4_i386.deb on Ubuntu 9.04 and I get the error reported below.

I've tryied to apply the patch, but I get this message:

curl -s 'thttp://launchpadlibrarian.net/14090556/eqtexsvg.py_linux_shell_apply.patch' | sudo patch -p0
patching file eqtexsvg.py
Reversed (or previously applied) patch detected! Assume -R? [n] y
Hunk #3 FAILED at 95.
Hunk #4 FAILED at 108.
2 out of 4 hunks FAILED -- saving rejects to file eqtexsvg.py.rej

Or (after reinstalling inkscape), I apply the patch answering no to the question, I get:

Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] y
Hunk #1 FAILED at 49.
Hunk #2 FAILED at 88.
Hunk #3 FAILED at 98.
Hunk #4 FAILED at 113.
4 out of 4 hunks FAILED -- saving rejects to file eqtexsvg.py.rej

The patch does not work in either case.

The error is this:

Traceback (most recent call last):
  File "/usr/share/inkscape/extensions/eqtexsvg.py", line 134, in <module>
    e.affect()
  File "/usr/share/inkscape/extensions/inkex.py", line 154, in affect
    self.effect()
  File "/usr/share/inkscape/extensions/eqtexsvg.py", line 130, in effect
    svg_open(self, svg_file)
  File "/usr/share/inkscape/extensions/eqtexsvg.py", line 69, in svg_open
    doc = inkex.etree.parse(filename)
  File "lxml.etree.pyx", line 2583, in lxml.etree.parse (src/lxml/lxml.etree.c:25057)
  File "parser.pxi", line 1465, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:63523)
  File "parser.pxi", line 1494, in lxml.etree._parseDocumentFromURL (src/lxml/lxml.etree.c:63767)
  File "parser.pxi", line 1394, in lxml.etree._parseDocFromFile (src/lxml/lxml.etree.c:62923)
  File "parser.pxi", line 968, in lxml.etree._BaseParser._parseDocFromFile (src/lxml/lxml.etree.c:60309)
  File "parser.pxi", line 542, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:56659)
  File "parser.pxi", line 628, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:57504)
  File "parser.pxi", line 566, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:56876)
IOError: Error reading file '/tmp/inkscape-B6iDyG/eq.svg': failed to load external entity "/tmp/inkscape-B6iDyG/eq.svg"