minigalaxy icon indicating copy to clipboard operation
minigalaxy copied to clipboard

flatpak app failed to launch

Open abdulalalalalala opened this issue 1 year ago • 5 comments

Steps to reproduce:

  1. run the app flatpak run io.github.sharkwouter.Minigalaxy
  2. got errors as followed:
Gtk-message: 11:42:57.348: Failed to load module "canberra-gtk-module"
Gtk-message: 11:42:57.660: Failed to load module "canberra-gtk-module"
Gtk-message: 11:42:57.661: Failed to load module "canberra-gtk-module"
Failed to create GBM buffer of size 386x494: Invalid argument

(minigalaxy:2): Gtk-CRITICAL **: 11:44:08.245: gtk_main_quit: assertion 'main_loops != NULL' failed

OS: PopOS 22.04 Windowing System: X11

From what I understand, libcanberra is responsible for playing system sounds. Which i guess minigalaxy will play when application is launched for the first time??? (sry, idk much on the UI/UX details, it's my first time installing & trying launching minigalaxy)

abdulalalalalala avatar Sep 05 '24 18:09 abdulalalalalala

If that's the case, the failure to play sound shouldn't result to application not being able to launch. So instead of failing, how about handle this error gracefully and emit a "warning" instead?

abdulalalalalala avatar Sep 05 '24 18:09 abdulalalalalala

Could you try the new flatpak build from today? Otherwise you might want to try the native version.

sharkwouter avatar Sep 06 '24 21:09 sharkwouter

It's showing the same error.

For some more context, on PopOS 22.04 (fresh install), there is no python executable, there is python3. And its version current is 3.10. But im not too sure how that might work inside of a flatpak sandbox.

Hopefully this helps a bit more??

abdulalalalalala avatar Sep 07 '24 00:09 abdulalalalalala

Okay, that is a shame. What the python executable is called should not influence the funcitonality. It looks like something is going wrong in creating the window, but I don't understand. This looks flatpak specific.

sharkwouter avatar Sep 09 '24 12:09 sharkwouter

You might want to report this with your full system specs here: https://github.com/flathub/io.github.sharkwouter.Minigalaxy

sharkwouter avatar Sep 09 '24 12:09 sharkwouter