Bug#895862: dxf2gcode: Crashes "UnboundLocalError: local variable 'entities' referenced before assignment"

2018-04-17 Thread Sebastian Kuzminsky
Thanks for the bug report, and especially for the DXF file to reproduce it. The DXF has no "entities" section, which is what caused the crash. I've forwarded the bug report and the dxf to upstream, along with a patch that I believe fixes the problem. I'll release a bugfix version of the

Bug#895862: dxf2gcode: Crashes "UnboundLocalError: local variable 'entities' referenced before assignment"

2018-04-16 Thread Paul "LeoNerd" Evans
Package: dxf2gcode Version: 20170925-3 Severity: normal Attempting to load a .dxf file, the entire program crashes out with: Loading file: /home/leo/electronics/eload/panels/top.dxf Reading DXF Structure Traceback (most recent call last): File "/usr/bin/dxf2gcode", line 727, in open