Skip to content

[Bug]: bottles-cli cannot be used to setup bottles declaratively #4539

@Letgamer

Description

@Letgamer

Describe the bug

I want to setup bottles declaratively via the bottles-cli by creating a default bottle:

bottles-cli new --bottle-name test --environment application --arch win64

After installation without ever using the GUI.
But it leads to the following error:

21:46:59 (ERROR) Data file not found. Creating new one.
Missing essential components. Installing…
No managed runners found.
Missing essential components. Installing…
No managed runners found.
Missing essential components. Installing…
No managed runners found.
Fail to install components, tried 3 times.

Maybe a bottles-cli init/setup command is needed to download the initial files like the GUI does, because after running the initial setup in the GUI the command works successfully

To Reproduce

Package

Flatpak from Flathub

Distribution

NixOS

Debugging Information

bottles-cli info health-check                                                                                                   21:43:54
Official Package: true
Version: '64.1'
DE/WM: null
Display:
    X.org: true
    X.org (port): :0
    Wayland: true
Graphics:
    vendors:
        intel:
            vendor: intel
            envs:
                DRI_PRIME: '1'
            icd: /run/opengl-driver/share/vulkan/icd.d/intel_hasvk_icd.x86_64.json:/run/opengl-driver/share/vulkan/icd.d/intel_icd.x86_64.json
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 6.18.33
Disk:
    Total: 3949277184
    Free: 3949277184
RAM:
    MemTotal: 7.4GiB
    MemAvailable: 3.6GiB
Bottles_envs: null

Troubleshooting Logs

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions