[SOLVED] QtWebEngineWidgets issue

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
mconsidine
Posts: 125
Joined: Wed Jan 18, 2023 10:41 pm
Location: Randolph, VT USA

[SOLVED] QtWebEngineWidgets issue

Post by mconsidine »

EDIT: If instead of exiting immediately I try to load a .FCStd file that had been working, I get a crash and this message:

Code: Select all

Program received signal SIGSEGV, Segmentation fault.
#0  /lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x7fa7ea5cd520]
----------
I am trying to compile FC from the latest code on git. I run into the "widgets" issue others have, but the solutions I've tried don't seem to work. If someone could point out what I've overlooked or should try, I would be appreciative.

First off:

Code: Select all

OS: Linux Mint 21 (X-Cinnamon/cinnamon)
Word size of FreeCAD: 64-bit
Version: 0.21.0.31697 (Git)
Build type: Unknown
Branch: master
Hash: db6d44b1da5fb5a994757da9567f545b26bd700b
Python 3.10.6, Qt 5.15.3, Coin 4.0.1, Vtk 9.1.0, OCC 7.5.1
Locale: English/United States (en_US)
Result of cmake in out-of-source build directory:

Code: Select all

==============
Summary report
==============

-- Build type:          
-- Compiler:            /usr/bin/c++ (11.3.0)
-- Flags:               -Wall -Wextra -Wno-write-strings 
-- Standard:            Requires C++17
-- Python:              3.10.6 [/usr/bin/python3.10] [.cpython-310-x86_64-linux-gnu]
-- PCL:                 not enabled
-- pybind11:            not enabled
-- Boost:               1.74.0
-- XercesC:             3.2.3 [/usr/lib/x86_64-linux-gnu/libxerces-c.so] [/usr/include]
-- ZLIB:                1.2.11
-- PyCXX:               7.1.7 [/home/matt/Downloads/freecad-source/src]
-- OCC:                 7.5.1 [TKFillet;TKMesh;TKernel;TKG2d;TKG3d;TKMath;TKIGES;TKSTL;TKShHealing;TKXSBase;TKBool;TKBO;TKBRep;TKTopAlgo;TKGeomAlgo;TKGeomBase;TKOffset;TKPrim;TKSTEPBase;TKSTEPAttr;TKSTEP209;TKSTEP;TKHLR;TKFeat] [/usr/lib/x86_64-linux-gnu] [/usr/include/opencascade]
-- SMESH:               7.7.1.0 build internal
-- MEDFile:             4.1.0 [/usr/lib/x86_64-linux-gnu/libmedC.so] [/usr/include]
-- HDF5:                1.10.7
-- VTK:                 9.1.0
-- NETGEN:              not enabled
-- SWIG:                4.0.2
-- Eigen3               3.4.0
-- QtCore:              5.15.3
-- QtNetwork:           5.15.3
-- QtXml:               5.15.3
-- QtWidgets:           5.15.3
-- QtPrintSupport:      5.15.3
-- QtOpenGL:            5.15.3
-- QtSvg:               5.15.3
-- QtUiTools:           5.15.3
-- QtConcurrent:        5.15.3
-- QtWebEngineWidgets:  5.15.9
-- Designer plugin:     not built (BUILD_DESIGNER_PLUGIN is OFF)
-- Shiboken:            5.15.2.1 [/usr/lib/x86_64-linux-gnu/cmake/Shiboken2-5.15.2] [/usr/lib/../include/shiboken2;/usr/include/python3.10]
-- PySide:              5.15.2.1 [/usr/lib/../include/PySide2]
-- PySideTools:         [/usr/lib/qt5/bin/uic] [/usr/lib/qt5/bin/rcc]
-- Freetype:            2.11.1
-- OpenGL:              /usr/lib/x86_64-linux-gnu/libGL.so
-- OpenGLU:             [/usr/lib/x86_64-linux-gnu/libGLU.so][/usr/include]
-- Coin3D:              4.0.1 [/usr/local/lib/libCoin.so] [/usr/local/include]
-- Pivy:                0.6.5
-- SPNAV:               [/usr/lib/libspnav.so] [/usr/include]
-- Matplotlib:          3.5.1
-- Rift:                not enabled (BUILD_VR)
-- Doxygen:             1.9.1
-- Language:            English
-- Coin3D_DOC:          not found
=================================================
Now run 'cmake --build /home/matt/Downloads/freecad-build' to build FreeCAD
=================================================

-- Found Python: /usr/bin/python3.10 (found version "3.10.6") found components: Interpreter 
-- Configuring done
-- Generating done
-- Build files have been written to: /home/matt/Downloads/freecad-build
So you can see there that QtWebEngineWidgets is found. However ...

