FreeCAD 0.20 addon manager crashes
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!
FreeCAD 0.20 addon manager crashes
Hello,
updated FreeCAD from 0.19 to 0.20 (rev 29188) some time ago. Addon manager worked perfectly with 0.19 but now with 0.20 it wont work anymore. It chrashes when installing any workbenches. I have elementary OS 6.1 built on Ubuntu 20.04.3 LTS.
I have already re-installed the 0.20 once, didn't help.
Here is the report view when opening addon manager:
---------------------------------------
11:58:40 An error occurred updating macros from GitHub, trying clean checkout...:
Cmd('git') failed due to: exit code(128)
cmdline: git clone -v https://github.com/FreeCAD/FreeCAD-macros.git /home/atte/.var/app/org.freecadweb.FreeCAD/cache/FreeCAD/Cache/AddonManager/Macros
stderr: 'Cloning into '/home/atte/.var/app/org.freecadweb.FreeCAD/cache/FreeCAD/Cache/AddonManager/Macros'...
fatal: unable to access 'https://github.com/FreeCAD/FreeCAD-macros.git/': gnutls_handshake() failed: Illegal parameter
'
11:58:40 /home/atte/.var/app/org.freecadweb.FreeCAD/cache/FreeCAD/Cache/AddonManager/Macros
11:58:40 Attempting to do a clean checkout...
11:58:40 Failed to update macros from GitHub -- try clearing the Addon Manager's cache.:
[Errno 2] No such file or directory: '/home/atte/.var/app/org.freecadweb.FreeCAD/cache/FreeCAD/Cache/AddonManager/Macros'
----------------------------------
Would be great if somebody could help.
updated FreeCAD from 0.19 to 0.20 (rev 29188) some time ago. Addon manager worked perfectly with 0.19 but now with 0.20 it wont work anymore. It chrashes when installing any workbenches. I have elementary OS 6.1 built on Ubuntu 20.04.3 LTS.
I have already re-installed the 0.20 once, didn't help.
Here is the report view when opening addon manager:
---------------------------------------
11:58:40 An error occurred updating macros from GitHub, trying clean checkout...:
Cmd('git') failed due to: exit code(128)
cmdline: git clone -v https://github.com/FreeCAD/FreeCAD-macros.git /home/atte/.var/app/org.freecadweb.FreeCAD/cache/FreeCAD/Cache/AddonManager/Macros
stderr: 'Cloning into '/home/atte/.var/app/org.freecadweb.FreeCAD/cache/FreeCAD/Cache/AddonManager/Macros'...
fatal: unable to access 'https://github.com/FreeCAD/FreeCAD-macros.git/': gnutls_handshake() failed: Illegal parameter
'
11:58:40 /home/atte/.var/app/org.freecadweb.FreeCAD/cache/FreeCAD/Cache/AddonManager/Macros
11:58:40 Attempting to do a clean checkout...
11:58:40 Failed to update macros from GitHub -- try clearing the Addon Manager's cache.:
[Errno 2] No such file or directory: '/home/atte/.var/app/org.freecadweb.FreeCAD/cache/FreeCAD/Cache/AddonManager/Macros'
----------------------------------
Would be great if somebody could help.
- adrianinsaval
- Veteran
- Posts: 5553
- Joined: Thu Apr 05, 2018 5:15 pm
Re: FreeCAD 0.20 addon manager chrashes
very strange, did you try clearing the cache?
Re: FreeCAD 0.20 addon manager chrashes
Is the copy of git installed on your computer able to clone that repository manually on the command line? What you are seeing there is basically an SSL error, I think.
Re: FreeCAD 0.20 addon manager chrashes
Thanks, I did clear the addon manager's cache but didn't help.
Re: FreeCAD 0.20 addon manager chrashes
I can install workbench from command line (I installed A2Plus) but it wont appear in the workbench menu of the FreeCad.
Some more information:
When I try to install some workbench with addon manager, report view gives following two lines and the freecad chrashes:
Cloning repo...
Lock acquired...
- adrianinsaval
- Veteran
- Posts: 5553
- Joined: Thu Apr 05, 2018 5:15 pm
Re: FreeCAD 0.20 addon manager chrashes
note that since you are using flatpak the version of git that is called by FreeCAD is probably not your system installation so it is not the same as running directly in a terminal. I suggest running this command in terminal:
This will open a bash prompt from within the flatpak sandbox, from there try running:
Code: Select all
flatpak run --command=bash org.freecadweb.FreeCAD
Code: Select all
git clone -v https://github.com/FreeCAD/FreeCAD-macros.git /home/atte/.var/app/org.freecadweb.FreeCAD/cache/FreeCAD/Cache/AddonManager/Macros
Re: FreeCAD 0.20 addon manager chrashes
Thanks, but this ends to:adrianinsaval wrote: ↑Fri Aug 05, 2022 2:21 pm note that since you are using flatpak the version of git that is called by FreeCAD is probably not your system installation so it is not the same as running directly in a terminal. I suggest running this command in terminal:This will open a bash prompt from within the flatpak sandbox, from there try running:Code: Select all
flatpak run --command=bash org.freecadweb.FreeCAD
Code: Select all
git clone -v https://github.com/FreeCAD/FreeCAD-macros.git /home/atte/.var/app/org.freecadweb.FreeCAD/cache/FreeCAD/Cache/AddonManager/Macros
$ flatpak run --command=bash org.freecadweb.FreeCAD
$ git clone -v https://github.com/FreeCAD/FreeCAD-macros.git /home/atte/.var/app/org.freecadweb.FreeCAD/cache/FreeCAD/Cache/AddonManager/Macros
Cloning into '/home/atte/.var/app/org.freecadweb.FreeCAD/cache/FreeCAD/Cache/AddonManager/Macros'...
fatal: unable to access 'https://github.com/FreeCAD/FreeCAD-macros.git/': gnutls_handshake() failed: Illegal parameter
- adrianinsaval
- Veteran
- Posts: 5553
- Joined: Thu Apr 05, 2018 5:15 pm
Re: FreeCAD 0.20 addon manager chrashes
So in the flatpak git itself is not able to clone the repository, I have no clue why this is happening to you, on my system I have no issues running the flatpak. Could there be something missconfigured with your network?
Re: FreeCAD 0.20 addon manager chrashes
Need to investigate that. Or maybe I just make a fresh FreeCad install from command line and forget the flatpak. Chennes talked about possible SSL error earlier..I don't know where such a missconfiguration could be. Everything else work perfectly. Many thanks for your time anyway!adrianinsaval wrote: ↑Mon Aug 08, 2022 1:39 pm So in the flatpak git itself is not able to clone the repository, I have no clue why this is happening to you, on my system I have no issues running the flatpak. Could there be something missconfigured with your network?
Re: FreeCAD 0.20 addon manager chrashes
I don't know what all is in that Flatpak, and don't know much about how they work, but can you try using some other piece of software to do an https download? Just "wget https://forum.freecadweb.org" or something?