&&leo means the ‘leo’ command will only run if the previous statement (setting the env variable) succeeds.
Jake Sorry, I forgot you had already set the variable. But what's with the "&&leo"? The error message you should looks just like the ones I've seen without the variable. With it you're supposed to get more details. On Monday, July 22, 2024 at 8:50:10 AM UTC-4 Thomas Passin wrote:
Try setting that debug variable:
export QT_DEBUG_PLUGINS=1 Maybe the Qt message will be more informative. BTW, you don't need PyQt5. Leo doesn't use it any more. Please post the Qt error message here if you can't resolve the problem.Installed xcb-util-cursor, libxinerama. Reinstalled PyQt5, PyQt6 - to no avail.
Here is a page that has some good information about fixing this problem in case my previous post doesn't:
Briefly, you can get a more complete error message by setting this environmental variable before launching Leo:
export QT_DEBUG_PLUGINS=1
On Monday, July 22, 2024 at 6:22:55 AM UTC-4 Thomas Passin wrote:
This error comes up with small variations for some Linux systems. Many times the error message will continue to suggest a command line for installing the required library. That library may already be installed but not the right version. If there was no suggestion, search online for how to install it for your system. Often the library is named libxcb-cursor0 but sometimes it goes by a different name. Here's a site than can help finding the right install package: http://pkgs.org/
On Ubuntu systems, this command used to work (I don't know if it still does):
sudo apt-get install libxcb-xinerama0
Sometimes the required library goes by this name: libqxcb.so instead. Sometimes the error message will suggest two possible names instead of just the one. Try them both if the first doesn't do the job.
Issuing
export QT_DEBUG_PLUGINS=1 && leo
yields
setting leoID from os.getenv('USER'): 'XXXXX' qt.core.plugin.factoryloader: checking directory path "/usr/bin/platforms" ... qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Everything with "xcb" in its name seems installed (I'am on endeavourOS).
Any idea, how I could proceed?
What I did so far: - Update the whole system (endeavourOS) - Update Leo from PYPI
Cheers Paul
--
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/c65cb33b-6712-4c78-98b1-c74db329a4d5n%40googlegroups.com.
--
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/F89BB027-FE95-44F6-808B-F964E9257A73%40gmail.com.
|