Skip to content

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

@Loklann

Description

@Loklann
  • 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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions