addwater icon indicating copy to clipboard operation
addwater copied to clipboard

[BUG] Flatpak not launching on CachyOS with Waterfox/Librewolf

Open Loklann opened this issue 1 year ago • 2 comments

  • [x] My issue is related to Add Water, the standalone installer app, and is not related to the Firefox GNOME Theme.

Describe the bug Flatpak will not launch.

To Reproduce Install and try to launch the flatpak.

Expected behavior The flatpak should launch.

Screenshots N/A

Technical Details (please complete the following information):

 - Distribution: CachyOS
 - Desktop environment: GNOME 48
 
 - Add Water version: 1.2.6 (latest at the time)
 - Add Water package format: Flatpak
 - Theme version: N/A

 - Browser name: Waterfox & Librewolf
 - Browser package format: Flatpak
 - Browser version: 6.5.11 & 141.0-1 (respectively)

Additional context N/A

Attach log file if necessary See below for the logs when trying to run AddWater from the command line.

 $ flatpak run dev.qwery.AddWater

/home/username/.var/app/dev.qwery.AddWater/cache/add-water already exists. Skipped.
/home/username/.var/app/dev.qwery.AddWater/cache/add-water/downloads already exists. Skipped.
/home/username/.var/app/dev.qwery.AddWater/cache/add-water/logs already exists. Skipped.
All paths initialized.
-----------------------
[INFO]   addwater.apps.firefox.firefox_details — 21:19 || Setting Firefox data path: 
[ERROR]   addwater.apps.firefox.firefox_details — 21:19 || Tried to set app_path to non-existant path. Path given: 
[CRITICAL]   addwater.apps.firefox.firefox_details — 21:19 || Could not find any valid data paths. App cannot function.
Traceback (most recent call last):
  File "/app/share/addwater/addwater/apps/firefox/firefox_details.py", line 90, in __init__
    self.set_data_path(current_path)
  File "/app/share/addwater/addwater/apps/firefox/firefox_details.py", line 167, in set_data_path
    raise FileNotFoundError("Invalid data path")
FileNotFoundError: Invalid data path

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/app/bin/addwater", line 46, in <module>
    sys.exit(main.main(VERSION))
             ^^^^^^^^^^^^^^^^^^
  File "/app/share/addwater/addwater/main.py", line 179, in main
    app = AddWaterApplication()
          ^^^^^^^^^^^^^^^^^^^^^
  File "/app/share/addwater/addwater/main.py", line 63, in __init__
    self.backends = self.construct_backends()
                    ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/share/addwater/addwater/main.py", line 133, in construct_backends
    ff_app_detail = FirefoxAppDetails()
                    ^^^^^^^^^^^^^^^^^^^
  File "/app/share/addwater/addwater/apps/firefox/firefox_details.py", line 94, in __init__
    self.set_data_path(available_paths[0]["path"])
                       ~~~~~~~~~~~~~~~^^^
IndexError: list index out of range

  • [x] I have included enough relevant information to solve my problem.

Loklann avatar Jul 31 '25 19:07 Loklann

Installing Firefox Flatpak will allow the app to launch. But it doesn't work with only Librewolf flatpak installed. However, installing Firefox, then removing it will allow the app to launch

Loklann avatar Jul 31 '25 19:07 Loklann

I am having the same issue on Bazzite with GNOME 49. I have the Firefox Flatpak installed, but I get the same failure.

sean89butler avatar Feb 23 '26 22:02 sean89butler