Can't install macros from Addon manager

Need help, or want to share a macro? Post here!
schupin
Posts: 304
Joined: Sun Jan 21, 2018 1:43 pm

Can't install macros from Addon manager

Postby schupin » Mon Nov 12, 2018 4:52 pm

Hi,

I'm trying to install some macros from the addon manager and I'm getting an error message while I'm clicking on some macros (screw mker1 2 for example, but some others too).

Code: Select all

Unable to fetch the code of this macro.Traceback (most recent call last):
  File "/Applications/FreeCAD.app/Contents/Mod/AddonManager/AddonManager.py", line 868, in run
    self.macro.fill_details_from_wiki(url)
  File "/Applications/FreeCAD.app/Contents/Mod/AddonManager/AddonManager.py", line 686, in fill_details_from_wiki
    FreeCAD.Console.PrintWarning(translate("AddonsInstaller", "Unable to clean macro code: ") + code + '\n')
TypeError: coercing to Unicode: need string or buffer, list found
I'm working on macOs :
OS: macOS High Sierra (10.13)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.5235 (Git shallow)
Build type: Release
Branch: (HEAD detached at 2a6655e)
Hash: 2a6655e1768d80e0098d410989ae02c622f2e698
Python version: 2.7.15
Qt version: 5.11.1
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: French/France (fr_FR)
mario52
Posts: 2681
Joined: Wed May 16, 2012 2:13 pm

Re: Can't install macros from Addon manager

Postby mario52 » Mon Nov 12, 2018 5:48 pm

hi

try now

the code has been moved

mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Dialog creation. My macros on Gist.github.
schupin
Posts: 304
Joined: Sun Jan 21, 2018 1:43 pm

Re: Can't install macros from Addon manager

Postby schupin » Mon Nov 12, 2018 6:03 pm

Yes, it's working !

Thanks for your reactivity :)