Closed metropt closed 3 years ago
I can't reproduce on
Manjaro Linux (KDE//usr/share/xsessions/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.23323 (Git) AppImage
Build type: Release
Branch: master
Hash: 512d5c6141aec52b6eecc67370336a28fde862a6
Python version: 3.8.6
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)
Also this is not the right address for this ticket. Please open a forum thread to discuss with the community.
@luzpaz can you share your PySide2 package version?
My system says 5.15.2-1
but not sure what version is installed with the AppImage.
@metropt Ran an --appimage-extract
and checked usr/lib/pkgconfig/pyside2.pc
Current AppImage bundles pyside2 v5.13.2
ze@ze-XPS-13-9380:~/Downloads/squashfs-root/usr/lib/pkgconfig$ cat pyside2.pc
prefix=/home/travis/build/FreeCAD/FreeCAD-AppImage/conda/linux/AppDir/usr
exec_prefix=/home/travis/build/FreeCAD/FreeCAD-AppImage/conda/linux/AppDir/usr
libdir=lib
includedir=/home/travis/build/FreeCAD/FreeCAD-AppImage/conda/linux/AppDir/usr/include/PySide2
typesystemdir=/home/travis/build/FreeCAD/FreeCAD-AppImage/conda/linux/AppDir/usr/share/PySide2/typesystems
gluedir=/home/travis/build/FreeCAD/FreeCAD-AppImage/conda/linux/AppDir/usr/share/PySide2/glue
pythonpath=/home/travis/build/FreeCAD/FreeCAD-AppImage/conda/linux/AppDir/usr/lib/python3.8/site-packages
Name: PySide2
Description: Support library for Python bindings of Qt5-based libraries.
Version: 5.13.2
Libs: -L${libdir} -lpyside2.cpython-38-x86_64-linux-gnu
Cflags: -I${includedir}
Requires: shiboken2
The error persist on last AppImage.
The last version I can use is using snap install latest:beta
After analyse the error log I found that I have a python binary and packages installed on ~/.local "/home/ze/.local/lib/python3.8/site-packages/PySide2/__init__.py",
that is used by the AppImage, maybe because of some environment variable? After remove pyside2 and shiboken2 from the .local it is working.
this issue is caused by user has installed diff version pyside2 via pip, which has higher priority
https://forum.freecadweb.org/viewtopic.php?f=4&t=57786&p=496662#p496662
Had the same issue. Thanks for helping.
Solution
pip3 uninstall pyside2
pip3 uninstall shiboken2
When I try to run FreeCAD it fails to load the addon manager. I tried to update python packages but I got no success on solve the problem.