Skip to content

[Bug]: Dependencies fail to install - returns crash report on restart #4076

@AJSarley223a

Description

@AJSarley223a

Describe the bug

I am unable to install cnc-ddraw needed for a specific program (Battle.net > SC2). Every time I try to install it, and I reboot, Bottles returns a crash report and the dependency disappears from the list. When I try to run the bottled program, it can't find the dependency I installed.

To Reproduce

  1. Create a gaming bottle with latest "ge-proton" (10.15)
  2. Go to Dependencies and install "cnc-ddraw"
  3. Restart Bottles

Package

Flatpak from Flathub

Distribution

Linux Mint 22.2 (Cinnamon)

Debugging Information

Official Package: true
Version: '51.24'
DE/WM: cinnamon
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/share/vulkan/icd.d/nvidia_icd.json
            nvngx_path: /usr/lib/x86_64-linux-gnu/GL/nvidia-580-65-06/lib/nvidia/wine
        intel: &id001
            vendor: intel
            envs:
                DRI_PRIME: '1'
            icd: /usr/share/vulkan/icd.d/intel_icd.x86_64.json:/usr/share/vulkan/icd.d/intel_hasvk_icd.x86_64.json:/usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/intel_icd.x86_64.json:/usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/intel_hasvk_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/intel_hasvk_icd.i686.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/intel_icd.i686.json
    prime:
        integrated: *id001
        discrete: *id002
Kernel:
    Type: Linux
    Version: 6.14.0-29-generic
Disk:
    Total: 8226324480
    Free: 8226136064
RAM:
    MemTotal: 15.3GiB
    MemAvailable: 11.4GiB
Bottles_envs: null

Troubleshooting Logs

15:27:07 (ERROR) Error while running async job: <function DependenciesView.update.<locals>.process_dependencies at 0x7024eede7920>
	Exception: idle_add() got an unexpected keyword argument 'plain'
 
  File "/app/share/bottles/bottles/backend/utils/threading.py", line 62, in __target
    result = self.task_func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/share/bottles/bottles/frontend/views/bottle_dependencies.py", line 141, in process_dependencies
    GLib.idle_add(new_dependency, dep, plain=True)

Additional context

No response

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