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]: Error message on startup [Minor] #3312

Open
RGD2 opened this issue Mar 16, 2024 · 1 comment
Open

[Bug]: Error message on startup [Minor] #3312

RGD2 opened this issue Mar 16, 2024 · 1 comment
Labels

Comments

@RGD2
Copy link

RGD2 commented Mar 16, 2024

Describe the bug

Error dialog on startup after restarting Bottles after choosing 'add a desktop shortcut' for an item, getting linked to a help page about changing permissions (flatseal was used to an an 'other files' access exemption for xdg-data/applications)

Appears to have used 'USER' in place of '$USER' when building a path?

To Reproduce

Start app.
Not sure about a reproduction sequence.

Package

Flatpak from Flathub

Distribution

Debian trixie

Debugging Information

Official Package: true
Version: '51.11'
DE/WM: plasmawayland
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.6.15-amd64
Disk:
    Total: 16662999040
    Free: 16662835200
RAM:
    MemTotal: 31.0GiB
    MemAvailable: 25.3GiB
Bottles_envs: null

Troubleshooting Logs

[Errno 2] No such file or directory: '/home/USER/.var/app/com.usebottles.bottles/data/applications//MW5--Epic Games/MW5Mercs--1709913519.609173.desktop'  File "/app/share/bottles/bottles/backend/utils/threading.py", line 62, in __target
    result = self.task_func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/app/share/bottles/bottles/backend/utils/manager.py", line 242, in create_desktop_entry
    with open(desktop_file, "w") as f:
         ^^^^^^^^^^^^^^^^^^^^^^^

Additional context

Note ~/.var/app/com.usebottles.bottles/data/applications/ is empty

@jeancf
Copy link

jeancf commented Apr 9, 2024

I experience the same issue on Arch Linux.

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

No branches or pull requests

3 participants