Ubuntu daily-PPA Bug in Path-module
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
Ubuntu daily-PPA Bug in Path-module
Hello,
the path module does not work in the PPA-Daily-Installation in Ubuntu 22.04.
With the Weekly-Appimage or on Windows it is working.
Please fix it.
Thanks!
Michael
the path module does not work in the PPA-Daily-Installation in Ubuntu 22.04.
With the Weekly-Appimage or on Windows it is working.
Please fix it.
Thanks!
Michael
Re: Ubuntu daily-PPA Bug in Path-module
@yorik who's on PPA duty now that kkremitzki is occupied with IRL stuff?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
- adrianinsaval
- Veteran
- Posts: 5541
- Joined: Thu Apr 05, 2018 5:15 pm
Re: Ubuntu daily-PPA Bug in Path-module
Please follow the guidelines and post your full freecad info, the error looks like those from the pivy incompatibility with python 3.10, if Ubuntu 22.04 is using python 3.10 it probably needs an update in pivy.
Also when posting errors from report view please copy and paste the text and put it inside code tags ( the </> button) instead of a screenshot.
Also when posting errors from report view please copy and paste the text and put it inside code tags ( the </> button) instead of a screenshot.
Re: Ubuntu daily-PPA Bug in Path-module
Thanks for your answers and sorry for my incomplete request.
The system and FreeCAD info:
Always after select the PATH module and create PATH Job:
17:02:35 Traceback (most recent call last):
File "/usr/share/freecad-daily/Mod/Path/PathScripts/PathJobGui.py", line 130, 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
17:02:35 PathJobGui.ERROR: <built-in function SoFieldContainer_getField> returned a result with an exception set
17:02:35 SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
17:02:35
The above exception was the direct cause of the following exception:
17:02:35 Traceback (most recent call last):
17:02:35 File "/usr/share/freecad-daily/Mod/Path/PathScripts/PathJobGui.py", line 1646, in Create
obj.ViewObject.Proxy.editObject(obj.Stock)
17:02:35 File "/usr/share/freecad-daily/Mod/Path/PathScripts/PathJobGui.py", line 194, in editObject
return self.openTaskPanel("Stock")
17:02:35 File "/usr/share/freecad-daily/Mod/Path/PathScripts/PathJobGui.py", line 178, in openTaskPanel
self.showOriginAxis(True)
17:02:35 File "/usr/share/freecad-daily/Mod/Path/PathScripts/PathJobGui.py", line 153, in showOriginAxis
self.switch.whichChild = sw
17:02:35 File "/usr/lib/python3/dist-packages/pivy/coin.py", line 3998, in __setattr__
field = self.getField(name)
17:02:35 File "/usr/lib/python3/dist-packages/pivy/coin.py", line 3873, in getField
return _coin.SoFieldContainer_getField(self, name)
17:02:35 SystemError: <built-in function SoFieldContainer_getField> returned a result with an exception set
17:02:35
With the Weekly-Appimage or on Windows it is working.
Thanks.
Michael
The system and FreeCAD info:
Code: Select all
OS: Ubuntu 22.04 LTS (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.
Build type: Release
Branch: unknown
Hash: 8676d67a87e8147a04de2785c585ea4a191a439b
Python 3.10.4, Qt 5.15.3, Coin 4.0.0, OCC 7.5.1
Locale: German/Germany (de_DE)
17:02:35 Traceback (most recent call last):
File "/usr/share/freecad-daily/Mod/Path/PathScripts/PathJobGui.py", line 130, 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
17:02:35 PathJobGui.ERROR: <built-in function SoFieldContainer_getField> returned a result with an exception set
17:02:35 SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
17:02:35
The above exception was the direct cause of the following exception:
17:02:35 Traceback (most recent call last):
17:02:35 File "/usr/share/freecad-daily/Mod/Path/PathScripts/PathJobGui.py", line 1646, in Create
obj.ViewObject.Proxy.editObject(obj.Stock)
17:02:35 File "/usr/share/freecad-daily/Mod/Path/PathScripts/PathJobGui.py", line 194, in editObject
return self.openTaskPanel("Stock")
17:02:35 File "/usr/share/freecad-daily/Mod/Path/PathScripts/PathJobGui.py", line 178, in openTaskPanel
self.showOriginAxis(True)
17:02:35 File "/usr/share/freecad-daily/Mod/Path/PathScripts/PathJobGui.py", line 153, in showOriginAxis
self.switch.whichChild = sw
17:02:35 File "/usr/lib/python3/dist-packages/pivy/coin.py", line 3998, in __setattr__
field = self.getField(name)
17:02:35 File "/usr/lib/python3/dist-packages/pivy/coin.py", line 3873, in getField
return _coin.SoFieldContainer_getField(self, name)
17:02:35 SystemError: <built-in function SoFieldContainer_getField> returned a result with an exception set
17:02:35
With the Weekly-Appimage or on Windows it is working.
Thanks.
Michael
- adrianinsaval
- Veteran
- Posts: 5541
- Joined: Thu Apr 05, 2018 5:15 pm
Re: Ubuntu daily-PPA Bug in Path-module
Yeap, python 3.10 seems to be the issue, can you check were does your system get pivy from? The default repos or the PPA?
Recently I've seen a post were some packages in Debian could run with either python 3.10 or 3.9, anybody knows if this is possible in Ubuntu with freecad from the PPA?
Recently I've seen a post were some packages in Debian could run with either python 3.10 or 3.9, anybody knows if this is possible in Ubuntu with freecad from the PPA?
Re: Ubuntu daily-PPA Bug in Path-module
Hello,
there is only the python3-pivy package from Ubuntu in version 0.6.5-1build6.
In the PPA-Repositiory is only a pivy package for 18.04, not for the newer version of Ubuntu.
Michael
there is only the python3-pivy package from Ubuntu in version 0.6.5-1build6.
In the PPA-Repositiory is only a pivy package for 18.04, not for the newer version of Ubuntu.
Michael
- adrianinsaval
- Veteran
- Posts: 5541
- Joined: Thu Apr 05, 2018 5:15 pm
Re: Ubuntu daily-PPA Bug in Path-module
I think you need 0.6.6 or 0.6.7 you can either find a way to install that yourself or stick to other packaging formats for the time being (snap flatpak and appimage are available).
Or find a way to make freecad run with python 3.9.
Sadly I think we don't have an active maintainer for the PPA so I don't think the situation there is going to improve any time soon, it might even be better to shut it down...
Or find a way to make freecad run with python 3.9.
Sadly I think we don't have an active maintainer for the PPA so I don't think the situation there is going to improve any time soon, it might even be better to shut it down...
Re: Ubuntu daily-PPA Bug in Path-module
Thanks for your answer,
I saw the Ubuntu Beta (22.10) have the package python3-pivy in version 0.6.7.
I will test it with this (but not today).
I saw the Ubuntu Beta (22.10) have the package python3-pivy in version 0.6.7.
I will test it with this (but not today).
Re: Ubuntu daily-PPA Bug in Path-module
Nobody, I'm afraid... It would be great to have more ubuntu people to help there
Re: Ubuntu daily-PPA Bug in Path-module
Hello,
i tested it now. with the manually installed package python3-pivy in version 0.6.7. from Ubuntu Beta (22.10) it works.
But i think this SNAP is now the the better alternative.
i tested it now. with the manually installed package python3-pivy in version 0.6.7. from Ubuntu Beta (22.10) it works.
But i think this SNAP is now the the better alternative.