Hi,
downloaded DXF2GCode today, dabbled a little bit with it, and it broke for me
for the attached file, with the exception trace below.
Version: PyQt4 Beta ($Date:: 2014-02-11 12:27:10#$)
beer:source deets$ python2.7 dxf2gcode.py
(PyQt4.QtCore.QString(u'dxf2gcode_C'), './i18n')
PostPro.PostProcessorConfig load_config 187: - read existing varspace
'/Users/deets/Downloads/DXF2GCODE/source/postpro_config/postpro_config.cfg'
root <module> 1001: - Started with following options
{'quiet': None, 'export_filename': None, 'filename': None}
root showDialog 220: - File: /private/tmp/foobar.dxf
selected
root loadFile 663: - Loading file:
/private/tmp/foobar.dxf
DxfImport.Import __init__ 70 : - Reading DXF Structure
Traceback (most recent call last):
File "dxf2gcode.py", line 227, in showDialog
self.loadFile(self.filename)
File "dxf2gcode.py", line 666, in loadFile
values = ReadDXF(filename)
File "/Users/deets/Downloads/DXF2GCODE/source/DxfImport/Import.py", line 76, in __init__
self.entities = self.Read_Entities(sections_pos)
File "/Users/deets/Downloads/DXF2GCODE/source/DxfImport/Import.py", line 318, in Read_Entities
sections[section_nr - 1].end - 1)
File "/Users/deets/Downloads/DXF2GCODE/source/DxfImport/Import.py", line 333, in Get_Geo
entitie_geo = self.get_geo_entitie(len(geos), name)
File "/Users/deets/Downloads/DXF2GCODE/source/DxfImport/Import.py", line 386, in get_geo_entitie
geo = GeoentLine(geo_nr, self)
File "/Users/deets/Downloads/DXF2GCODE/source/DxfImport/GeoentLine.py", line 43, in __init__
self.Read(caller)
File "/Users/deets/Downloads/DXF2GCODE/source/DxfImport/GeoentLine.py", line 103, in Read
x1 = float(lp.line_pair[s].value)
TypeError: list indices must be integers, not NoneType
Traceback (most recent call last):
File "/Users/deets/Downloads/DXF2GCODE/source/Gui/myCanvasClass.py", line 120, in mouseReleaseEvent
for item in scene.selectedItems():
AttributeError: 'NoneType' object has no attribute 'selectedItems'
Original issue reported on code.google.com by diez.rog...@googlemail.com on 20 Apr 2014 at 8:39
Original issue reported on code.google.com by
diez.rog...@googlemail.com
on 20 Apr 2014 at 8:39Attachments: