Description | Trying to export the g-code of a job with FC using py3 results in the following error:
postprocessing...
done postprocessing.
Running the Python command 'Path_Post' failed:
Traceback (most recent call last):
File "/home/markus/projects/FreeCAD/mlampert/build/Mod/Path/PathScripts/PathPost.py", line 260, in Activated
(fail, rc) = self.exportObjectsWith(postlist, job)
File "/home/markus/projects/FreeCAD/mlampert/build/Mod/Path/PathScripts/PathPost.py", line 192, in exportObjectsWith
gcode = processor.export(objs, filename, postArgs)
File "/home/markus/projects/FreeCAD/mlampert/build/Mod/Path/PathScripts/PathPostProcessor.py", line 103, in export
return self.script.export(obj, filename, args)
File "/home/markus/projects/FreeCAD/mlampert/build/Mod/Path/PathScripts//post/linuxcnc_post.py", line 235, in export
gfile.write(final)
a bytes-like object is required, not 'str'
|
---|