My go-to ‘what package do I need’ tool is pkgs.org.  They’re showing that the package for Fedora 38 is called xcb-until-cursor.  Linux library management leaves much to be desired, in general.


Hope this helps!
Jake

On Mar 17, 2024, at 3:45 PM, Viktor Ransmayr <[email protected]> wrote:


Hello Thomas,

Am So., 17. März 2024 um 15:41 Uhr schrieb Thomas Passin <[email protected]>:
Try the other suggested library in the error message:  xcb-cursor0 . I went through the same thing about a week ago on a different distro, and using the alternate suggestion solved it.  If that doesn't work either, run an internet search for "fedora qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin." This may surface another library name that your distro has.

I tried both libraries ! - See my log ...
 
On Sunday, March 17, 2024 at 3:20:17 PM UTC-4 [email protected] wrote:
Hello Edward, hello Thomas,

[email protected] schrieb am Freitag, 1. März 2024 um 07:32:23 UTC-5:
On Friday, March 1, 2024 at 5:33:34 AM UTC-5 Edward K. Ream wrote:
My question wasn't clear. I meant to ask whether potential errors concerning the missing xcb-cursor0 or libxcb-cursor0 libraries are a show stopper.

Imo, most linux users will know to run sudo apt install, so the missing library isn't a significant barrier to requiring PyQt6. A new FAQ entry might be all that is needed. Do you agree?

A year ago I might have said it was a show-stopper.  But now the error message from Ubuntu was clear enough that running its suggested command fixed the issue.  In years past I had to go to the internet and wade through a lot of useless posts to find the right command (I've saved it in my workbook to make it easier to find).  I do know that some non-technical people will read the error message and yet not know what to do, so I agree with a FAQ entry.

BTW, Ubuntu/XUbuntu is the only distro where I've encountered this issue so far.

I have encountered this problem as well, when I tried to install Leo from the devel-branch into a newly created Fedora 38 VM.

When I try to install the mentioned libraries I receive the following error msg:

###

    [user@Test-VM1 ~]$
    [user@Test-VM1 ~]$ ./leo &
    [1] 1513
    [user@Test-VM1 ~]$ setting leoID from os.getenv('USER'): 'user'

    qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
    qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
    This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

    Available platform plugins are: linuxfb, vnc, minimal, wayland-egl, eglfs, vkkhrdisplay, offscreen, wayland, xcb, minimalegl.

    ./leo: line 2:  1517 Aborted                 (core dumped) python ~/leo-editor/launchLeo.py $1

    [1]+  Exit 134                ./leo
    [user@Test-VM1 ~]$
    [user@fedora-38-minimal-vr ~]$ sudo dnf install libxcb-cursor0
    Last metadata expiration check: 2:19:22 ago on Sun Mar 17 12:29:58 2024.
    No match for argument: libxcb-cursor0
    Error: Unable to find a match: libxcb-cursor0
    [user@fedora-38-minimal-vr ~]$
    [user@fedora-38-minimal-vr ~]$ sudo dnf install xcb-cursor0
    Last metadata expiration check: 2:19:56 ago on Sun Mar 17 12:29:58 2024.
    No match for argument: xcb-cursor0
    Error: Unable to find a match: xcb-cursor0
    [user@fedora-38-minimal-vr ~]$

###

What am I missing ?

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/a257a7e3-343e-4f9e-bfde-f3c58b9f9b72n%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/CAAeSrGLyR7OSmHatFmn0gQGPHPj_8Ozyi4L9qt7PeKx_OZ%3DBZA%40mail.gmail.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/0301B43C-F374-4FAF-A737-5E2EC94FC34B%40gmail.com.

Reply via email to