bottlesdevs / Bottles

Run Windows software and games on Linux
https://usebottles.com
GNU General Public License v3.0
6.28k stars 262 forks source link

[Bug]: Freeze while installing Magic: The Gathering Arena #2832

Open Tamschi opened 1 year ago

Tamschi commented 1 year ago

Describe the bug

Bottles becomes unresponsive while installing Magic: The Gathering Arena.

To Reproduce

  1. Start Bottles through the command line.
  2. Create a new Gaming bottle with default settings.
  3. (Try to) install Magic: The Gathering Arena through the "install programs"¹ menu.
  4. Wait for the error to appear on the command line.

¹ The name may be a bit different, since I'm translating from German.

Package

Flatpak from Flathub

Distribution

EndeavourOS

Debugging Information

Official Package: true
Version: '51.5'
DE/WM: budgie-desktop
Display:
    X.org: true
    X.org (port): :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.1.21-1-lts
Disk:
    Total: 7776608256
    Free: 7776460800
RAM:
    MemTotal: 14.5GiB
    MemAvailable: 5.5GiB
Bottles_envs: null

Troubleshooting Logs

'charmap' codec can't decode byte 0x81 in position 21: character maps to <undefined>  File "/app/share/bottles/bottles/frontend/utils/threading.py", line 61, in __target
    result = self.task_func(*args, **kwargs)

  File "/app/share/bottles/bottles/backend/managers/installer.py", line 392, in install
    if not self.__install_dependencies(_config, dependencies, step_fn, is_final):

  File "/app/share/bottles/bottles/backend/managers/installer.py", line 149, in __install_dependencies
    res = self.__manager.dependency_manager.install(_config, _dep)

  File "/app/share/bottles/bottles/backend/managers/dependency.py", line 134, in install
    _res = self.install(config, [_ext_dep, _dep])

  File "/app/share/bottles/bottles/backend/managers/dependency.py", line 143, in install
    res = self.__perform_steps(config, step)

  File "/app/share/bottles/bottles/backend/managers/dependency.py", line 266, in __perform_steps
    self.__step_set_register_key(

  File "/app/share/bottles/bottles/backend/managers/dependency.py", line 640, in __step_set_register_key
    reg.add(

  File "/app/share/bottles/bottles/backend/wine/reg.py", line 78, in add
    res = self.launch(args, communicate=True, minimal=True, action_name="add")

  File "/app/share/bottles/bottles/backend/wine/wineprogram.py", line 71, in launch
    ).run()

  File "/app/share/bottles/bottles/backend/wine/winecommand.py", line 655, in run
    res = res.decode(enc)

  File "/usr/lib/python3.10/encodings/cp1254.py", line 15, in decode
    return codecs.charmap_decode(input,errors,decoding_table)

Additional context

My system locale is set to LANG=de_DE.UTF-8, which may be the reason it uses Windows-1254 rather than Windows-1252.

Tamschi commented 1 year ago

It seems to work by first installing EGS and installing MTGA through that instead.