Macro doesn't install via add-on manager due to missing images

Need help, or want to share a macro? Post here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
j-dowsett
Posts: 210
Joined: Wed Sep 07, 2011 9:37 am

Macro doesn't install via add-on manager due to missing images

Post by j-dowsett »

Hi
A long time ago I wrote this macro code - https://wiki.freecad.org/Macro_View_Rotation - and made it available before the add-on manager was implemented (I assume so anyway).

As far as I know the code still works (I manually installed it on 0.19.3), but I'm unable to install it via the add-on manager because the images are not available via whatever mechanism the add-on manager uses to install macros:

error.png
error.png (10.54 KiB) Viewed 1063 times

The images are in a zip linked in the macro page linked above, ie here - http://forum.freecadweb.org/download/file.php?id=453

Is someone able to explain how to make the images available to the add-on manager so that the macro can be installed via there?

Thanks
Joseph
User avatar
chennes
Veteran
Posts: 3914
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Macro doesn't install via add-on manager due to missing images

Post by chennes »

Looks like a bug in the Addon Manager -- those image files are where they should be. I can take a look at this in a few days. Sorry!
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
j-dowsett
Posts: 210
Joined: Wed Sep 07, 2011 9:37 am

Re: Macro doesn't install via add-on manager due to missing images

Post by j-dowsett »

Super, thanks!
User avatar
chennes
Veteran
Posts: 3914
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Macro doesn't install via add-on manager due to missing images

Post by chennes »

OK, I fixed this in git commit 119a402c667010360f8d39d2302c37755eafe001 (and added the fix to the 0.20.1 release branch, so it will be part of our next release as well).
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
j-dowsett
Posts: 210
Joined: Wed Sep 07, 2011 9:37 am

Re: Macro doesn't install via add-on manager due to missing images

Post by j-dowsett »

That's great, thank you!
j-dowsett
Posts: 210
Joined: Wed Sep 07, 2011 9:37 am

Re: Macro doesn't install via add-on manager due to missing images

Post by j-dowsett »

Thanks for that, I see it's in the latest point release.
Looks like there are a few python warnings I should resolve now!
Post Reply