invoiceninja / admin-portal

Invoice Ninja: Desktop/mobile admin portal built with Flutter
https://demo.invoiceninja.com
Other
1.56k stars 521 forks source link

Error with new Flatpak package #607

Open TriggerDingus opened 7 months ago

TriggerDingus commented 7 months ago

The day the new Flatpak was launched I uninstalled snapd altogether and installed the InvoiceNinja flatpak. It's great to have it in a flatpak, so mucho thanks for this new package.

I'm not sure what might be happening but I've found issues running the package on two separate machines. If I uninstall and re-install the flatpak, Invoiceninja fires right up from my GNOME desktop upon first run. However, I notice that after I close the application and then try to open it again, it doesn't start and presents no desktop errors.

To try and see if it's dumping an error somewhere, I went to the terminal and tried running it from there and it does start from there and then I do see an error, which I've attached.

cap1

hillelcoren commented 7 months ago

Hi,

Do you see the same problem with the latest Snap version of the app?

It's possible it's related to this issue: https://github.com/flutter/flutter/issues/137262

TriggerDingus commented 7 months ago

I installed snap to a VM and then installed InvoiceNinja to test it. I'm not seeing any issues with the snap version.

I'm guessing the flatpak needs a the flutter update based upon the above thread, which looks like has been resolved?

Until then, I'll keep running the old flatpak on the command line so I can clear snapd from the VM again.

TriggerDingus commented 6 months ago

I suspect the new Flatpak isn't going to be kept current..

hillelcoren commented 6 months ago

Both versions are up to date.

ashermiddleton commented 5 months ago

Also having this issue with the flatpak. Launching from the terminal using flatpak run com.invoiceninja.InvoiceNinja > /dev/null 2>&1 & is an acceptable workaround for now. This is on Fedora 39 KDE with version 5.0.148 of the flatpak.