Result of ./FreeCAD in build/bin folder:

Code: Select all

AFreeCAD 0.21.0, Libs: 0.21.0R31697 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2023
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Addon Manager Warning: Could not import QtWebEngineWidgets. Your system's package manager may provide a package for this dependency, search the package manager for possible resolutions. Display of package README will be limited until this dependency is resolved.
If I immediately exit, I get this in the terminal window:

Code: Select all

corrupted size vs. prev_size in fastbins
Aborted (core dumped)
But, when the same is done with the RealThunder Link Daily code base there are no issues. However, I really need the spline stuff, so I'd like to get this to work.

Trying to see if the system thinks this is installed:

Code: Select all

$ apt list | grep qt5webeng*

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libqt5webengine-data/jammy,jammy,now 5.15.9+dfsg-1 all [installed,automatic]
libqt5webengine5/jammy,now 5.15.9+dfsg-1 amd64 [installed,automatic]
libqt5webenginecore5/jammy,now 5.15.9+dfsg-1 amd64 [installed,automatic]
libqt5webenginewidgets5/jammy,now 5.15.9+dfsg-1 amd64 [installed,automatic]
Also tried, just in case
Also;

Code: Select all

sudo apt install python3-pyside2.qtwebengine*
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'python3-pyside2.qtwebengine' for glob 'python3-pyside2.qtwebengine*'
Note, selecting 'python3-pyside2.qtwebenginewidgets' for glob 'python3-pyside2.qtwebengine*'
Note, selecting 'python3-pyside2.qtwebenginecore' for glob 'python3-pyside2.qtwebengine*'
python3-pyside2.qtwebengine is already the newest version (5.15.2-2build2).
python3-pyside2.qtwebenginecore is already the newest version (5.15.2-2build2).
python3-pyside2.qtwebenginewidgets is already the newest version (5.15.2-2build2).
0 upgraded, 0 newly installed, 0 to remove and 28 not upgraded.
The one thing I have noticed in the version of RealThunder that worked, as well as what someone who eventually got it to work was that the summary showed version 5.212 instead of 5.15 for QtWebEngineWidgets. So somehow that install works differently (and works on my system), but I can't tell why it should find 5.212 while the official code on github is seeing 5.15. And even still, why is that causing a problem?

Other system trivia:

Code: Select all

CPU: 2x 8-core Intel Xeon E5-2630 v3 (-MT MCP SMP-)
speed/min/max: 1219/1200/3200 MHz Kernel: 5.15.0-58-generic x86_64 Up: 5h 55m
Mem: 3461.2/32069.1 MiB (10.8%) Storage: 2.79 TiB (17.2% used) Procs: 514
Shell: Bash inxi: 3.3.13
Thanks in advance for any constructive advice!
mconsidine
Last edited by mconsidine on Sat Jan 28, 2023 1:34 am, edited 1 time in total.
User avatar
chennes
Veteran
Posts: 3879
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: QtWebenginewidgets issue

Post by chennes »

Note that you don't HAVE to use the Addon Manager to install mods: it's just a glorified git frontend. You can also just clone the addon you need into the Mods directory.

ETA: The "cannot import" error is specifically about the Python bindings -- it looks like you have those installed, but FreeCAD isn't finding them. Are you able to create a standalone python script and run "import PySide2.QtWebEngineWidgets"?
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
mconsidine
Posts: 125
Joined: Wed Jan 18, 2023 10:41 pm
Location: Randolph, VT USA

Re: QtWebenginewidgets issue

Post by mconsidine »

@chennes: yes, I can import that:

Code: Select all

