SebKuzminsky / pycam

Other
342 stars 101 forks source link

TypeError #99

Closed valeriob01 closed 6 years ago

valeriob01 commented 6 years ago

Storing workspace in file: /home/sel/Downloads/newpycam/pycam/Aluminum1.yml Traceback (most recent call last): File "/home/sel/Downloads/newpycam/pycam/pycam/Gui/Project.py", line 318, in ("SaveAsWorkspace", lambda widget: self.save_workspace_dialog())): File "/home/sel/Downloads/newpycam/pycam/pycam/Gui/init.py", line 271, in save_workspace_dialog filename_templates=(self.last_workspace_uri, self.last_model_uri)) File "/home/sel/Downloads/newpycam/pycam/pycam/Plugins/FilenameDialog.py", line 136, in get_filename_dialog dialog.set_current_name(os.path.basename(default_filename).encode("utf-8")) TypeError: Must be string, not bytes Traceback (most recent call last): File "/home/sel/Downloads/newpycam/pycam/pycam/Gui/Project.py", line 318, in ("SaveAsWorkspace", lambda widget: self.save_workspace_dialog())): File "/home/sel/Downloads/newpycam/pycam/pycam/Gui/init.py", line 271, in save_workspace_dialog filename_templates=(self.last_workspace_uri, self.last_model_uri)) File "/home/sel/Downloads/newpycam/pycam/pycam/Plugins/FilenameDialog.py", line 136, in get_filename_dialog dialog.set_current_name(os.path.basename(default_filename).encode("utf-8")) TypeError: Must be string, not bytes

sumpfralle commented 6 years ago

Thanks!

Please check if this works now.

valeriob01 commented 6 years ago

Saving/loading workspace seem to work