I don't know the answer so I'll flail around with a few things that I do 
know.  Please forgive me if you have already considered them.

The simplest thing that comes to mind - one that bites me from time to time 
- is forgetting to *source* the venv *activate* script before using the 
venv. Then Python doesn't use the right paths to the library files.  So:

source ~/.local/pipx/venvs/leo/bin/activate

You may be able to get useful information from Qt by exporting a debug 
variable before running Leo:

export QT_DEBUG_PLUGINS=1

You may be able to cure the problem by setting certain paths.  Then you 
might be able to succeed in installing the Qt6-QWebEngine.  Or it might 
have been installed but can't be used without these paths. You would export 
these before running Leo or installing the package, but you have to find 
out the right paths for your system:

export QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/qt6/plugins/platforms
export QT_PLUGIN_PATH=/usr/lib/qt6/plugins/platforms

If your Debian install already has the locate command or can install it, 
find the *platforms*  path with:

locate -r 'platforms$' |grep -i qt6

Otherwise (but much slower):

find / 2>/dev/null -type d -name platforms |grep -i qt6

If none of the above do the job, I'm out of suggestions for the moment. I 
have many different Linux VMs including Debian and they are all working so 
I won't be able to reproduce the problem.

On Wednesday, July 31, 2024 at 4:30:20 AM UTC-4 lewis wrote:

I created a basic myLeoSettings file which ONLY enables the 
viewrendered3.py plugin.

[snip]
*reading settings in /home/lewisneal/.leo/myLeoSettings.leo*






*Traceback (most recent call last):  File 
"/home/lewisneal/.local/pipx/venvs/leo/lib/python3.11/site-packages/leo/core/leoPlugins.py",
 
line 544, in loadOnePluginHelper    __import__(moduleName)  File 
"/home/lewisneal/.local/pipx/venvs/leo/lib/python3.11/site-packages/leo/plugins/viewrendered3.py",
 
line 983, in <module>    qwv = QtWebEngineWidgets.QWebEngineView          
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^*
*AttributeError: 'NoneType' object has no attribute 'QWebEngineView'*

-- 
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 on the web visit 
https://groups.google.com/d/msgid/leo-editor/1854247c-76d9-4439-b46e-1de02e0c038cn%40googlegroups.com.

Reply via email to