$ python3
Python 3.10.6 (main, Nov 14 2022, 16:10:14) [GCC 11.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import PySide2.QtWebEngineWidgets
>>> import blah
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/matt/.local/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py", line 142, in _import
    return original_import(name, *args, **kwargs)
ModuleNotFoundError: No module named 'blah'
>>> 
(that shows the message thrown when I try to import something that doesn't exist).

Immediately after exiting python in the above test, ie at the command line in a terminal, I get this if I run FC and pull in the simple script I started with in the "loft" question I posted ( https://forum.freecadweb.org/viewtopic. ... 20#p655720 ) :

Code: Select all

~/Downloads/freecad-build/bin$ ./FreeCAD
FreeCAD 0.21.0, Libs: 0.21.0R31697 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2023
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Addon Manager Warning: Could not import QtWebEngineWidgets. Your system's package manager may provide a package for this dependency, search the package manager for possible resolutions. Display of package README will be limited until this dependency is resolved.
Program received signal SIGSEGV, Segmentation fault.
#0  /lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x7f5938a48520]
corrupted double-linked list
Aborted (core dumped)
matt@matt-Precision-Tower-7910:~/Downloads/freecad-build/bin$
I take the point that Mods can be cloned/used without the manager. But I'm concerned that something else that I might need to use makes use of this. And the fact that I can't load a simple script without the program crashing out with the above errors is a bit of a show-stopper :)
I would have thought that the realthunder version would point to the same system files, but that must not be the case, as that code base doesn't have this issue.

Thanks again for any ideas, pointers, etc.
mconsidine
wmayer
Founder
Posts: 20243
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: QtWebenginewidgets issue

Post by wmayer »

EDIT: If instead of exiting immediately I try to load a .FCStd file that had been working, I get a crash and this message:
Run FreeCAD with a debugger

Code: Select all

gdb ./FreeCAD
r
and wait for the crash to happen. What stack trace does it print?
So you can see there that QtWebEngineWidgets is found. However ...
What's the printed path of

Code: Select all

from PySide2 import QtWebEngineWidgets
QtWebEngineWidgets.__file__
?
mconsidine
Posts: 125
Joined: Wed Jan 18, 2023 10:41 pm
Location: Randolph, VT USA

Re: QtWebenginewidgets issue

Post by mconsidine »

@wmayer: Thank you for that. To your first suggestion, here is the output:

Code: Select all

~/Downloads/freecad-build/bin$ gdb ./FreeCAD
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./FreeCAD...
(gdb) r
Starting program: /home/matt/Downloads/freecad-build/bin/FreeCAD 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
FreeCAD 0.21.0, Libs: 0.21.0R31700 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2023
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

[New Thread 0x7fffec0a7640 (LWP 360456)]
[New Thread 0x7fffea321640 (LWP 360457)]
[New Thread 0x7fffe9b20640 (LWP 360458)]
[New Thread 0x7fffe92ba640 (LWP 360459)]
[New Thread 0x7fffd8ffc640 (LWP 360461)]
[New Thread 0x7fffd3fff640 (LWP 360462)]
[New Thread 0x7fffd37fe640 (LWP 360463)]
[New Thread 0x7fffd2ffd640 (LWP 360464)]
[New Thread 0x7fffd27fc640 (LWP 360465)]
[Detaching after vfork from child process 360466]
[Detaching after vfork from child process 360467]
Addon Manager Warning: Could not import QtWebEngineWidgets. Your system's package manager may provide a package for this dependency, search the package manager for possible resolutions. Display of package README will be limited until this dependency is resolved.
[New Thread 0x7fffa9605640 (LWP 360468)]
[Detaching after fork from child process 360469]
[Detaching after fork from child process 360470]
[Detaching after fork from child process 360471]
[New Thread 0x7fffa8e04640 (LWP 360474)]
[New Thread 0x7fffa3fff640 (LWP 360475)]
[New Thread 0x7fffa37fe640 (LWP 360476)]
[New Thread 0x7fffa2ffd640 (LWP 360477)]
[New Thread 0x7fffa27fc640 (LWP 360478)]
[New Thread 0x7fffa1ffb640 (LWP 360479)]
[New Thread 0x7fffa0ff9640 (LWP 360481)]
[New Thread 0x7fff87fff640 (LWP 360482)]
[New Thread 0x7fffa17fa640 (LWP 360480)]
[New Thread 0x7fff877fe640 (LWP 360483)]
[New Thread 0x7fff86ffd640 (LWP 360484)]
[New Thread 0x7fff867fc640 (LWP 360485)]
[New Thread 0x7fff85ffb640 (LWP 360486)]
[New Thread 0x7fff857fa640 (LWP 360487)]
[New Thread 0x7fff84ff9640 (LWP 360488)]
[New Thread 0x7fff7ffff640 (LWP 360489)]
[New Thread 0x7fff7f7fe640 (LWP 360490)]
[New Thread 0x7fff7effd640 (LWP 360504)]
[New Thread 0x7fff7e7fc640 (LWP 360505)]
[New Thread 0x7fff7dffb640 (LWP 360506)]
[Thread 0x7fff877fe640 (LWP 360483) exited]
[Thread 0x7fff857fa640 (LWP 360487) exited]
[Thread 0x7fff85ffb640 (LWP 360486) exited]
[Thread 0x7fff86ffd640 (LWP 360484) exited]
[Thread 0x7fffa2ffd640 (LWP 360477) exited]
[Thread 0x7fffa3fff640 (LWP 360475) exited]
[Thread 0x7fff867fc640 (LWP 360485) exited]
[Thread 0x7fffd3fff640 (LWP 360462) exited]
[Thread 0x7fffd2ffd640 (LWP 360464) exited]
[Thread 0x7fffd27fc640 (LWP 360465) exited]
[Thread 0x7fffd8ffc640 (LWP 360461) exited]
[Thread 0x7fffd37fe640 (LWP 360463) exited]
[Thread 0x7fffec0a7640 (LWP 360456) exited]
[Thread 0x7fffe92ba640 (LWP 360459) exited]
[Thread 0x7fff7dffb640 (LWP 360506) exited]
corrupted size vs. prev_size in fastbins

Thread 1 "FreeCAD" received signal SIGABRT, Aborted.
__pthread_kill_implementation (no_tid=0, signo=6, threadid=140737173705600) at ./nptl/pthread_kill.c:44
44	./nptl/pthread_kill.c: No such file or directory.
(gdb) 

From within the Python console window in FC (which I presume reflects the Python environment as FC sees it), I get this :

Code: Select all

Python 3.10.6 (main, Nov 14 2022, 16:10:14) [GCC 11.3.0] on linux
Type 'help', 'copyright', 'credits' or 'license' for more information.
>>> Gui.runCommand('Std_Workbench',15)
>>> Gui.runCommand('Std_ViewStatusBar',1)
>>> from PySide2 import QtWebEngineWidgets
>>> QtWebEngineWidgets.__file__
'/home/matt/.local/lib/python3.10/site-packages/PySide2/QtWebEngineWidgets.abi3.so'
>>> 
mconsidine
Posts: 125
Joined: Wed Jan 18, 2023 10:41 pm
Location: Randolph, VT USA

Re: QtWebenginewidgets issue

Post by mconsidine »

From the Report View, for which I have enabled show log messages, warnings, etc, the output during startup is:

Code: Select all

10:17:08  OpenGL version is: 4.6 (4.6.0 NVIDIA 515.86.01)
10:17:08  Run Gui init script
10:17:08  Init: Running FreeCADGuiInit.py start script...
10:17:09  Init:   Searching modules...
10:17:10  Addon Manager Warning: Could not import QtWebEngineWidgets. Your system's package manager may provide a package for this dependency, search the package manager for possible resolutions. Display of package README will be limited until this dependency is resolved.
10:17:10  Init:      Initializing /home/matt/Downloads/freecad-build/Mod/AddonManager... done
10:17:10  Init:      Initializing /home/matt/Downloads/freecad-build/Mod/Spreadsheet... done
10:17:10  Init:      Initializing /home/matt/Downloads/freecad-build/Mod/Surface... done
10:17:10  Init:      Initializing /home/matt/Downloads/freecad-build/Mod/ReverseEngineering... done
10:17:10  Init:      Initializing /home/matt/Downloads/freecad-build/Mod/TechDraw... done
10:17:10  Init:      Initializing /home/matt/Downloads/freecad-build/Mod/Measure(InitGui.py not found)... ignore
10:17:10  Init:      Initializing /home/matt/Downloads/freecad-build/Mod/Arch... done
10:17:10  Init:      Initializing /home/matt/Downloads/freecad-build/Mod/Path... done
10:17:10  Init:      Initializing /home/matt/Downloads/freecad-build/Mod/Raytracing... done
10:17:10  Init:      Initializing /home/matt/Downloads/freecad-build/Mod/Web... done
10:17:10  Init:      Initializing /home/matt/Downloads/freecad-build/Mod/Import... done
10:17:10  Init:      Initializing /home/matt/Downloads/freecad-build/Mod/Test... done
10:17:10  Init:      Initializing /home/matt/Downloads/freecad-build/Mod/Idf(InitGui.py not found)... ignore
10:17:10  Init:      Initializing /home/matt/Downloads/freecad-build/Mod/Plot(InitGui.py not found)... ignore
10:17:10  Init:      Initializing /home/matt/Downloads/freecad-build/Mod/Points... done
10:17:10  Init:      Initializing /home/matt/Downloads/freecad-build/Mod/Tux... done
10:17:11  Init:      Initializing /home/matt/Downloads/freecad-build/Mod/Start... done
10:17:11  Init:      Initializing /home/matt/Downloads/freecad-build/Mod/Part... done
10:17:11  Init:      Initializing /home/matt/Downloads/freecad-build/Mod/PartDesign... done
10:17:11  Init:      Initializing /home/matt/Downloads/freecad-build/Mod/Inspection... done
10:17:11  Init:      Initializing /home/matt/Downloads/freecad-build/Mod/Sketcher... done
10:17:11  Init:      Initializing /home/matt/Downloads/freecad-build/Mod/Show(InitGui.py not found)... ignore
10:17:11  Init:      Initializing /home/matt/Downloads/freecad-build/Mod/Image... done
10:17:11  Init:      Initializing /home/matt/Downloads/freecad-build/Mod/Robot... done
10:17:11  Init:      Initializing /home/matt/Downloads/freecad-build/Mod/Material... done
10:17:11  Init:      Initializing /home/matt/Downloads/freecad-build/Mod/Draft... done
10:17:11  Init:      Initializing /home/matt/Downloads/freecad-build/Mod/Mesh... done
10:17:11  All modules with GUIs using InitGui.py are now initialized
10:17:11  All modules with GUIs initialized using pkgutil are now initialized
10:17:11  Init: Loading FreeCAD GUI
10:17:11  Init: Running FreeCADGuiInit.py start script... done
10:17:15  Init: Activating default workbench StartWorkbench
10:17:15  Loading GUI of Web module... done
10:17:15  Loading GUI of Start module... done
10:17:15  Loading Start module... done
10:17:15  Active view is Start page (at 0x5555578f3590)
10:17:15  Init: Showing main window
10:17:15  Main window restored
10:17:15  Show main window
10:17:15  Toolbars restored
10:17:15  Connected to spacenav daemon
10:17:15  Init: Entering event loop
10:17:15  Init: Executing event loop...
10:17:15  Init: Processing command line files
10:17:15  1.13e-07 MainWindow.cpp(1410): update actions
10:21:01  Checking network connection...
10:21:01  225.726 MainWindow.cpp(1410): update actions
10:21:01  Network Manager Error: __reply_finished not called by a Qt signal
10:21:03  Connection check cancelled
wmayer
Founder
Posts: 20243
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: QtWebenginewidgets issue

Post by wmayer »

>>> from PySide2 import QtWebEngineWidgets
>>> QtWebEngineWidgets.__file__
'/home/matt/.local/lib/python3.10/site-packages/PySide2/QtWebEngineWidgets.abi3.so'
Somehow your system got messed up. The path should be

Code: Select all

'/usr/lib/python3/dist-packages/PySide2/QtWebEngineWidgets.cpython-310-x86_64-linux-gnu.so'
Maybe you once installed that PySide version with pip? Check what else you have in /home/matt/.local/lib/python3.10/site-packages and rename the directory to avoid to pull in any of the problematic dependencies.
mconsidine
Posts: 125
Joined: Wed Jan 18, 2023 10:41 pm
Location: Randolph, VT USA

[SOLVED] Re: QtWebenginewidgets issue

Post by mconsidine »

@wmayer:

Success!

That was the issue as far as QtWebEngineWidgets was concerned. You are correct in that I must have at one point installed it with 'pip'. By renaming that folder, clearing out the freecad_build folder and rerunning cmake/make, the correct version was found.

THANK YOU!

For anyone else coming across this, the early "tell" would have been evident in the output of the cmake command, where it identifies there

Code: Select all

-- PySide 5.15.2.1 Python module found at [...]
In my case the part in [...] was a local directory, when it should have shown up as wmayer notes above.

I am still having problems with segmentation faults, but that is a separate issue.
User avatar
chennes
Veteran
Posts: 3879
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: QtWebenginewidgets issue

Post by chennes »

Regarding the segfault, can you compile with debugging symbols on and post a backtrace from GDB? It seems like it's a threading-related error, and it's probably buried in the Python someplace, but it would be good to know. Those can be tricky to track down sometimes. If on the other hand it's in the C++ we should be able to isolate it fairly quickly.
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
mconsidine
Posts: 125
Joined: Wed Jan 18, 2023 10:41 pm
Location: Randolph, VT USA

Re: QtWebenginewidgets issue

Post by mconsidine »

@chennes: Thanks for the help. I've solved this problem and posted the solution here
https://forum.freecadweb.org/viewtopic. ... 46#p656446

Short version: I had compiled from source and installed coin as part of an effort to deal with a pivy issue. That installation ended up being in /usr/local/lib But Python/FC/fill-in-the-blank was wanted to work with the version that was found in /usr/x86_64-linux-gnu. What the difference between those two were, I don't know. The version of Coin that was showing up was the same (4.0.1).

I could see where, if people were needing to compile coin, soqt, quarter and pivy on their own and they were getting installed in some folder (e.g. /usr/local/lib) maybe it would be useful to provide cmake flags to identify those folders??? Or maybe it's just more trouble than its worth.

I did consider recompiling and reinstalling those libraries in /usr/lib/x86_64-linux-gnu but figured I might break a bunch of other things.

Anyway, thanks again for the help.
mconsidine
Post Reply