View Issue Details

IDProjectCategoryView StatusLast Update
0004195FreeCADBugpublic2019-12-05 14:10
ReporterXwang Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status confirmedResolutionopen 
Product Version0.18 
Target Version0.19Fixed in Version 
Summary0004195: Python 3.8 Compatibility incl. Shiboken/Pyside (was: Unable to use addon manager)
DescriptionWhen I try to use the addon manager nothin happens and the following message appers on the console from which I have opened freecad:
Running the Python command 'Std_AddonMgr' failed:
Traceback (most recent call last):
  File "/usr/lib/freecad/Mod/AddonManager/AddonManagerGui.py", line 10, in Activated
    import AddonManager
  File "/usr/lib/freecad/Mod/AddonManager/AddonManager.py", line 52, in <module>
    import urllib.request as urllib2
  File "/usr/lib/python3.8/urllib/request.py", line 88, in <module>
    import http.client
  File "/usr/lib/python3.8/http/__init__.py", line 5, in <module>
    class HTTPStatus(IntEnum):
  File "/usr/lib/python3.8/enum.py", line 164, in __new__
    enum_class = super().__new__(metacls, cls, bases, classdict)

'Shiboken.ObjectType' object is not iterable
Steps To Reproduce1)Open Freecad from a console
2)Click on addon manager
3)Look at the console output
Tags#pending-forum, 0.18, addon-manager
FreeCAD InformationOS: Arch Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16148 (Git)
Build type: Release
Branch: makepkg
Hash: 9c2cf7283bc71107202e63b9d8cd0b7eb8c0e531
Python version: 3.8.0
Qt version: 5.13.2
Coin version: 4.0.0a
OCC version: 7.4.0
Locale: Italian/Italy (it_IT)

Activities

openBrain

2019-11-22 16:52

developer   ~0013832

@Xwang : thanks for reporting. However according to our guidelines (big yellow box), could you please open a thread on our forum and crosslink it with this ticket ? You'll get more visibility & help there.
Also trying to reproduce with latest 0.19 dev version will be great.

openBrain

2019-11-23 11:28

developer   ~0013836

Forum topic opened by reporter

Kunda1

2019-11-25 11:09

administrator   ~0013843

It's a python 3.8 / pyside2 / shiboken compatibility issue. See https://forum.freecadweb.org/viewtopic.php?f=4&t=40986&p=348123#p348079

Kunda1

2019-12-05 14:05

administrator   ~0013865

Per @Xwang in https://forum.freecadweb.org/viewtopic.php?f=3&t=41119#p349607

I have installed the 0.18 appimage from this https://aur.archlinux.org/packages/freecad-appimage/ and it does not have the issue, so it seems related to the compilation of the package (previously I had this package https://aur.archlinux.org/packages/freecad/).

Xwang

Kunda1

2019-12-05 14:10

administrator   ~0013866

Renamed ticket

Issue History

Date Modified Username Field Change
2019-11-18 18:41 Xwang New Issue
2019-11-18 18:41 Xwang Tag Attached: 0.18
2019-11-18 18:41 Xwang Tag Attached: addon-manager
2019-11-22 16:52 openBrain Note Added: 0013832
2019-11-22 16:53 openBrain Tag Attached: #post-to-forum
2019-11-22 16:53 openBrain Status new => feedback
2019-11-23 11:28 openBrain Note Added: 0013836
2019-11-23 11:28 openBrain Tag Detached: #post-to-forum
2019-11-23 11:28 openBrain Tag Attached: #pending-forum
2019-11-25 11:09 Kunda1 Note Added: 0013843
2019-12-05 14:03 Kunda1 Summary Unable to use addon manager => Unable to use addon manager (python 3.8/shiboken/pyside issue)
2019-12-05 14:05 Kunda1 Note Added: 0013865
2019-12-05 14:05 Kunda1 Status feedback => confirmed
2019-12-05 14:05 Kunda1 Target Version => 0.19
2019-12-05 14:10 Kunda1 Summary Unable to use addon manager (python 3.8/shiboken/pyside issue) => Python 3.8 Compatibility incl. Shiboken/Pyside (was: Unable to use addon manager)
2019-12-05 14:10 Kunda1 Note Added: 0013866