KeyError on importing dxf with unicode layer names
Bug #1472429 reported by
Peter Dat
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Undecided
|
Alvin Penner |
Bug Description
This is the exception:
Traceback (most recent call last):
File "dxf_input.py", line 477, in <module>
layer = layer_nodes[
KeyError: u'\u9884\
This is the importer:
(35794) % md5sum /usr/share/
3f2618d8bbefb24
from:
inkscape 0.91-9
Here's the python version:
(35799) % python2 --version
Python 2.7.10
Last, this is a snippet from the dxf
...
AcDbLayerTableR
2
\U+9884\
70
0
62
7
6
...
renaming the layer to an ascii string in editor heals the problem.
Related branches
Changed in inkscape: | |
status: | Invalid → New |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Please attach a small test case (DXF file) to ease testing on other systems, thank you.