DXF export error with embedded script
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
New
|
Undecided
|
Unassigned |
Bug Description
I created a SVG-file with a 3rd-party application "Skeinforge" (from RepRap 3D-printers), and opened it in Inkscape. This works fine, and all is displayed correctly.
However, when trying to export as DXF I get the error shown below from the export module.
After playing around, I found it doesn't matter what the encoding in the file header or the export dialog is set to. The problem is the degree-
Now, why does opening in Inkscape not suffer from this bug? As a user, I'm under the impression everything is OK, so a re-save should produce a SVG-compliant file. (It doesn't in this case.)
Is there a way to save a "clean" SVG, so the problem could be solved by re-saving in native Inkscape-SVG?
I attached an file that shows the behavior. I does not contain any visible geometry, however export fails.
Traceback (most recent call last):
File "dxf_outlines.py", line 345, in <module>
e.affect()
File "C:\Inkscape\
self.parse()
File "C:\Inkscape\
self.document = etree.parse(stream, parser=p)
File "lxml.etree.pyx", line 2692, in lxml.etree.parse (src/lxml/
File "parser.pxi", line 1522, in lxml.etree.
File "parser.pxi", line 1552, in lxml.etree.
File "parser.pxi", line 1435, in lxml.etree.
File "parser.pxi", line 997, in lxml.etree.
File "parser.pxi", line 539, in lxml.etree.
File "parser.pxi", line 625, in lxml.etree.
File "parser.pxi", line 565, in lxml.etree.
lxml.etree.
Bytes: 0xFF 0x27 0x29 0x3B, line 174, column 69
tags: | added: exporting saving svg |