Now I will get to work on fixing the other issues that are mentioned further up, but I think those are separate solutions.chrisb wrote: ↑Mon Feb 03, 2020 10:35 pm I finally found the culprit: If I change line 43 in addonmanager_utilities.py fromtoCode: Select all
ssl_ctx = ssl.create_default_context(ssl.Purpose.SERVER_AUTH)
AddonManager shows the list of workbenches again.Code: Select all
ssl_ctx = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH)
I don't understand the implications, so I don't know what to do. Should I create a pull request?
[?BUG] Addon Manager hangs in 0.19 on MacOS and possibly related issues.
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
Re: [?BUG] Addon Manager hangs in 0.19 on MacOS and possibly related issues.
Thanks to everyone who helped here. Sorry for the slow response. I can confirm that altering the single line as below makes the addon manager work again.
Re: [?BUG] Addon Manager hangs in 0.19 on MacOS and possibly related issues.
Please download and try the latest macOS binary. This issue likely got fixed already:
https://github.com/FreeCAD/FreeCAD-AppImage/pull/34
https://github.com/FreeCAD/FreeCAD-AppImage/pull/34
Re: [?BUG] Addon Manager hangs in 0.19 on MacOS and possibly related issues.
That did the trick. I downloaded the app image for build 19443 and can confirm that the workbenches appear in the add-on manager. I also note that a number of additional macros appear as well.
Re: [?BUG] Addon Manager hangs in 0.19 on MacOS and possibly related issues.
Works for me on
OS: macOS Mojave (10.14)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19443 (Git)
Build type: Release
Branch: master
Hash: 74680b8a15ad37e53eee0d341e95cd32631d88a3
Python version: 3.8.1
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: C/Default (C)
OS: macOS Mojave (10.14)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19443 (Git)
Build type: Release
Branch: master
Hash: 74680b8a15ad37e53eee0d341e95cd32631d88a3
Python version: 3.8.1
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: C/Default (C)
Find your user.cfg and system.cfg files : Macro_findConfigFiles
Imperial system makes no sense, go metric ! ! !
Imperial system makes no sense, go metric ! ! !
Re: [?BUG] Addon Manager hangs in 0.19 on MacOS and possibly related issues.
An update on this issue. Yesterday, I had an instance where I noticed that the add-on tool manager acted like it did before the recent fix. For a minute I thought maybe I was running another version of FreeCAD so I checked the version and it was correct (19443).
I quit the app and restarted and it started working again.
I quit the app and restarted and it started working again.
Re: [?BUG] Addon Manager hangs in 0.19 on MacOS and possibly related issues.
Likely something else, for example network issues.
Re: [?BUG] Addon Manager hangs in 0.19 on MacOS and possibly related issues.
I figured out how to reproduce the problem. It occurs when FreeCAD crashes. When FreeCAD crashes and you click "reopen" after the crash, it re-opens FreeCAD but I noticed a couple things. The title of the app in the menu bar is "freecad" instead of "FreeCAD-0.19-19443" which is the normal app title for the build I am using. When I do an "About FreeCAD" it shows the build is 19443.
When it is in this mode, the addon manager acts like it did before. That is, no workbenches appear in the left hand pane of the addon manager window when "workbenches" is selected.
When it is in this mode, the addon manager acts like it did before. That is, no workbenches appear in the left hand pane of the addon manager window when "workbenches" is selected.
Re: [?BUG] Addon Manager hangs in 0.19 on MacOS and possibly related issues.
Thanks for the info, but i guess best to determine, on why FreeCAD crashes in the first place. Are you doing anything specific at that time?
Re: [?BUG] Addon Manager hangs in 0.19 on MacOS and possibly related issues.
I am trying to recall what exactly I was doing in this particular case. I know I could always make it crash by editing the LCS. I posted this problem separately and it sounds like it is a known issue. A recent version (19541) doesn't crash when you do that now so I think this bug has been fixed. Though, when you add an LCS now, it simply creates it and then you have to select it and edit it.
I've had it crash other times. Seems to be quite frequent. Worst things at the moment are the corruption of the expression constraints when you do an undo when editing a sketch and I ran into an issue where I cannot cut a body from another body for some reason. I created separate threads for these.
If I can make the crash repeatable, I'll post something.
I've had it crash other times. Seems to be quite frequent. Worst things at the moment are the corruption of the expression constraints when you do an undo when editing a sketch and I ran into an issue where I cannot cut a body from another body for some reason. I created separate threads for these.
If I can make the crash repeatable, I'll post something.
Re: [?BUG] Addon Manager hangs in 0.19 on MacOS and possibly related issues.
Realthunder has submitted a pull request concerning expressions today. It wasn't about the undo, but you may wait with your tests until the PR occurs in the distribution.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.