When I try to run addon manager (Tools/Addon manager) I've got this error in report view:
Running the Python command 'Std_AddonMgr' failed:
Traceback (most recent call last):
File "C:\Program Files\FreeCAD 0.17\Mod\AddonManager\AddonManagerGui.py", line 10, in Activated
import AddonManager
File "C:\Program Files\FreeCAD 0.17\Mod\AddonManager\AddonManager.py", line 48, in <module>
ctx = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH)
'module' object has no attribute 'create_default_context'
Help/About FreeCAD :
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.11243 (Git)
Build type: Release
Branch: master
Hash: 6e0f060e96ee54eef1355f221abf0156de45b2da
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
0.17_pre - Addon Manager failed
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: 0.17_pre - Addon Manager failed
confirmed on:
OS: Ubuntu 14.04.5 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.11241 (Git)
Build type: None
Branch: master
Hash: 3c96803d12006411f4563d149fa4f81a1a5993ac
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.1.0
AppImage running on Native kubuntu 14.04
Code: Select all
Running the Python command 'Std_AddonMgr' failed:
Traceback (most recent call last):
File "/tmp/.mount_Ivcgh3/usr/lib/freecad-daily/Mod/AddonManager/AddonManagerGui.py", line 10, in Activated
import AddonManager
File "/tmp/.mount_Ivcgh3/usr/lib/freecad-daily/Mod/AddonManager/AddonManager.py", line 48, in <module>
ctx = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH)
'module' object has no attribute 'create_default_context'
"fight the good fight"
Re: 0.17_pre - Addon Manager failed
I think I found the guilty: git commit b604b27
yorik wrote:ping
Re: 0.17_pre - Addon Manager failed
hmm word censored.. this commit was normally there to solve other problems met by some other people.
I'll add a check for that create_default_context and if not available, fall back to the version before this fix.
I'll add a check for that create_default_context and if not available, fall back to the version before this fix.
Re: 0.17_pre - Addon Manager failed
Hopefully, fixed in git commit 5c5292cf4
Re: 0.17_pre - Addon Manager failed
Now, i 've got this error:
Maybe there is a problem with Python version, https://docs.python.org/2/library/urllib2.html says:
Python version: 2.7.8
Is there an upgrade to 2.7.13 is necessary ?
Code: Select all
Traceback (most recent call last):
File "C:\Program Files\FreeCAD 0.17\Mod\AddonManager\AddonManager.py", line 356, in run
u = urllib2.urlopen("https://github.com/FreeCAD/FreeCAD-addons",context=ctx)
TypeError: urlopen() got an unexpected keyword argument 'context'
For me:urllib2.urlopen(url[, data[, timeout[, cafile[, capath[, cadefault[, context]]]]])
If context is specified, it must be a ssl.SSLContext instance describing the various SSL options. See HTTPSConnection for more details.
Changed in version 2.7.9: cafile, capath, cadefault, and context were added.
Python version: 2.7.8
Is there an upgrade to 2.7.13 is necessary ?
Re: 0.17_pre - Addon Manager failed
Fixed (better this time) in git commit ab1b34441