kliment/Printrun — Issue #140: Loading a Slic3r generated GCode file causes error
Author: geoffd123
Created: 2011-12-22 13:07:12+00:00
State: open

When every I load a gocde file that has been generated by Slic3r(0.5.5b / 0.5.6) I get the following exception and nothing is displayed in the preview window.

I can send the code to the printer and it prints OK.

Exception in thread Thread-23:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 522, in __bootstrap_inner
self.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 477, in run
self.__target(*self.__args, **self.__kwargs)
File "./r", line 1307, in loadviz
print _("Estimated duration (pessimistic): "), pronsole.estimate_duration(self.f)
File "/Users/geoffd/projects/mechanical/printrun/pronsole.py", line 129, in estimate_duration
f = get_coordinate_value("F", parts[1:])
File "/Users/geoffd/projects/mechanical/printrun/pronsole.py", line 88, in get_coordinate_value
return float(i[1:])
ValueError: invalid literal for float(): 900	;