Path workbench not working
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
-
- Posts: 13
- Joined: Tue May 15, 2018 2:01 pm
Path workbench not working
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)
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)
Re: Path workbench not working
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.
-
- Posts: 13
- Joined: Tue May 15, 2018 2:01 pm
Re: Path workbench not working
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)"
- 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)"
-
- Posts: 13
- Joined: Tue May 15, 2018 2:01 pm
Re: Path workbench not working
Some screenshots.
- Attachments
-
- 2018-05-22 10_18_26-FreeCAD.png (99.53 KiB) Viewed 2500 times
-
- 2018-05-22 10_18_11-FreeCAD.png (92.78 KiB) Viewed 2500 times
-
- 2018-05-22 10_17_58-FreeCAD.png (76.29 KiB) Viewed 2500 times
-
- 2018-05-22 10_17_34-FreeCAD.png (55.7 KiB) Viewed 2500 times
-
- Posts: 13
- Joined: Tue May 15, 2018 2:01 pm
Re: Path workbench not working
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)
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)
Re: Path workbench not working
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.
-
- Posts: 13
- Joined: Tue May 15, 2018 2:01 pm
Re: Path workbench not working
Problem solved. Thank you for your kind support.
-
- Posts: 13
- Joined: Tue May 15, 2018 2:01 pm
Re: Path workbench not working
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 (139.41 KiB) Viewed 2450 times
Re: Path workbench not working
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.
-
- Posts: 13
- Joined: Tue May 15, 2018 2:01 pm
Re: Path workbench not working
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.