TagStudio icon indicating copy to clipboard operation
TagStudio copied to clipboard

[Bug]: Unable to run on fresh install Ubuntu 24.04 using X11

Open faellacurcio opened this issue 1 year ago • 3 comments

Checklist

  • [X] I am using an up-to-date version.
  • [X] I have read the documentation.
  • [X] I have searched existing issues.

TagStudio Version

Alpha v9.3.2

Operating System & Version

Ubuntu 24.04

Description

I have found that the latest release of TagStudio won't open on my freshly installed (one month) Ubuntu 24.04 operating system. When I try to open I get the following:

❯ ./tagstudio
[ResourceManager] 4 resources registered
[QT DRIVER] Config File not specified, defaulting to /home/rafael/.config/TagStudio/TagStudio.ini
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 "/home/rafael/Downloads/tagstudio_linux_x86_64/tagstudio/_internal/cv2/qt/plugins" 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: xcb, wayland, minimalegl, eglfs, vnc, offscreen, wayland-egl, vkkhrdisplay, linuxfb, minimal.

[1]    10938 IOT instruction (core dumped)  ./tagstudio

After googling a bit and tweaking around, I found that if I do login using "Ubuntu Wayland".

Expected Behavior

Open the program normally.

Steps to Reproduce

  1. Install Ubuntu 24.04
  2. Update/upgrade
  3. Download release from TagStudio
  4. Open Terminal and run ./tagstudio

Logs

❯ ./tagstudio [ResourceManager] 4 resources registered [QT DRIVER] Config File not specified, defaulting to /home/rafael/.config/TagStudio/TagStudio.ini 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 "/home/rafael/Downloads/tagstudio_linux_x86_64/tagstudio/_internal/cv2/qt/plugins" 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: xcb, wayland, minimalegl, eglfs, vnc, offscreen, wayland-egl, vkkhrdisplay, linuxfb, minimal.

[1] 10938 IOT instruction (core dumped) ./tagstudio

faellacurcio avatar Aug 25 '24 09:08 faellacurcio

You're missing libxcb-cursor0 (running apt install libxcb-cursor0 should fix it)

Duplicate of #182

seakrueger avatar Aug 25 '24 12:08 seakrueger

Had the same issue and @seakrueger message fixed it. I think we can close + Make an entry in the wiki

Bamowen avatar Aug 30 '24 06:08 Bamowen

Yes, try and check to see if it is a library or dependency issue before creating an issue. Thanks!

ethanannane avatar Sep 08 '24 00:09 ethanannane