Blockstream / green_qt

Blockstream Green App
GNU General Public License v3.0
203 stars 32 forks source link

AppImage not launching after update from 1.1.8 to 1.2.0 #82

Closed mattkwarren closed 1 year ago

mattkwarren commented 1 year ago

Description

Version

1.2.0 (AppImage)

Steps to reproduce

Try to launch the application

Expected behaviour

The application should launch

The application never launches, even after complete removal, resinstallation, and machine restart and updates.

Device or machine

Fedora 37

borgbyte commented 1 year ago

I think the issue is:

Try the following workaround for now:

QT_QPA_PLATFORM=xcb ./BlockstreamGreen-x86_64.AppImage
mattkwarren commented 1 year ago

The root issue is that the previous version worked on the exact same system that the update doesn't work on. I was always running Wayland, as most modern GNU/Linux systems do at this point. Shouldn't the update run fine without user input? The Green AppImage is the only variable that has changed, so I don't see how that suggests an issue with AppImage or Wayland. I appreciate the workaround though. For the record, it didn't work.

borgbyte commented 1 year ago

Shouldn't the update run fine without user input?

Yes, it will be fixed in the next release.

The Green AppImage is the only variable that has changed

Yes, here are the changes that caused this issue:

Internally Qt will pick the qpa plugin according to the environment, and it's selecting wayland. But seems that you are experiencing similar issues as:

https://github.com/moonlight-stream/moonlight-qt/issues/916 https://github.com/cnr-isti-vclab/meshlab/issues/738

For the record, it didn't work.

Not sure if you noticed a typo in the workaround command, if not please try again.

borgbyte commented 1 year ago

@mattkwarren I believe this has been fixed, please reopen otherwise. Just update to 1.2.3. You can also get the flatpak https://flathub.org/apps/com.blockstream.Green

darosior commented 6 months ago

I'm getting the same issue with version 2.0.3 here. The workaround doesn't work for me too.

$ QT_QPA_PLATFORM=xcb ./BlockstreamGreen-x86_64.AppImage 
qt.qpa.xcb: could not connect to display 
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: xcb.

Aborted

Trying to use 1.1.8 just in case i don't get the error message but it still aborts:

$ QT_QPA_PLATFORM=xcb ./BlockstreamGreen-x86_64\(2\).AppImage 
Aborted
borgbyte commented 5 months ago

@darosior please install libxcb-cursor0 and try again.