This sounds like the same problem we just closed an issue for 
(https://github.com/leo-editor/leo-editor/issues/4327).  It's a problem 
with the 6.9.0 QtWebEngine not playing well with the graphics card.  Try 
exporting this setting:

QTWEBENGINE_CHROMIUM_FLAGS=--disable-gpu 

If that doesn't fix the problem, then you will have to use an earlier 
version of the WebEngine until Trolltech releases a newer version without 
the bug.
On Wednesday, April 23, 2025 at 12:15:28 PM UTC-4 viktor....@gmail.com 
wrote:

> Hello Edward & Thomas,
>
> I recently switched a set of VMs from Fedora Linux 40 to 41.
>
> This also resulted in a complete new installation of Leo 6.8.3 from PyPI.
>
> After the new installation some of them reported tracebacks - See 
> "Log-001".
>
> On all of them I had the plugins 'viewrendered3' & 'freewin' enabled.
>
> I was able to resolve the issue by switching to the 'viewrendered' plugin 
> & to disable the 'freewin' plugin. - See "Log-002".
>
> I assume it has to do with either the newer Python - and / or - the newer 
> Qt version ...
>
> Shall I create a bug-report for this issue ?
>
> With kind regards,
>
> Viktor
>
> ### Log-001
>
>     Leo Log Window
>     Leo 6.8.3, master branch
>     Python 3.13.2, PyQt version 6.9.0
>     linux
>     setting leoID from os.getenv('USER'): 'user'
>           home: /home/user
>     leo-editor: /home/user/PyVE/PyPI/Leo/lib64/python3.13/site-packages
>           load: 
> /home/user/PyVE/PyPI/Leo/lib64/python3.13/site-packages/leo/core
>         config: 
> /home/user/PyVE/PyPI/Leo/lib64/python3.13/site-packages/leo/config
>     reading settings in 
> /home/user/PyVE/PyPI/Leo/lib64/python3.13/site-packages/leo/config/leoSettings.leo
>     reading settings in /home/user/.leo/myLeoSettings.leo
>     reading settings in 
> /home/user/PyVE/PyPI/Leo/lib64/python3.13/site-packages/leo/themes/tbp_dark_solarized.leo
>     Traceback (most recent call last):
>       File 
> "/home/user/PyVE/PyPI/Leo/lib64/python3.13/site-packages/leo/core/leoPlugins.py",
>  
> line 545, in loadOnePluginHelper
>         __import__(moduleName)
>         ~~~~~~~~~~^^^^^^^^^^^^
>       File 
> "/home/user/PyVE/PyPI/Leo/lib64/python3.13/site-packages/leo/plugins/viewrendered3.py",
>  
> line 1043, in <module>
>         qwv = QtWebEngineWidgets.QWebEngineView
>               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>     AttributeError: 'NoneType' object has no attribute 'QWebEngineView'
>     Traceback (most recent call last):
>       File 
> "/home/user/PyVE/PyPI/Leo/lib64/python3.13/site-packages/leo/core/leoPlugins.py",
>  
> line 545, in loadOnePluginHelper
>         __import__(moduleName)
>         ~~~~~~~~~~^^^^^^^^^^^^
>       File 
> "/home/user/PyVE/PyPI/Leo/lib64/python3.13/site-packages/leo/plugins/freewin.py",
>  
> line 294, in <module>
>         QWebEngineView = QtWebEngineWidgets.QWebEngineView
>                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>     AttributeError: 'NoneType' object has no attribute 'QWebEngineView'
>     reading settings in /home/user/Documents/SL2025.leo
>     Traceback (most recent call last):
>       File 
> "/home/user/PyVE/PyPI/Leo/lib64/python3.13/site-packages/leo/core/leoPlugins.py",
>  
> line 545, in loadOnePluginHelper
>         __import__(moduleName)
>         ~~~~~~~~~~^^^^^^^^^^^^
>       File 
> "/home/user/PyVE/PyPI/Leo/lib64/python3.13/site-packages/leo/plugins/viewrendered3.py",
>  
> line 1043, in <module>
>         qwv = QtWebEngineWidgets.QWebEngineView
>               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>     AttributeError: 'NoneType' object has no attribute 'QWebEngineView'
>     Traceback (most recent call last):
>       File 
> "/home/user/PyVE/PyPI/Leo/lib64/python3.13/site-packages/leo/core/leoPlugins.py",
>  
> line 545, in loadOnePluginHelper
>         __import__(moduleName)
>         ~~~~~~~~~~^^^^^^^^^^^^
>       File 
> "/home/user/PyVE/PyPI/Leo/lib64/python3.13/site-packages/leo/plugins/freewin.py",
>  
> line 294, in <module>
>         QWebEngineView = QtWebEngineWidgets.QWebEngineView
>                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>     AttributeError: 'NoneType' object has no attribute 'QWebEngineView'
>     read outline in 0.02 seconds
>
> ### Log-002
>
>     Leo Log Window
>     Leo 6.8.3, master branch
>     Python 3.13.2, PyQt version 6.9.0
>     linux
>     setting leoID from os.getenv('USER'): 'user'
>           home: /home/user
>     leo-editor: /home/user/PyVE/PyPI/Leo/lib64/python3.13/site-packages
>           load: 
> /home/user/PyVE/PyPI/Leo/lib64/python3.13/site-packages/leo/core
>         config: 
> /home/user/PyVE/PyPI/Leo/lib64/python3.13/site-packages/leo/config
>     reading settings in 
> /home/user/PyVE/PyPI/Leo/lib64/python3.13/site-packages/leo/config/leoSettings.leo
>     reading settings in /home/user/.leo/myLeoSettings.leo
>     reading settings in 
> /home/user/PyVE/PyPI/Leo/lib64/python3.13/site-packages/leo/themes/tbp_dark_solarized.leo
>     reading settings in /home/user/Documents/SL2025.leo
>     read outline in 0.02 seconds
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/leo-editor/d7c8a946-da82-49bb-813e-4693529b2cben%40googlegroups.com.

Reply via email to