sharkwouter / minigalaxy

A simple GOG client for Linux
https://sharkwouter.github.io/minigalaxy/
GNU General Public License v3.0
1.11k stars 71 forks source link

flatpak app failed to launch #614

Open abdulalalalalala opened 2 months ago

abdulalalalalala commented 2 months ago

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 commented 2 months ago

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?

sharkwouter commented 2 months ago

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

abdulalalalalala commented 2 months ago

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??

sharkwouter commented 2 months ago

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 commented 2 months ago

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