mecamira / dxf2gcode

Automatically exported from code.google.com/p/dxf2gcode
0 stars 0 forks source link

Saving on Linux does not work #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Opening a *.dxf file
2. Exporting or Optimizing and Exporting file.
3.

What is the expected output? What do you see instead?
I expect a name.ngc file in the directory chosen.
However, nothing happens.

What version of the product are you using? On what operating system?
Ubunut & Suse; DXF2GCODE beta (2013-08-24)

Please provide any additional information below.

The Traceback is:
  File "./dxf2gcode.py", line 374, in optimizeAndExportShapes
    self.exportShapes()
  File "./dxf2gcode.py", line 354, in exportShapes
    pp_file_nr = self.MyPostProcessor.output_format.index(fileExtension)
ValueError: list.index(x): x not in list

Besides the file not being saved, the save dialogue does not recognize any 
existing files in the 
folder, be it *.ngc, *.py (with the filter set to blank), ... .
Only folders are displayed.

Original issue reported on code.google.com by JLee.BAl...@gmail.com on 14 Sep 2013 at 8:26

GoogleCodeExporter commented 9 years ago
Yup this was an error with linux and dxf2gcode (8-24) - Linux users had to 
state .ngx(i.e. the file extension stated in the config file).

This error is already fixed (but not yet available in the featured download 
list). Get yourself the latest dxf2gcode.py file from the svn (homepage: 
source->svn->trunk->source).

Original comment by jp1...@gmail.com on 14 Sep 2013 at 11:32

GoogleCodeExporter commented 9 years ago
To prevent others will get the same error, I have uploaded the latest version 
(2013-09-15).

Original comment by jp1...@gmail.com on 15 Sep 2013 at 1:07