Bottles icon indicating copy to clipboard operation
Bottles copied to clipboard

[Bug]: Failed to create placeholder directory/file.

Open Welved opened this issue 7 months ago • 0 comments

Describe the bug

When I attempt to create a sub-directory in the location of my choosing, it gives me a Failed to create placeholder directory/file. error. Bottles says it failed to create a placeholder directory, but... looking into my desired location; the placeholder is there. All the way up to drive_c. Why does bottles claim that it wasn't able to create a placeholder when a placeholder was written?

Saying all this, it only ever writes the placeholder successfully when I opt to "hard" path my desired directory through "Bottle Directory". I do have the default app directory pointed to my desired location, is that the issue? I would like to set my defaults so I can save my settings without thinking.

To Reproduce

  1. Install bottles
  2. Install flatseal
  3. Give every directory persmissoin that I can think of to bottles through flatseal.
  4. Set the default app directory for bottles to my desired location. That works fine.
  5. Create a bottles without changing the bottle directory, Error: Failed to create bottle directory.
  6. Create a bottles, changing the bottle's directory, Error: Failed to create placeholder directory/file. Bottles claims it was unable to create a placeholder directory/file, looking in the location that I have set; it is able to create a placeholder, all the way down to drive_c.

Package

Flatpak from Flathub

Distribution

Ubuntu 22.04

Debugging Information

Official Package: true
Version: '51.21'
DE/WM: ubuntu
Display:
    X.org: true
    X.org (port): :99.0
    Wayland: false
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.8.0-59-generic
Disk:
    Total: 32553357312
    Free: 32553193472
RAM:
    MemTotal: 60.6GiB
    MemAvailable: 56.8GiB
Bottles_envs: null

Troubleshooting Logs

12:07:07 (INFO) Launching with URI: None 
12:07:07 (INFO) [Activate] request received. 
12:07:07 (INFO) Bottles Started! 
12:07:09 (INFO) Performing Bottles checks… 
12:07:09 (INFO) Dxvks found:
	 - dxvk-2.6.1
 
12:07:09 (INFO) Vkd3ds found:
	 - vkd3d-proton-2.14.1
 
12:07:09 (INFO) Nvapis found:
	 - dxvk-nvapi-v0.9.0
 
12:07:09 (INFO) Latencyflexs found:
	 - latencyflex-v0.1.1
 
12:07:09 (INFO) Runners found:
	 - soda-9.0-1
	 - sys-wine-10.0
 
12:07:09 (ERROR) Config file not exists 
Traceback (most recent call last):
  File "/app/share/bottles/bottles/backend/models/config.py", line 183, in load
    raise FileNotFoundError("Config file not exists")
FileNotFoundError: Config file not exists
12:07:09 (INFO) Catalog dependencies loaded 
12:07:09 (INFO) Catalog installers loaded 
12:07:09 (INFO) Catalog components loaded

Additional context

No response

Welved avatar May 13 '25 17:05 Welved