ppd / freecad-ppd

5 stars 1 forks source link

Missing PySide2.QtUiTools ? #28

Closed luzpaz closed 2 years ago

luzpaz commented 2 years ago

Found in https://forum.freecadweb.org/viewtopic.php?f=20&t=67124&p=585325#p585325

$ freecad-ppd.cmd 
FreeCAD 0.20, Libs: 0.20R28580 (Git)
.
.
.
[FreeCAD Console mode <Use Ctrl-D (i.e. EOF) to exit.>]
>>> from PySide2 import QtUiTools
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name 'QtUiTools' from 'PySide2' (/snap/freecad-ppd/214/usr/lib/python3/dist-packages/PySide2/__init__.py)
$ freecad-ppd.cmd --version --verbose
FreeCAD 0.20 Revision: 28580 (Git)

Library versions:
boost    1_71
Coin3D   4.0.0
Eigen3   3.3.7
OCC      7.6.1
Qt       5.15.3
Python   3.8.10
PySide   5.14.0
shiboken 5.14.0
VTK      7.1.1
xerces-c 3.2.2
luzpaz commented 2 years ago

No problem with the latest AppImage

$ ./FreeCAD_weekly-builds-28567-Linux-Conda_glibc2.12-x86_64.AppImage -c
[FreeCAD Console mode <Use Ctrl-D (i.e. EOF) to exit.>]
>>> from PySide2 import QtUiTools
>>> 
OS: Manjaro Linux (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.28567 (Git) AppImage
Build type: Release
Branch: (HEAD detached at eb65256)
Hash: eb652569c1bc905b9ece89598ce99e2a2549acae
Python 3.9.12, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
Locale: English/United States (en_US)
Installed mods: 
  * A2plus 0.4.55a
ppd commented 2 years ago

So I'm guessing this applies to the stable builds, too?

ppd commented 2 years ago

https://github.com/ppd/freecad-ppd/actions/runs/2081711584

Also cc @realthunder, if interested.

ppd commented 2 years ago

Stable build https://github.com/ppd/freecad-ppd/actions/runs/2081731663

ashleycawley commented 1 year ago

I've brought this to the attention of Zheng (realthunder) as it still wasn't in his Snap, they have put it in there now apparently but it may take a day or so for the realthunder Snap to update.