when trying to apply any constraint in ASM3, the following error occurs and the constraint is not applied:
`16:05:55 233.25315 constraint.py(828): constraint "Locked" command exception
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 "", line 677, in report
File "/snap/freecad-realthunder/128/usr/Mod/Assembly3/./freecad/asm3/assembly.py", line 2982, in make
AsmElementLink.make(AsmElementLink.MakeInfo(cstr,*e))
File "/snap/freecad-realthunder/128/usr/Mod/Assembly3/./freecad/asm3/assembly.py", line 2278, in make
link.Proxy.setLink(info.Owner,info.Subname)
File "/snap/freecad-realthunder/128/usr/Mod/Assembly3/./freecad/asm3/assembly.py", line 2136, in setLink
element = AsmElement.make(sel,radius=radius,name='_Element')
File "/snap/freecad-realthunder/128/usr/Mod/Assembly3/./freecad/asm3/assembly.py", line 1249, in make
element = AsmElement.create(name,elements)
File "/snap/freecad-realthunder/128/usr/Mod/Assembly3/./freecad/asm3/assembly.py", line 1060, in create
ViewProviderAsmElement(element.ViewObject)
File "/snap/freecad-realthunder/128/usr/Mod/Assembly3/./freecad/asm3/assembly.py", line 1302, in init
super(ViewProviderAsmElement,self).init(vobj)
File "/snap/freecad-realthunder/128/usr/Mod/Assembly3/./freecad/asm3/assembly.py", line 316, in init
super(ViewProviderAsmOnTop,self).init(vobj)
File "/snap/freecad-realthunder/128/usr/Mod/Assembly3/./freecad/asm3/assembly.py", line 259, in init
self.attach(vobj)
File "/snap/freecad-realthunder/128/usr/Mod/Assembly3/./freecad/asm3/assembly.py", line 1307, in attach
self.setupAxis()
File "/snap/freecad-realthunder/128/usr/Mod/Assembly3/./freecad/asm3/assembly.py", line 1405, in setupAxis
node = coin.SoType.fromName('SoFCSelectionRoot').createInstance()
File "/snap/freecad-realthunder/128/usr/lib/python3/dist-packages/pivy/coin.py", line 491, in createInstance
return _coin.SoType_createInstance(self)
SystemError: returned a result with an exception set`
[code] OS: Ubuntu Core 22 (KDE/plasma) Word size of FreeCAD: 64-bit Version: 2024.207.0.38947 (Git) Snap 128 Build type: Release Branch: tag: 20240123stable Hash: 0c0f69ad4806682096b51f7669d5f1cb83f9c7d7 Python 3.10.12, Qt 5.15.10, Coin 4.0.1rt, Vtk 7.1.1, OCC 7.7.1 Locale: German/Austria (de_AT) Installed mods:
when trying to apply any constraint in ASM3, the following error occurs and the constraint is not applied:
`16:05:55 233.25315 constraint.py(828): constraint "Locked" command exception
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 "", line 677, in report
File "/snap/freecad-realthunder/128/usr/Mod/Assembly3/./freecad/asm3/assembly.py", line 2982, in make
AsmElementLink.make(AsmElementLink.MakeInfo(cstr,*e))
File "/snap/freecad-realthunder/128/usr/Mod/Assembly3/./freecad/asm3/assembly.py", line 2278, in make
link.Proxy.setLink(info.Owner,info.Subname)
File "/snap/freecad-realthunder/128/usr/Mod/Assembly3/./freecad/asm3/assembly.py", line 2136, in setLink
element = AsmElement.make(sel,radius=radius,name='_Element')
File "/snap/freecad-realthunder/128/usr/Mod/Assembly3/./freecad/asm3/assembly.py", line 1249, in make
element = AsmElement.create(name,elements)
File "/snap/freecad-realthunder/128/usr/Mod/Assembly3/./freecad/asm3/assembly.py", line 1060, in create
ViewProviderAsmElement(element.ViewObject)
File "/snap/freecad-realthunder/128/usr/Mod/Assembly3/./freecad/asm3/assembly.py", line 1302, in init
super(ViewProviderAsmElement,self).init(vobj)
File "/snap/freecad-realthunder/128/usr/Mod/Assembly3/./freecad/asm3/assembly.py", line 316, in init
super(ViewProviderAsmOnTop,self).init(vobj)
File "/snap/freecad-realthunder/128/usr/Mod/Assembly3/./freecad/asm3/assembly.py", line 259, in init
self.attach(vobj)
File "/snap/freecad-realthunder/128/usr/Mod/Assembly3/./freecad/asm3/assembly.py", line 1307, in attach
self.setupAxis()
File "/snap/freecad-realthunder/128/usr/Mod/Assembly3/./freecad/asm3/assembly.py", line 1405, in setupAxis
node = coin.SoType.fromName('SoFCSelectionRoot').createInstance()
File "/snap/freecad-realthunder/128/usr/lib/python3/dist-packages/pivy/coin.py", line 491, in createInstance
return _coin.SoType_createInstance(self)
SystemError: returned a result with an exception set`
exception.zip
The error above occured when trying to apply a locked constraint on one of the sides of the cube in the file attached