Skip to content

[Bug]: Seemingly missing template for "Gaming" preset #4004

@moarmuffins

Description

@moarmuffins

Describe the bug

I am unable to create a "Gaming" bottle, while I was able to before. Possibly a bug since the latest update?

To Reproduce

-Launch Bottles
-Click + to create Bottle
-Select "Gaming" Bottle
-Name it & select runner
-Press "Create"

Package

Flatpak from Flathub

Distribution

Zorin 17.3

Debugging Information

Official Package: true
Version: '51.24'
DE/WM: zorin
Display:
    X.org: true
    X.org (port): :0
    Wayland: false
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-570-169/lib/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.8.0-64-generic
Disk:
    Total: 16325931008
    Free: 16325738496
RAM:
    MemTotal: 30.4GiB
    MemAvailable: 25.5GiB
Bottles_envs: null

Troubleshooting Logs

[Errno 2] No such file or directory: '/home/USER/.var/app/com.usebottles.bottles/data/bottles/templates/6f9c2059-819b-44cc-921f-16c15948ccc9'  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/managers/manager.py", line 1300, in create_bottle
    TemplateManager.unpack_template(template, config)

  File "/app/share/bottles/bottles/backend/managers/template.py", line 192, in unpack_template
    shutil.copytree(

  File "/usr/lib/python3.12/shutil.py", line 598, in copytree
    with os.scandir(src) as itr:
         ^^^^^^^^^^^^^^^

Additional context

Seems like one of the templates is missing, likely the "Gaming" one. I've tried reinstalling Bottles, which didn't help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions