View Issue Details

IDProjectCategoryView StatusLast Update
0003806PathBugpublic2019-02-04 17:30
Reportermlampert Assigned Tomlampert  
Status closedResolutionfixed 
Target Version0.18 
Summary0003806: post processors not py3 compatible
DescriptionTrying to export the g-code of a job with FC using py3 results in the following error:
done postprocessing.
Running the Python command 'Path_Post' failed:
Traceback (most recent call last):
  File "/home/markus/projects/FreeCAD/mlampert/build/Mod/Path/PathScripts/", line 260, in Activated
    (fail, rc) = self.exportObjectsWith(postlist, job)
  File "/home/markus/projects/FreeCAD/mlampert/build/Mod/Path/PathScripts/", line 192, in exportObjectsWith
    gcode = processor.export(objs, filename, postArgs)
  File "/home/markus/projects/FreeCAD/mlampert/build/Mod/Path/PathScripts/", line 103, in export
    return self.script.export(obj, filename, args)
  File "/home/markus/projects/FreeCAD/mlampert/build/Mod/Path/PathScripts//post/", line 235, in export

a bytes-like object is required, not 'str'
Steps To ReproduceCreate a Job with some operation(s) - export using any post processor.
Additional Information
TagsNo tags attached.
FreeCAD Information


Issue History

Date Modified Username Field Change
2019-01-27 21:48 mlampert New Issue
2019-01-27 21:48 mlampert Status new => assigned
2019-01-27 21:48 mlampert Assigned To => mlampert
2019-01-29 18:58 mlampert Note Added: 0012561
2019-02-04 17:30 mlampert Status assigned => closed
2019-02-04 17:30 mlampert Resolution open => fixed