On line I found a recommendation to:
export QT_DEBUG_PLUGINS=1
With this set, there was a lot of output, with this as the first error:
Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path
"/usr/bin/platforms" ...
Cannot load library
/home/tom/.local/lib/python3.7/site-packages/PyQt5/Qt5/plugins/platforms/libqxcb.so:
(libxcb-util.so.1: cannot open shared object file: No such file or
directory)
But that file actually does exist at the given location, and its file
permissions would allow it to open and execute by my user.
Online, it seems that others have had this problem with non-python Qt5
installations. Several people have found fixes that worked for them but
not for others. So far, I don't have a solution but apparently there is
one to be found.
On Friday, March 12, 2021 at 1:19:27 PM UTC-5 [email protected] wrote:
> I just installed a Debian VM. After installing Leo with pip I got exactly
> the same error message as you. I don't know what to do with it, though.
>
> On Friday, March 12, 2021 at 12:29:34 PM UTC-5 [email protected] wrote:
>
>> [email protected] schrieb am Freitag, 12. März 2021 um 15:44:31 UTC+1:
>>
>>> I can't help directly with Debian, but Leo works fine on my VMs running
>>> both Mint and Ubuntu, which are both Debian-based. I would have thought
>>> that they use Debian packages directly, but maybe that's not so.
>>>
>>> ...
>>
>>
>>>
>>> The *PyQt5-Qt5* package that is listed in your list output is
>>> something I have not seen before.
>>>
>>> From the error message you got,
>>>
>>> This application failed to start because no Qt platform plugin could be
>>> initialized.
>>>
>>> I wonder if you are running one window manager but the installer package
>>> gave you the setup for a different window manager. If so, maybe you can
>>> temporarily switch window managers and see if that works.
>>>
>>
>> I've not changed / switched the windows manager used in the Debian 10 VM
>> at all!
>>
>> But you are obviously correct, that the doubly 'PyQt5' as well as
>> 'PyQtWebEngine' packages are very strange.
>>
>> I'll continue work on it later in the day - and - get back as soon as
>> I've an explanation - or - at least some news ...
>>
>> With kind regards,
>>
>> Viktor
>>
>>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/leo-editor/b1cda5df-ae6e-4522-81c4-f30187aeccf5n%40googlegroups.com.