thanks for your help looo!
seems that this was installed as dependency with my
Code: Select all
pip3 install PySide2
but not removed on my uninstall...
now it is working again!!
thanks for your help looo!
Code: Select all
pip3 install PySide2
Code: Select all
During initialization the error "name '_init_pyside_extension' is not defined" occurred in /home/mac/freecad-build/Mod/Arch/InitGui.py
Please look into the log file for further information
During initialization the error "name '_init_pyside_extension' is not defined" occurred in /home/mac/freecad-build/Mod/Tux/InitGui.py
Please look into the log file for further information
During initialization the error "name '_init_pyside_extension' is not defined" occurred in /home/mac/freecad-build/Mod/AddonManager/InitGui.py
Please look into the log file for further information
During initialization the error "name '_init_pyside_extension' is not defined" occurred in /home/mac/freecad-build/Mod/Draft/InitGui.py
Please look into the log file for further information
Unknown command 'Std_AddonMgr'
Fatal Python error: could not initialize part 2
Python runtime state: initialized
Current thread 0x00007fe5ff3f6100 (most recent call first):
File "/usr/lib/python3/dist-packages/six.py", line 128 in __init__
File "/usr/lib/python3/dist-packages/six.py", line 320 in <module>
File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 783 in exec_module
File "<frozen importlib._bootstrap>", line 671 in _load_unlocked
File "<frozen importlib._bootstrap>", line 975 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 991 in _find_and_load
File "/home/mac/freecad-build/Mod/Start/StartPage/StartPage.py", line 27 in <module>
File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 783 in exec_module
File "<frozen importlib._bootstrap>", line 671 in _load_unlocked
File "<frozen importlib._bootstrap>", line 975 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 991 in _find_and_load
File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1042 in _handle_fromlist
File "<string>", line 2 in <module>
Aborted (core dumped)
I'm guessing you don't have a Timeshift equivalent on your Linux distro, it really pulled me out of the mire when I messed with something that I didn't understand? If not, then maybe this could be of use https://forum.freecadweb.org/viewtopic.php?f=10&t=55612
nice
maybe cueck your installed pyside versions with something like this:drmacro wrote: ↑Tue Apr 20, 2021 1:24 pm This is extremely frustrating. I'm out of ideas. What does it take to tell FC where sh** is. Or, what is messed up so bad on this machine that prevents FC from finding it?
I have completely uninstalled everything in the deps list. Uninstalled everything of python3 and pyside2.
Then reinstalled everything.
Confirmed it's all there, python seems to be running python3. (i.e. the sym links seem to be ok.)
and, with no errors, rebuilt FC.
And when I run FC from the terminal:
Code: Select all
During initialization the error "name '_init_pyside_extension' is not defined" occurred in /home/mac/freecad-build/Mod/Arch/InitGui.py Please look into the log file for further information During initialization the error "name '_init_pyside_extension' is not defined" occurred in /home/mac/freecad-build/Mod/Tux/InitGui.py Please look into the log file for further information During initialization the error "name '_init_pyside_extension' is not defined" occurred in /home/mac/freecad-build/Mod/AddonManager/InitGui.py Please look into the log file for further information During initialization the error "name '_init_pyside_extension' is not defined" occurred in /home/mac/freecad-build/Mod/Draft/InitGui.py Please look into the log file for further information Unknown command 'Std_AddonMgr' Fatal Python error: could not initialize part 2 Python runtime state: initialized Current thread 0x00007fe5ff3f6100 (most recent call first): File "/usr/lib/python3/dist-packages/six.py", line 128 in __init__ File "/usr/lib/python3/dist-packages/six.py", line 320 in <module> File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed File "<frozen importlib._bootstrap_external>", line 783 in exec_module File "<frozen importlib._bootstrap>", line 671 in _load_unlocked File "<frozen importlib._bootstrap>", line 975 in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 991 in _find_and_load File "/home/mac/freecad-build/Mod/Start/StartPage/StartPage.py", line 27 in <module> File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed File "<frozen importlib._bootstrap_external>", line 783 in exec_module File "<frozen importlib._bootstrap>", line 671 in _load_unlocked File "<frozen importlib._bootstrap>", line 975 in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 991 in _find_and_load File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 1042 in _handle_fromlist File "<string>", line 2 in <module> Aborted (core dumped)
Code: Select all
sudo find / -type d -name 'PySide2' 2>/dev/null
That is the reason why i only use one package manager. Also for me pip is shadowy (what is where installed).Syres wrote: ↑Tue Apr 20, 2021 1:43 pm If not, then maybe this could be of use https://forum.freecadweb.org/viewtopic.php?f=10&t=55612
I'm discussing this on gitter as well, so I forget what I've said where...
Code: Select all
grep -ri shiboken2 ~/.local
Code: Select all
grep -ri pyside ~/.local
Code: Select all
pip uninstall six shiboken2
Code: Select all
During initialization the error "name '_init_pyside_extension' is not defined" occurred in /home/mac/freecad-build/Mod/Arch/InitGui.py
Please look into the log file for further information
During initialization the error "name '_init_pyside_extension' is not defined" occurred in /home/mac/freecad-build/Mod/Tux/InitGui.py
Please look into the log file for further information
During initialization the error "name '_init_pyside_extension' is not defined" occurred in /home/mac/freecad-build/Mod/AddonManager/InitGui.py
Please look into the log file for further information
During initialization the error "name '_init_pyside_extension' is not defined" occurred in /home/mac/freecad-build/Mod/Draft/InitGui.py
Please look into the log file for further information
Unknown command 'Std_AddonMgr'
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "/home/mac/freecad-build/Mod/Start/StartPage/StartPage.py", line 27, in <module>
import six
<class 'ModuleNotFoundError'>: No module named 'six'
No module named 'six'
connect failed: No such file or directory
Code: Select all
pip uninstall PySide2 shiboken2
Code: Select all
During initialization the error "UI file does not exist" occurred in /home/mac/freecad-build/Mod/Arch/InitGui.py
Please look into the log file for further information
During initialization the error "UI file does not exist" occurred in /home/mac/freecad-build/Mod/Draft/InitGui.py
Please look into the log file for further information
(