Open MegaCarp opened 4 months ago
It looks like you may need to update Flatpak - see this similar issue from another project - https://github.com/PrismLauncher/PrismLauncher/issues/866
Just curious if you were able to resolve this with a Flatpak update or anything else?
I have the same error after installing the app from the Nix package manager, not flatpak. My error message in its entirety:
❯ supersonic
2024/11/02 11:50:34 Error reading app config file: open /home/tommy/.config/supersonic/config.toml: no such file or directory
2024/11/02 11:50:34 Starting supersonic...
2024/11/02 11:50:34 Using config dir: /home/tommy/.config/supersonic
2024/11/02 11:50:34 Using cache dir: /home/tommy/.cache/supersonic
2024/11/02 11:50:34 failed to load theme file "": open /home/tommy/.config/supersonic/themes: no such file or directory
go-gl/glfw: internal error: an uncaught error has occurred: APIUnavailable: GLX: No GLXFBConfigs returned
go-gl/glfw: Please report this in the Go package issue tracker.
go-gl/glfw: internal error: an invalid error was not accepted by the caller: FormatUnavailable: GLX: Failed to find a suitable GLXFBConfig
go-gl/glfw: Please report this in the Go package issue tracker.
panic: FormatUnavailable: GLX: Failed to find a suitable GLXFBConfig
goroutine 1 [running, locked to thread]:
github.com/go-gl/glfw/v3.3/glfw.acceptError({0xc0003bf728, 0x2, 0x13109ab0?})
github.com/go-gl/glfw/v3.3/glfw@v0.0.0-20240506104042-037f3cc74f2a/error.go:181 +0x225
github.com/go-gl/glfw/v3.3/glfw.CreateWindow(0xa, 0xa, {0xf0e3e4?, 0xe?}, 0x0, 0x0)
github.com/go-gl/glfw/v3.3/glfw@v0.0.0-20240506104042-037f3cc74f2a/window.go:349 +0x15d
fyne.io/fyne/v2/internal/driver/glfw.(*window).create.func1()
fyne.io/fyne/v2@v2.5.0/internal/driver/glfw/window_desktop.go:751 +0x11f
fyne.io/fyne/v2/internal/driver/glfw.runOnMain(0x0?)
fyne.io/fyne/v2@v2.5.0/internal/driver/glfw/loop.go:45 +0xd0
fyne.io/fyne/v2/internal/driver/glfw.(*window).create(0xc0004a5dc0)
fyne.io/fyne/v2@v2.5.0/internal/driver/glfw/window_desktop.go:723 +0x56
fyne.io/fyne/v2/internal/driver/glfw.(*gLDriver).SetSystemTrayMenu.func1()
fyne.io/fyne/v2@v2.5.0/internal/driver/glfw/driver_desktop.go:71 +0xfb
sync.(*Once).doSlow(0xedaa20?, 0x1f6a401?)
sync/once.go:76 +0xb4
sync.(*Once).Do(...)
sync/once.go:67
fyne.io/fyne/v2/internal/driver/glfw.(*gLDriver).SetSystemTrayMenu(0xc0004d4a90, 0xc0007e20f0)
fyne.io/fyne/v2@v2.5.0/internal/driver/glfw/driver_desktop.go:42 +0x4d
fyne.io/fyne/v2/app.(*fyneApp).SetSystemTrayMenu(0xeff74c?, 0xc0007e20f0?)
fyne.io/fyne/v2@v2.5.0/app/app_xdg.go:105 +0x3c
github.com/dweymouth/supersonic/ui.(*MainWindow).SetupSystemTrayMenu(0xc000124980, {0xf0808f, 0xa}, {0x107e4b8?, 0xc0002e4960})
github.com/dweymouth/supersonic/ui/mainwindow.go:268 +0x92c
github.com/dweymouth/supersonic/ui.NewMainWindow({0x107e4b8, 0xc0002e4960}, {0xc0000b4688?, 0xc0000b4698?}, {0xf0808f, 0xa}, {0xf01b1a, 0x6}, 0xc000323888)
github.com/dweymouth/supersonic/ui/mainwindow.go:60 +0x306
main.main()
github.com/dweymouth/supersonic/main.go:53 +0x293
OS:
Linux fedora-pc 6.8.12-201.fsync.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC TKG Wed Jun 19 10:00:02 UTC 2024 x86_64 GNU/Linux
package source: flatpak
flatpak run io.github.dweymouth.supersonic