View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004628 | FreeCAD | Bug | public | 2021-04-10 04:25 | 2022-01-23 02:40 |
Reporter | enziinsystem | Assigned To | Kunda1 | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Product Version | 0.20 | ||||
Summary | 0004628: Fatal Python error: could not initialize part 2 | ||||
Description | FreeCAD 0.20, Libs: 0.20R24692 (Git) © Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2021 FreeCAD is free and open-source software licensed under the terms of LGPL2+ license. FreeCAD wouldn't be possible without FreeCAD community. ##### #### ### #### # # # # # # # ## #### #### # # # # # #### # # # # # # # ##### # # # # #### #### # # # # # # # # # # # # # # ## ## ## # # #### #### ### # # #### ## ## ## During initialization the error "name '_init_pyside_extension' is not defined" occurred in ./ubuntu/freecad-build/Mod/Draft/InitGui.py Please look into the log file for further information During initialization the error "name '_init_pyside_extension' is not defined" occurred in ./ubuntu/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 ./ubuntu/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 ./ubuntu/freecad-build/Mod/AddonManager/InitGui.py Please look into the log file for further information CommandManager::addTo() try to add an unknown command (Std_AddonMgr) to a widget! Fatal Python error: could not initialize part 2 Python runtime state: initialized Current thread 0x00007f9e86872b40 (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 "./ubuntu/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) | ||||
Steps To Reproduce | #!/bin/sh echo "*****************************************************" echo "git pull..." echo "*****************************************************" cd /path-to/ubuntu/free-cad-code git pull cd /path-to/ubuntu if [ ! -d "/path-to/ubuntu/freecad-build" ]; then mkdir /path-to/ubuntu/freecad-build fi cd /path-to/ubuntu/freecad-build echo "*****************************************************" echo "Building..." echo "*****************************************************" cmake -DBUILD_QT5=ON -DPYTHON_EXECUTABLE=/usr/bin/python3 -DCMAKE_BUILD_TYPE=Debug ../free-cad-code make -j$(nproc --ignore=2) echo "*****************************************************" echo "Complete." echo "*****************************************************" ./bin/FreeCAD | ||||
Tags | #tobeclosed | ||||
FreeCAD Information | FreeCAD can not start, so I can't visit to Help > About FreeCAD > Copy to clipboard | ||||
|
|
|
Have you read the docs on how to build FC? If you're building from source, you probably need several more flags. Please report to the forum first. |
|
I have installed compile tools for Ubuntu at the link: https://wiki.freecadweb.org/CompileOnUnix The compile step was successful, but I can not start FC. |
|
Just to add another data point. Ubuntu 20.04 I get this error. I have all the deps, etc. (this particular PC has been building 0.20 for several weeks, daily, with no issues, and still does build without errors) But, after an install of Pyside2 dev tools to get the uic to python converter, FC throws this error when started from the terminal. I have attempted to remove the pyside tools and re-install all deps and FC source. And FC still builds without error, but tosses this error when launched. |
|
I finally got a working FC after a read of this forum thread: forum thread I had to: uninstall
At this point FC would start but still couldn't find a couple differe UI init files
Then I used apt to reinstall all the prescribed FC deps. And rebuilt FC. It now appears to be fixed. |
|
how to proceed ? |
|
I'm good at this point. What about the OP? |
|
@drmacro is it worth notating https://wiki.freecadweb.org/CompileOnUnix ? |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-04-10 04:25 | enziinsystem | New Issue | |
2021-04-10 04:25 | enziinsystem | File Added: cad.png | |
2021-04-11 14:07 | Kunda1 | Assigned To | => Kunda1 |
2021-04-11 14:07 | Kunda1 | Status | new => feedback |
2021-04-11 14:07 | Kunda1 | Note Added: 0015608 | |
2021-04-11 14:07 | Kunda1 | Tag Attached: #post-to-forum | |
2021-04-12 02:37 | enziinsystem | Note Added: 0015609 | |
2021-04-12 02:37 | enziinsystem | Status | feedback => assigned |
2021-04-20 13:45 | drmacro | Note Added: 0015630 | |
2021-04-20 15:19 | drmacro | Note Added: 0015631 | |
2021-04-21 19:21 | Kunda1 | Note Added: 0015638 | |
2021-04-21 19:30 | drmacro | Note Added: 0015639 | |
2021-08-25 01:24 | Kunda1 | Note Added: 0015854 | |
2021-08-25 01:30 | Kunda1 | Tag Detached: #post-to-forum | |
2021-08-25 01:30 | Kunda1 | Tag Attached: #tobeclosed | |
2022-01-23 02:40 | Kunda1 | Status | assigned => closed |
2022-01-23 02:40 | Kunda1 | Resolution | open => no change required |