Path workbench not working

Here's the place for discussion related to CAM/CNC and the development of the Path module.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
jeneilaszlo04
Posts: 13
Joined: Tue May 15, 2018 2:01 pm

Path workbench not working

Post by jeneilaszlo04 »

What could be the solution for this error?

Running the Python command 'Path_Job' failed:
Traceback (most recent call last):
File "C:\Program Files (x86)\FreeCAD 0.17\Mod\Path\PathScripts\PathJobCmd.py", line 117, in Activated
dialog = DlgJobCreate()
File "C:\Program Files (x86)\FreeCAD 0.17\Mod\Path\PathScripts\PathJobCmd.py", line 59, in __init__
for path in PathPreferences.searchPaths():
File "C:\Program Files (x86)\FreeCAD 0.17\Mod\Path\PathScripts\PathPreferences.py", line 123, in searchPaths
paths.append(cls.macroFilePath())
File "C:\Program Files (x86)\FreeCAD 0.17\Mod\Path\PathScripts\PathPreferences.py", line 115, in macroFilePath
return grp.GetString("MacroPath", FreeCAD.getUserMacroDir())

'ascii' codec can't encode character u'\xe1' in position 10: ordinal not in range(128)
chrisb
Veteran
Posts: 54293
Joined: Tue Mar 17, 2015 9:14 am

Re: Path workbench not working

Post by chrisb »

jeneilaszlo04 wrote: Tue May 15, 2018 2:03 pm What could be the solution for this error?
Would you mind telling us a bit more after reading the IMPORTANT message linked above?
- FreeCAD info
- what did you do exactly
- active workbench
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
jeneilaszlo04
Posts: 13
Joined: Tue May 15, 2018 2:01 pm

Re: Path workbench not working

Post by jeneilaszlo04 »

Hi.

- I am using Version 0.17.
- All preferences are default
- In Path preferences default path to look for templates, post processors, tool tables and other external files is empty which refers to default general macro path and this macro folder is empty. Probably this must be defined to correct location (need some help here).
- Active worknench: Path
- In path workbench only "New Job" fuction is available and all others are grey.
- Trying to create a new Job and the following message appeares:
"Running the Python command 'Path_Job' failed:
Traceback (most recent call last):
File "C:\Program Files (x86)\FreeCAD 0.17\Mod\Path\PathScripts\PathJobCmd.py", line 117, in Activated
dialog = DlgJobCreate()
File "C:\Program Files (x86)\FreeCAD 0.17\Mod\Path\PathScripts\PathJobCmd.py", line 59, in __init__
for path in PathPreferences.searchPaths():
File "C:\Program Files (x86)\FreeCAD 0.17\Mod\Path\PathScripts\PathPreferences.py", line 123, in searchPaths
paths.append(cls.macroFilePath())
File "C:\Program Files (x86)\FreeCAD 0.17\Mod\Path\PathScripts\PathPreferences.py", line 115, in macroFilePath
return grp.GetString("MacroPath", FreeCAD.getUserMacroDir())

'ascii' codec can't encode character u'\xe1' in position 10: ordinal not in range(128)"
jeneilaszlo04
Posts: 13
Joined: Tue May 15, 2018 2:01 pm

Re: Path workbench not working

Post by jeneilaszlo04 »

Some screenshots.
Attachments
2018-05-22 10_18_26-FreeCAD.png
2018-05-22 10_18_26-FreeCAD.png (99.53 KiB) Viewed 2500 times
2018-05-22 10_18_11-FreeCAD.png
2018-05-22 10_18_11-FreeCAD.png (92.78 KiB) Viewed 2500 times
2018-05-22 10_17_58-FreeCAD.png
2018-05-22 10_17_58-FreeCAD.png (76.29 KiB) Viewed 2500 times
2018-05-22 10_17_34-FreeCAD.png
2018-05-22 10_17_34-FreeCAD.png (55.7 KiB) Viewed 2500 times
jeneilaszlo04
Posts: 13
Joined: Tue May 15, 2018 2:01 pm

Re: Path workbench not working

Post by jeneilaszlo04 »

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 32-bit
Version: 0.17.13522 (Git)
Build type: Release
Branch: releases/FreeCAD-0-17
Hash: 3bb5ff4e70c0c526f2d9dd69b1004155b2f527f2
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: Hungarian/Hungary (hu_HU)
chrisb
Veteran
Posts: 54293
Joined: Tue Mar 17, 2015 9:14 am

Re: Path workbench not working

Post by chrisb »

The error message looks as if you have some fancy character - probably hungarian - in your macro path. Try with a path which only uses ascii charcters.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
jeneilaszlo04
Posts: 13
Joined: Tue May 15, 2018 2:01 pm

Re: Path workbench not working

Post by jeneilaszlo04 »

Problem solved. :) Thank you for your kind support.
jeneilaszlo04
Posts: 13
Joined: Tue May 15, 2018 2:01 pm

Re: Path workbench not working

Post by jeneilaszlo04 »

Some path actions functioning well like: creatring a job, MillFace, Contour, but Pocket_Shape gives me an error message as shown on the screenshot. What could be the problem?
Attachments
2018-05-23 10_10_25-FreeCAD.png
2018-05-23 10_10_25-FreeCAD.png (139.41 KiB) Viewed 2450 times
chrisb
Veteran
Posts: 54293
Joined: Tue Mar 17, 2015 9:14 am

Re: Path workbench not working

Post by chrisb »

jeneilaszlo04 wrote: Wed May 23, 2018 8:15 am What could be the problem?
Did you follow the Path Walkthrough for the Impatient? It uses pocket from shape.

Besides that: if you want more, give us more.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
jeneilaszlo04
Posts: 13
Joined: Tue May 15, 2018 2:01 pm

Re: Path workbench not working

Post by jeneilaszlo04 »

I followed the Path Walkthrough for the Impatient and it is still not working. Sorry for my poor knowlegde on FreeCAD basics. Let me ask you to kindly provide me some general requests and questions to answer regarding troubleshooting so you could have a better understanding of my problem.
Post Reply