Addon Manager - Macros
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Addon Manager - Macros
When I go to "Addon Manager - Macros" I get "Downloading list of macros from the FreeCAD wiki..." and nothing else.
I have found a solution online that suggests changing line 149 of addonmanager_macro.py: to "FreeCAD.Console.PrintWarning(translate("AddonsInstaller", "Unable to clean macro code: ") + str(code) + '\n')".
I found the file in "Program Files/Freecad/Mod/Addonmanager/".
On opening "addonmanager_macro.py" I am unable to find the above line of code!
Is there another way of getting the macro list to appear?
OS: Windows 10 (10.0)
Word size of FreeCAD: 64-bit
Version: 0.20.26155 (Git)
Build type: Release
Branch: master
Hash: 0926a4148bcff11249fd4f56bc30256102ffe105
Python version: 3.8.12
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
Locale: English/New Zealand (en_NZ)
I have found a solution online that suggests changing line 149 of addonmanager_macro.py: to "FreeCAD.Console.PrintWarning(translate("AddonsInstaller", "Unable to clean macro code: ") + str(code) + '\n')".
I found the file in "Program Files/Freecad/Mod/Addonmanager/".
On opening "addonmanager_macro.py" I am unable to find the above line of code!
Is there another way of getting the macro list to appear?
OS: Windows 10 (10.0)
Word size of FreeCAD: 64-bit
Version: 0.20.26155 (Git)
Build type: Release
Branch: master
Hash: 0926a4148bcff11249fd4f56bc30256102ffe105
Python version: 3.8.12
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
Locale: English/New Zealand (en_NZ)
-
- Veteran
- Posts: 5508
- Joined: Thu Apr 05, 2018 1:53 am
Re: Addon Manager - Macros
You're getting the failed to load wiki warning in the report view? I did some debugging and ran across this exception:
error: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1131)>
This happens in Windows, but not inside a VirtualBox VM running Ubuntu.
It also doesn't happen in an old version with python2/qt4 of 0.18. My guess is it's some kind of a packaging error. Did you try both windows builds (conda and libpack)? I only have the conda builds installed right now for 0.19 and 0.20.
error: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1131)>
This happens in Windows, but not inside a VirtualBox VM running Ubuntu.
It also doesn't happen in an old version with python2/qt4 of 0.18. My guess is it's some kind of a packaging error. Did you try both windows builds (conda and libpack)? I only have the conda builds installed right now for 0.19 and 0.20.
Re: Addon Manager - Macros
Thanks TheMarkster, this is the one I used (but the current version):
Which one should I try?
Which one should I try?
- Attachments
-
- Forum 25-10-21.png (108.58 KiB) Viewed 2202 times
-
- Veteran
- Posts: 5508
- Joined: Thu Apr 05, 2018 1:53 am
Re: Addon Manager - Macros
The LP (lib pack) version since you already tried the conda version.
This one is out of date, but I believe the addon manager works with it. You could use only for installing macros as a workaround. I have the same build still installed, but a slightly older version (16093 instead of 16110).
https://github.com/FreeCAD/FreeCAD/rele ... ortable.7z
This one is out of date, but I believe the addon manager works with it. You could use only for installing macros as a workaround. I have the same build still installed, but a slightly older version (16093 instead of 16110).
https://github.com/FreeCAD/FreeCAD/rele ... ortable.7z
Re: Addon Manager - Macros
Downloaded and installed the LP version.
The Addonmanager-Workbenches only showed "3D_Printing_tools" (I have seen that problem in the forum).
The Addonmanager-Macros showed the macros available but they were greyed out, and it got stuck on the loading!
Do other people get my problem with the macros not showing with the latest Freecad version or is it peculiar to my setup?
The Addonmanager-Workbenches only showed "3D_Printing_tools" (I have seen that problem in the forum).
The Addonmanager-Macros showed the macros available but they were greyed out, and it got stuck on the loading!
Do other people get my problem with the macros not showing with the latest Freecad version or is it peculiar to my setup?
-
- Veteran
- Posts: 5508
- Joined: Thu Apr 05, 2018 1:53 am
Re: Addon Manager - Macros
Thanks again. made the suggested changes and it works just fine.
Will this issue be addressed in future releases of Freecad?
Will this issue be addressed in future releases of Freecad?
-
- Veteran
- Posts: 5508
- Joined: Thu Apr 05, 2018 1:53 am
Re: Addon Manager - Macros
Yes, it will be fixed one way or the other, whether its a server-side issue or a packaging issue.
Re: Addon Manager - Macros
Great. And in the meantime we can just modify the code to keep it working.
Re: Addon Manager - Macros
when trying to load Micros in the addon manager, I get the following error message:
"seems to be an issue connecting to Wiki, there for, macros cannot be loaded site:forum.freecadweb.org"
workbench section downloads fine.
any suggestions...
win10
64bit
Ver 1.9.2 (Freecad) second clean install
"seems to be an issue connecting to Wiki, there for, macros cannot be loaded site:forum.freecadweb.org"
workbench section downloads fine.
any suggestions...
win10
64bit
Ver 1.9.2 (Freecad) second clean install