Error while opening dxf file.
Bug #372372 reported by
dopelover
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I got following error message while opening attached dxf file:
Traceback (most recent call last):
File "/usr/local/
layer = layer_nodes[
KeyError: u'0'
Inkscape r21287
tags: | added: dxf importing |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
- two separate problems were encountered with this file, one was fixable, one not fixable.
- the crash above was caused by the fact that no layers were defined in the dxf file. This has been fixed and committed to svn rev 21294. The dxf file will now load, but unfortunately only the text will show, not the contour lines. Exactly the same behaviour is shown by QCad, which refuses to display the lines. Voloview will display the lines, but it is not an editor, so it cannot be used to fix the problem.
I was not able to determine the AutoCad release number for this file because it does not have an entry for the variable $ACADVER. However, from the syntax of the line data, it appears that it is earlier than Release 13, and this input routine supports only Release 13 and newer.
I would recommend opening this in an AutoCAD editor and saving it as Release 13, and then load it into Inkscape.