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]: Use quotes for all paths given to bottles #3727

Open
Damglador opened this issue Jan 26, 2025 · 0 comments
Open

[Bug]: Use quotes for all paths given to bottles #3727

Damglador opened this issue Jan 26, 2025 · 0 comments
Labels

Comments

@Damglador
Copy link

Describe the bug

I pass '/home/damglador/Documents/Translations/Risk of Rain (2013)/data.win' bottles gets it and does '/home/damglador/.var/app/com.usebottles.bottles/data/bottles/runners/soda-9.0-1/bin/wine64 /home/damglador/Programs/UndertaleModTool_v0.6.0.0/UndertaleModTool.exe /home/damglador/Documents/Translations/Risk of Rain (2013)/data.win' the issue lies in /home/damglador/Documents/Translations/Risk of Rain (2013)/data.win - it doesn't have quotes around it and it just breaks the execution in this case, or doesn't pass the file to the program right.

To Reproduce

  1. Create a folder with spaces in the name
  2. Put a file in it
  3. Open the file with a program in Bottles

Package

Flatpak from Flathub

Distribution

Arch Linux

Debugging Information

[damglador@Parasite:~]$ flatpak run --command=bottles-cli com.usebottles.bottles info health-check
F: Not sharing "/usr/share/icons" with sandbox: Path "/usr" is reserved by Flatpak
Official Package: true
Version: '51.18'
DE/WM: plasma
Display:
    X.org: true
    X.org (port): :1
    Wayland: true
Graphics:
    vendors:
        nvidia: &id002
            vendor: nvidia
            envs:
                __NV_PRIME_RENDER_OFFLOAD: '1'
                __GLX_VENDOR_LIBRARY_NAME: nvidia
                __VK_LAYER_NV_optimus: NVIDIA_only
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/nvidia_icd.json
            nvngx_path: /usr/lib/x86_64-linux-gnu/GL/nvidia-565-77/extra/nvidia/wine
        amd: &id001
            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: *id001
        discrete: *id002
Kernel:
    Type: Linux
    Version: 6.12.10-zen1-1-zen
Disk:
    Total: 7248330752
    Free: 7248146432
RAM:
    MemTotal: 13.5GiB
    MemAvailable: 8.1GiB
Bottles_envs: null

Troubleshooting Logs

[damglador@Parasite:~]$ flatpak run --command=bottles-cli com.usebottles.bottles run -p UndertaleModTool -b 'Programs' -- '/home/damglador/Documents/Translations/Risk of Rain (2013)/data.win'
F: Not sharing "/usr/share/icons" with sandbox: Path "/usr" is reserved by Flatpak
06:22:23 (INFO) Forcing offline mode 
Bottles runtime was requested but not found
/bin/sh: -c: рядок 1: синтаксична помилка коло неочікуваної лексеми «(»
/bin/sh: -c: рядок 1: `/home/damglador/.var/app/com.usebottles.bottles/data/bottles/runners/soda-9.0-1/bin/wine64 /home/damglador/Programs/UndertaleModTool_v0.6.0.0/UndertaleModTool.exe /home/damglador/Documents/Translations/Risk of Rain (2013)/data.win'

Additional context

The AUR package at least starts the program, but still doesn't pass the file.

@jntesteves jntesteves added the Bug label Jan 27, 2025
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

2 participants