Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Bottles generated desktop files or flatpak run --command=bottles-cli com.usebottles.bottles run -p 'Hollow Knight' -b 'Hollow Knight' -- %u (or any other game) dont work anymore) #3595

Open
Sinaaaa opened this issue Dec 13, 2024 · 7 comments · May be fixed by #3596

Comments

@Sinaaaa
Copy link

Sinaaaa commented Dec 13, 2024

Describe the bug

Generated desktop files stopped working.
run doesn't find the correct files or config???

To Reproduce

run flatpak run --command=bottles-cli com.usebottles.bottles run -p 'Hollow Knight' -b 'Hollow Knight' -- %u or force exec generated desktop file.

Package

Flatpak from Flathub

Distribution

Arch BTW

Debugging Information

Official Package: true
Version: '51.16'
DE/WM: null
Display:
    X.org: true
    X.org (port): :0
    Wayland: false
Graphics:
    vendors:
        amd: &id002
            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
        intel: &id001
            vendor: intel
            envs:
                DRI_PRIME: '1'
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/intel_hasvk_icd.x86_64.json:/usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/intel_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/intel_hasvk_icd.i686.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/intel_icd.i686.json
    prime:
        integrated: *id001
        discrete: *id002
Kernel:
    Type: Linux
    Version: 6.12.4-arch1-1
Disk:
    Total: 8219500544
    Free: 8219324416
RAM:
    MemTotal: 15.3GiB
    MemAvailable: 13.2GiB
Bottles_envs: null


### Troubleshooting Logs

```shell
+> flatpak run --command=bottles-cli com.usebottles.bottles run -p 'Hollow Knight' -b 'Hollow Knight' -- %u
07:25:39 (INFO) Forcing offline mode 
ERROR:root:Config file not exists
Traceback (most recent call last):
  File "/app/share/bottles/bottles/backend/models/config.py", line 184, in load
    raise FileNotFoundError("Config file not exists")
FileNotFoundError: Config file not exists
INFO:root:Bottles found:
	 - Dead Cells
	 - Hollow Knight


### Additional context

_No response_
@Sinaaaa Sinaaaa changed the title [Bug]: flatpak run --command=bottles-cli com.usebottles.bottles run -p 'Hollow Knight' -b 'Hollow Knight' -- %u (or any other game does not work anymore) [Bug]: desktop files or flatpak run --command=bottles-cli com.usebottles.bottles run -p 'Hollow Knight' -b 'Hollow Knight' -- %u (or any other game does not work anymore) Dec 13, 2024
@Sinaaaa Sinaaaa changed the title [Bug]: desktop files or flatpak run --command=bottles-cli com.usebottles.bottles run -p 'Hollow Knight' -b 'Hollow Knight' -- %u (or any other game does not work anymore) [Bug]: desktop files or flatpak run --command=bottles-cli com.usebottles.bottles run -p 'Hollow Knight' -b 'Hollow Knight' -- %u or any other game dont work anymore) Dec 13, 2024
@Sinaaaa
Copy link
Author

Sinaaaa commented Dec 13, 2024

Of course if I click the game within the Bottles client all is well.

@Sinaaaa Sinaaaa changed the title [Bug]: desktop files or flatpak run --command=bottles-cli com.usebottles.bottles run -p 'Hollow Knight' -b 'Hollow Knight' -- %u or any other game dont work anymore) [Bug]: Bottles generated desktop files or flatpak run --command=bottles-cli com.usebottles.bottles run -p 'Hollow Knight' -b 'Hollow Knight' -- %u (or any other game) dont work anymore) Dec 13, 2024
@chriswegit
Copy link

Also generated links via "add to steam" are not working anymore - maybe the same type of issue?

@Kheperu
Copy link

Kheperu commented Dec 13, 2024

Same issue here.

flatpak run --command=bottles-cli com.usebottles.bottles run -p Roon -b Roon -- %u
09:39:17 (INFO) Forcing offline mode 
ERROR:root:Config file not exists
Traceback (most recent call last):
  File "/app/share/bottles/bottles/backend/models/config.py", line 184, in load
    raise FileNotFoundError("Config file not exists")
FileNotFoundError: Config file not exists
INFO:root:Bottles found:
         - Roon
         - MP3Tag
         - CUETool
         - Vortex
         - EA Launcher
         - Old Windows games
         - ComicRack

App starts fine if run from Bottles app, but not from terminal or Desktop Entry.

@Kheperu
Copy link

Kheperu commented Dec 13, 2024

Can confirm rolling back to previous version of Bottles (51.15) fixes the issue

@jntesteves jntesteves linked a pull request Dec 13, 2024 that will close this issue
6 tasks
@Leniptic
Copy link

Same problem, none of my desktop shortcuts work anymore, but every application can still be launched directly through Bottles. A bit annoying, lol

@NK01
Copy link

NK01 commented Dec 14, 2024

Same problem, none of my desktop shortcuts work anymore, but every application can still be launched directly through Bottles.

Can confirm rolling back to previous version of Bottles (51.15) fixes the issue

Can confirm this works

@prozessor666
Copy link

prozessor666 commented Dec 14, 2024

Can confirm as well. Do not even get an error message. Program just refuses to start.
Launching from within Bottles works as normal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants