Bug#1009037: python3-pivy: breaking change in python 3.10 reqires upgrade/patch
Michael Farmbauer
michael.farmbauer at oth-regensburg.de
Wed Apr 6 12:23:47 BST 2022
Package: python3-pivy
Version: 0.6.5-1+b4
Severity: important
X-Debbugs-Cc: michael.farmbauer at oth-regensburg.de
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
After upgrade of system to python3 to 3.10.4-1 the path workbench within
freecad fails with the following backtrace:
Traceback (most recent call last):
File "/usr/share/freecad/Mod/Path/PathScripts/PathJobGui.py", line 133, in attach
self.axs = coin.SoType.fromName('SoAxisCrossKit').createInstance()
File "/usr/lib/python3/dist-packages/pivy/coin.py", line 491, in createInstance
return _coin.SoType_createInstance(self)
<class 'SystemError'>: <built-in function SoType_createInstance> returned a result with an exception set
PathJobGui.ERROR: <built-in function SoFieldContainer_getField> returned a result with an exception set
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/share/freecad/Mod/Path/PathScripts/PathJobGui.py", line 1389, in Create
obj.ViewObject.Proxy.editObject(obj.Stock)
File "/usr/share/freecad/Mod/Path/PathScripts/PathJobGui.py", line 194, in editObject
return self.openTaskPanel('Stock')
File "/usr/share/freecad/Mod/Path/PathScripts/PathJobGui.py", line 179, in openTaskPanel
self.showOriginAxis(True)
File "/usr/share/freecad/Mod/Path/PathScripts/PathJobGui.py", line 156, in showOriginAxis
self.switch.whichChild = sw
File "/usr/lib/python3/dist-packages/pivy/coin.py", line 3998, in __setattr__
field = self.getField(name)
File "/usr/lib/python3/dist-packages/pivy/coin.py", line 3873, in getField
return _coin.SoFieldContainer_getField(self, name)
SystemError: <built-in function SoFieldContainer_getField> returned a result with an exception set
The issue has been fixed in https://github.com/coin3d/pivy/pull/91
Upstream tracked the issue at https://github.com/coin3d/pivy/issues/88
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.16.0-6-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-pivy depends on:
ii libc6 2.33-7
ii libcoin80c 4.0.0+ds-2
ii libgcc-s1 12-20220319-1
ii libsoqt520 1.6.0+ds1-3
ii libstdc++6 12-20220319-1
ii python3 3.10.4-1
ii python3-pyside2.qtcore 5.15.2-2+b2
ii python3-pyside2.qtgui 5.15.2-2+b2
ii python3-pyside2.qtopengl 5.15.2-2+b2
ii python3-pyside2.qtwidgets 5.15.2-2+b2
ii shiboken2 5.15.2-2+b2
python3-pivy recommends no packages.
python3-pivy suggests no packages.
-- no debconf information
More information about the debian-science-maintainers
mailing list