bottlesdevs / Bottles

Run Windows software and games on Linux
https://usebottles.com
GNU General Public License v3.0
6.28k stars 262 forks source link

[Bug]: Opening programs/games using xdg-open returns "Executable file path does not exist or is not accessible by the Flatpak: bottles:run" #3507

Open vallx-ny opened 1 week ago

vallx-ny commented 1 week ago

Describe the bug

I am using Cartridges as my main game launcher, and this programs makes use of xdg-open, and whenever I run xdg-open manually or from Cartridges, I get the Bottles window "Select Bottle"(even thought the program is already in a bottle).

image

And after I choose - nothing happens. Running Bottles from the terminal so I can see what is going on I get this output:

01:23:53 (INFO) Launching with URI: ['bottles:run/soda/RimWorld'] 01:23:53 (INFO) Bottles found:

  • soda 01:24:20 (INFO) Forcing offline mode Executable file path does not exist or is not accessible by the Flatpak: bottles:run/soda/RimWorld Not a common executable type, trying to launch it anyway. fsync: up and running. fsync: up and running. ShellExecuteEx exception seems occurred.

And after that, nothing happens again.

Opening the game/program from the Bottles UI works without any problems

To Reproduce

  1. use xdg-open to try open a program/game in bottles

Package

Flatpak from Flathub

Distribution

Arch Linux

Debugging Information

Official Package: true
Version: '51.13'
DE/WM: plasma
Display:
    X.org: true
    X.org (port): :1
    Wayland: true
Graphics:
    vendors:
        amd:
            vendor: amd
            envs:
                DRI_PRIME: '1'
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/radeon_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/radeon_icd.i686.json
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 6.10.10-arch1-1
Disk:
    Total: 8285044736
    Free: 8284893184
RAM:
    MemTotal: 15.4GiB
    MemAvailable: 4.9GiB
Bottles_envs: null

Troubleshooting Logs

01:23:53 (INFO) Launching with URI: ['bottles:run/soda/RimWorld'] 
01:23:53 (INFO) Bottles found:
    - soda
01:24:20 (INFO) Forcing offline mode 
Executable file path does not exist or is not accessible by the Flatpak: bottles:run/soda/RimWorld
Not a common executable type, trying to launch it anyway.
fsync: up and running.
fsync: up and running.
ShellExecuteEx exception seems occurred.

Additional context

I tried reinstalling Bottles, but it didn't help It's also not working on my laptop(also using the flathub version) - which makes me think it might not be a configuration thing. Hopefully the info I gave is enough, It used to work fine before, I'm not sure what could have caused it.

MrKoroshiya commented 6 days ago

Exact same issue here! Testing from Fedora 40.