Bottles icon indicating copy to clipboard operation
Bottles copied to clipboard

[Bug]: 'latin-1' codec can't encode character '\u2501'

Open knuxify opened this issue 1 year ago • 0 comments

Appears to happen with at least allfonts (as well as individual font deps), msxml6 and riched20.

Downloading seems to get to 2% and then fails, showing the " failed to install" popup. The crash report window gives the following logs after trying to install msxml6:

Details

  • package: Flatpak
  • version: 2022.8.28-brescia-2

Log

'latin-1' codec can't encode character '\u2501' in position 41: ordinal not in range(256)  File "/app/share/bottles/bottles/frontend/utils/threading.py", line 63, in __target
    result = self.task_func(*args, **kwargs)

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

  File "/app/share/bottles/bottles/backend/managers/dependency.py", line 220, in __perform_steps
    if not self.__step_download_archive(step):

  File "/app/share/bottles/bottles/backend/managers/dependency.py", line 336, in __step_download_archive
    download = self.__manager.component_manager.download(

  File "/app/share/bottles/bottles/backend/managers/component.py", line 210, in download
    res = Downloader(

  File "/app/share/bottles/bottles/backend/downloader.py", line 73, in download
    self.__progress(count, block_size, total_size)

  File "/app/share/bottles/bottles/backend/downloader.py", line 96, in __progress
    print(

Additional information

  • Host OS: Alpine Linux edge
  • Locale:
LANG=C.UTF-8
LC_CTYPE=C.UTF-8
LC_NUMERIC=C.UTF-8
LC_TIME=C.UTF-8
LC_COLLATE=C.UTF-8
LC_MONETARY=C.UTF-8
LC_MESSAGES=C.UTF-8
LC_ALL=
  • Locale (after doing flatpak enter com.usebottles.bottles bash):
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

Debugging information

Version: 2022.8.28-brescia-2
Display:
    X.org: true
    X.org (port): :0
    Wayland: true
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: 5.15.63-0-lts
Distro:
    Name: GNOME
    Version: '"42 (Flatpak runtime)"'
Disk:
    Total: 33679126528
    Free: 33678987264
RAM:
    MemTotal: 62.7GiB
    MemAvailable: 59.3GiB
Bottles_envs: null

knuxify avatar Sep 03 '22 09:09 knuxify