View Issue Details

IDProjectCategoryView StatusLast Update
0001583File formatspublic2014-06-17 22:07
Reporteretojpi Assigned Toyorik  
Status closedResolutionduplicate 
Summary0001583: Import DXF failure
DescriptionThe DXF import library fails to load a certain DXF file. Report view:

Draft workbench activated
DXF libraries not found. Downloading...
downloading ...
downloading ...
downloading ...
downloading ...
opening /home/user/Documents/b2x0_enclosure/B210_PLATE_REV1.2_101113 NER.dxf...
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/freecad/Mod/Draft/", line 1318, in open
  File "/usr/lib/freecad/Mod/Draft/", line 880, in processdxf
    drawing = dxfReader.readDXF(filename)
  File "/home/user/.FreeCAD/", line 375, in readDXF = objectify(
  File "/home/user/.FreeCAD/", line 1312, in objectify
  File "/home/user/.FreeCAD/", line 938, in __init__
    discard, self.layer, discard_index = get_layer(
  File "/home/user/.FreeCAD/", line 1278, in get_layer
    if item[0] == 8:
<type 'exceptions.AttributeError'>: Object instance has no attribute '__getitem__'
Steps To Reproduce1) Go to Draft workbench
2) Open file: "B210_PLATE_REV1.2_101113 NER.dxf"
3) Import fails
Additional InformationDXF file is attached. FreeCAD info:

OS: Ubuntu 14.04 LTS
Platform: 64-bit
Version: 0.14.2935 (Git)
Branch: master
Hash: eab159b6ee675012bf79de838c206a311e911d85
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
SoQt version: 1.6.0a
OCC version: 6.7.0
TagsNo tags attached.
FreeCAD Information


duplicate of 0001584 closedyorik Draft Import DXF failure 



2014-06-17 19:10

reporter   ~0004754

Sorry, didn't meant to open 2 issues. File upload failed on the first one but I didn't realize it created the issue anyway. Please close this issue. See 1584.

Issue History

Date Modified Username Field Change
2014-06-17 19:00 etojpi New Issue
2014-06-17 19:10 etojpi Note Added: 0004754
2014-06-17 22:07 yorik Relationship added duplicate of 0001584
2014-06-17 22:07 yorik Status new => closed
2014-06-17 22:07 yorik Assigned To => yorik
2014-06-17 22:07 yorik Resolution open => duplicate