Shouldn't I mark this thread as solved? How do I do that? And, OT, yet I could not figure how to answer a specific poster. There's only a "Reply All" button.
On Tuesday, July 23, 2024 at 7:44:14 AM UTC+2 [email protected] wrote: > I knew I am right here: > > QT_QPA_PLATFORM_PLUGIN_PATH= /usr/lib/qt6/plugins/platforms/ > QT_PLUGIN_PATH= /usr/lib/qt6/plugins/platforms > > did it! So, yet no need to downgrade. Many many thanks! > > As for the reinstall of endeavourOS: Could mean, that there are new Qt > libs and packages, that fix the bug. I'll check that. > > Again: Many thanks to you all! > Paul > > On Monday, July 22, 2024 at 5:44:42 PM UTC+2 [email protected] wrote: > >> Super fun. >> >> You could try setting (one or both of) these before running leo, and >> seeing if that makes any difference. >> >> QT_QPA_PLATFORM_PLUGIN_PATH= /usr/lib/qt6/plugins/platforms/ >> QT_PLUGIN_PATH= /usr/lib/qt6/plugins/platforms >> >> Another possibility is a bad copy of libqxcb.so in your >> /home/<username>/.local/lib/python3.<version>/site-packages directory >> somewhere. I've never installed leo via pip, but if it pulled in a copy of >> that lib somewhere in there that's not playing well with the system libs, >> that'd be a possibility. IIRC the 'cv2' python lib ships that library with >> it, maybe see if that's in there somehow? Or just do a recursive find for >> it -- `find /home/<username>/.local/lib/python3.<version>/site-packages >> -name libqxcb.so -ls` (or similar). >> >> Sorry this is being one of those mystery pains. :( >> >> Jake >> >> On Mon, Jul 22, 2024 at 11:32 AM [email protected] <[email protected]> >> wrote: >> >>> Yes, /usr/lib/qt6/plugins/platforms/libqxcb.so exists. Setting the >>> mentioned env var to wayland brings up the same error, with "wayland" >>> instead of "xcb" in the error text. It seems that there is a directory path >>> that didn't get set or has been deleted: 'not found in ""'. >>> >>> On Monday, July 22, 2024 at 5:24:57 PM UTC+2 [email protected] wrote: >>> >>>> Does the file /usr/lib/qt6/plugins/platforms/libqxcb.so exist on your >>>> system? >>>> >>>> Could you try re-installing package `qt6-base`, if not? >>>> >>>> Jake >>>> >>>> On Mon, Jul 22, 2024 at 10:56 AM Thomas Passin <[email protected]> >>>> wrote: >>>> >>>>> It's still got to be some library in the xcb library system. So far as >>>>> I can see it's a Qt problem, not really a Leo one - although that doesn't >>>>> help, does it? Just having them already installed isn't always enough. I >>>>> remember one of my VMs had the culprit installed, but after I ran the >>>>> installation command for it then Qt worked. I don't remember any >>>>> details, >>>>> though. I also recall that in one case the library name was different >>>>> from >>>>> the one or two that had been suggested in the error message. That time I >>>>> lucked out with an Internet search. >>>>> >>>>> Which distro is this, BTW? >>>>> >>>>> On Monday, July 22, 2024 at 10:48:32 AM UTC-4 [email protected] wrote: >>>>> >>>>>> Latest qt6-tools are Installed already. Installed qtutilities-qt6. No >>>>>> luck. >>>>>> >>>>>> As for the "&& leo" after setting the env var: That means: "and then >>>>>> start leo". >>>>>> >>>>>> Setting the env var did not show more helpful text, alas. >>>>>> >>>>>> On Monday, July 22, 2024 at 3:34:41 PM UTC+2 [email protected] >>>>>> wrote: >>>>>> >>>>>>> Apologies, pkg name is ‘qt6-tools’, not ‘qt6-utils’. >>>>>>> >>>>>>> Jake >>>>>>> >>>>>>> On Jul 22, 2024, at 9:30 AM, Jacob Peck <[email protected]> wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> Thomas, their very first post in this thread indicated they did run >>>>>>> with that env var set. >>>>>>> >>>>>>> Please try (re-)installing qt6-utilis. That fixed it on my Arch >>>>>>> install, and I assume Endeavor uses the arch packages. >>>>>>> >>>>>>> Jake >>>>>>> >>>>>>> On Jul 22, 2024, at 8:50 AM, Thomas Passin <[email protected]> >>>>>>> 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. >>>>>>> On Monday, July 22, 2024 at 7:20:05 AM UTC-4 [email protected] wrote: >>>>>>> >>>>>>>> Installed xcb-util-cursor, libxinerama. Reinstalled PyQt5, PyQt6 - >>>>>>>> to no avail. >>>>>>>> >>>>>>>> >>>>>>>> On Monday, July 22, 2024 at 12:28:47 PM UTC+2 [email protected] >>>>>>>> wrote: >>>>>>>> >>>>>>>>> Here is a page that has some good information about fixing this >>>>>>>>> problem in case my previous post doesn't: >>>>>>>>> “Failed to load platform plugin ”xcb“ ” while launching qt5 app on >>>>>>>>> linux >>>>>>>>> <https://askubuntu.com/questions/308128/failed-to-load-platform-plugin-xcb-while-launching-qt5-app-on-linux-without> >>>>>>>>> >>>>>>>>> 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. >>>>>>>>>> On Monday, July 22, 2024 at 5:40:34 AM UTC-4 [email protected] >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>>> 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/c2d16273-5d73-45d6-85f0-364af7f1d0f4n%40googlegroups.com >>>>>>> >>>>>>> <https://groups.google.com/d/msgid/leo-editor/c2d16273-5d73-45d6-85f0-364af7f1d0f4n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>> . >>>>>>> >>>>>>> -- >>>>> 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/093c6127-0812-49d3-a929-9af9420a8d8dn%40googlegroups.com >>>>> >>>>> <https://groups.google.com/d/msgid/leo-editor/093c6127-0812-49d3-a929-9af9420a8d8dn%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>> -- >>> 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/e899e36b-de37-4b5d-92f2-bb0110ca5ce7n%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/leo-editor/e899e36b-de37-4b5d-92f2-bb0110ca5ce7n%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- 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/bab60305-2d14-4620-a438-538fe87d77e7n%40googlegroups.com.
