Addon Manager Redesign 2021

Info about new community or project announcements, implemented features, classes, modules or APIs. Might get technical!
PLEASE DO NOT POST HELP REQUESTS OR OTHER DISCUSSIONS HERE!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
Shalmeneser
Veteran
Posts: 9474
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Addon Manager Redesign 2021

Post by Shalmeneser »

@chennes : The same problem :(
Attachments
Capture d’écran 2022-07-27 190435.jpg
Capture d’écran 2022-07-27 190435.jpg (116.88 KiB) Viewed 1833 times
Capture d’écran 2022-07-27 190504.jpg
Capture d’écran 2022-07-27 190504.jpg (26.44 KiB) Viewed 1833 times
Capture d’écran 2022-07-27 190523.jpg
Capture d’écran 2022-07-27 190523.jpg (45.73 KiB) Viewed 1833 times
User avatar
Shalmeneser
Veteran
Posts: 9474
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Addon Manager Redesign 2021

Post by Shalmeneser »

My installed workbenches don't appear neither in the global list.
Attachments
Capture d’écran 2022-07-27 190839.jpg
Capture d’écran 2022-07-27 190839.jpg (77.47 KiB) Viewed 1827 times
User avatar
Shalmeneser
Veteran
Posts: 9474
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Addon Manager Redesign 2021

Post by Shalmeneser »

But everything is OK now after suppressing Freecad.gears wb.
(I have reinstalled it and no more problem.)

Weird problem.
Thank you for your time.
User avatar
chennes
Veteran
Posts: 3876
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Addon Manager Redesign 2021

Post by chennes »

Thanks for investigating -- freecad.gears has had some issues recently, I'm not sure what's going on. Last I checked it still didn't have a matching branch name, and its commit history seemed to have gotten edited.
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
User avatar
Shalmeneser
Veteran
Posts: 9474
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Addon Manager Redesign 2021

Post by Shalmeneser »

I don't know if it is THIS wb (but it was my last used wb).
User avatar
chennes
Veteran
Posts: 3876
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Addon Manager Redesign 2021

Post by chennes »

From users' perspective I hope this latest change is basically invisible: but I've just removed the requirement for GitPython from the AM, so now all you need is git itself. I've also made it easier to disable the use of git, by adding a UI element in the preference to turn it off. I hope that this change provides greater stability to updates: the code should now provide fewer errors to end users, and just push through any git-related problems. I tested it on the systems I have access to, but of course I am looking forward to your comments if things don't work as expected :D .
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
mario52
Veteran
Posts: 4673
Joined: Wed May 16, 2012 2:13 pm

Re: Addon Manager Redesign 2021

Post by mario52 »

Hi

i have this errors and only 1 macro

11:17:18 Traceback (most recent call last):
11:17:18 File "C:\FreeCAD_weekly-builds-30143-2022-08-21-conda-Windows-x86_64-py310\Mod\AddonManager\addonmanager_workers_startup.py", line 100, in run
11:17:18 self._retrieve_macros_from_git()
11:17:18 File "C:\FreeCAD_weekly-builds-30143-2022-08-21-conda-Windows-x86_64-py310\Mod\AddonManager\addonmanager_workers_startup.py", line 276, in _retrieve_macros_from_git
11:17:18 self.status_message_signal.emit(message)
11:17:18 AttributeError: 'CreateAddonListWorker' object has no attribute 'status_message_signal'
11:19:03 Traceback (most recent call last):
11:19:03 File "C:\FreeCAD_weekly-builds-30143-2022-08-21-conda-Windows-x86_64-py310\Mod\AddonManager\addonmanager_workers_startup.py", line 100, in run
11:19:03 self._retrieve_macros_from_git()
11:19:03 File "C:\FreeCAD_weekly-builds-30143-2022-08-21-conda-Windows-x86_64-py310\Mod\AddonManager\addonmanager_workers_startup.py", line 276, in _retrieve_macros_from_git
11:19:03 self.status_message_signal.emit(message)
11:19:03 AttributeError: 'CreateAddonListWorker' object has no attribute 'status_message_signal'


AddonManagerOneMacroOnly00.png
AddonManagerOneMacroOnly00.png (10.75 KiB) Viewed 1409 times

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.30143 (Git)
Build type: Release
Branch: master
Hash: a72bf218f9917df37e811d7e73a36333282028f5
Python 3.8.13, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.2

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.30143 (Git)
Build type: Release
Branch: master
Hash: a72bf218f9917df37e811d7e73a36333282028f5
Python 3.10.5, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.2
mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
User avatar
chennes
Veteran
Posts: 3876
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Addon Manager Redesign 2021

Post by chennes »

That build is from before the commit series that added this feature -- which also fixes that bug :) . So you'll have to wait for the next build if you want to use Conda.
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
mario52
Veteran
Posts: 4673
Joined: Wed May 16, 2012 2:13 pm

Re: Addon Manager Redesign 2021

Post by mario52 »

Hi

merci

mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
User avatar
onekk
Veteran
Posts: 6144
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: Addon Manager Redesign 2021

Post by onekk »

chennes wrote: Mon Aug 22, 2022 1:47 pm ...

Just installed the new conda installa, and I have this error:

Code: Select all

Addon Developer Warning: Repository branch set in package.xml file for addon freecad.gears workbench (develop) does not match the branch it was fetched from (master)
Traceback (most recent call last):
  File "/home/carlo-arch/miniconda3/envs/fcenv-dev/Mod/AddonManager/addonmanager_workers_startup.py", line 100, in run
    self._retrieve_macros_from_git()
  File "/home/carlo-arch/miniconda3/envs/fcenv-dev/Mod/AddonManager/addonmanager_workers_startup.py", line 276, in _retrieve_macros_from_git
    self.status_message_signal.emit(message)
AttributeError: 'CreateAddonListWorker' object has no attribute 'status_message_signal'
I have the "no proxy" options for the proxy.

Code: Select all

OS: Artix Linux (openbox)
Word size of FreeCAD: 64-bit
Version: 0.21.30143 (Git)
Build type: Release
Branch: master
Hash: a72bf218f9917df37e811d7e73a36333282028f5
Python 3.10.5, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.2
Locale: Italian/Italy (it_IT)
Installed mods: 
  * test_wb
  * fcgear 1.0.0
  * Curves 0.4.1
  * Help 1.0.3
Let me know if you want other info about my configuration,

conda install is a fresh install done with:

Code: Select all

mamba create --name fcenv-dev --channel freecad/label/dev freecad
As someone, probaly @looo has told me (some times ago) that is better to use mamba.

Regards

Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.

Blog: https://okkmkblog.wordpress.com/
Post Reply