I am doing a vector tracing of a bitmap image and I am editing a simple path "by hand" with the pencil and pen tool over a separate layer containing the bitmap. Everything went fine until I tried to run the "Modify Path > Add Nodes" extension on the simplified path. The python extension seemed to crash and gave me the following error message:
Code: Select all
Traceback (most recent call last):
File "addnodes.py", line 113, in <module>
e.affect()
File "/usr/share/inkscape/extensions/inkex.py", line 211, in affect
self.parse()
File "/usr/share/inkscape/extensions/inkex.py", line 139, in parse
self.document = etree.parse(stream)
File "lxml.etree.pyx", line 3239, in lxml.etree.parse (src/lxml/lxml.etree.c:69955)
File "parser.pxi", line 1769, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:102257)
File "parser.pxi", line 1789, in lxml.etree._parseFilelikeDocument (src/lxml/lxml.etree.c:102516)
File "parser.pxi", line 1684, in lxml.etree._parseDocFromFilelike (src/lxml/lxml.etree.c:101442)
File "parser.pxi", line 1134, in lxml.etree._BaseParser._parseDocFromFilelike (src/lxml/lxml.etree.c:97069)
File "parser.pxi", line 582, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:91275)
File "parser.pxi", line 683, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:92461)
File "parser.pxi", line 622, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:91757)
lxml.etree.XMLSyntaxError: AttValue length too long, line 64, column 10000014
When I pasted the path into a new file the Add Nodes worked fine.
When I remove the bitmap object from the original file the Add Nodes extension seems to run fine as well, but this workaround would be a big hassle since I still need the bitmap background to work from and re-pasting it in seems irritating.
The bitmap is about 5000px by 4000px so I don't know why it is choking.
Any suggestions would be appreciated.
Edited to add that I am using Inkscape on Linux Mint 17.1