Bug 2149005 - pyanaconda.modules.common.errors.general.AnacondaError: 'utf-8' codec can't decode byte 0xa2 in position 547: invalid start byte
Summary: pyanaconda.modules.common.errors.general.AnacondaError: 'utf-8' codec can't d...
Keywords:
Status: CLOSED DUPLICATE of bug 2148480
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 37
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:fd106f73e727c96eccaaf3584e5...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-28 14:15 UTC by s.kryuchkov84
Modified: 2022-11-29 15:04 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-29 15:04:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (1.41 MB, text/plain)
2022-11-28 14:15 UTC, s.kryuchkov84
no flags Details
File: anaconda.log (22.12 KB, text/plain)
2022-11-28 14:15 UTC, s.kryuchkov84
no flags Details
File: dbus.log (3.60 KB, text/plain)
2022-11-28 14:15 UTC, s.kryuchkov84
no flags Details
File: environ (562 bytes, text/plain)
2022-11-28 14:15 UTC, s.kryuchkov84
no flags Details
File: journalctl (1.03 MB, text/plain)
2022-11-28 14:15 UTC, s.kryuchkov84
no flags Details
File: lsblk_output (3.51 KB, text/plain)
2022-11-28 14:15 UTC, s.kryuchkov84
no flags Details
File: nmcli_dev_list (1.53 KB, text/plain)
2022-11-28 14:15 UTC, s.kryuchkov84
no flags Details
File: os_info (712 bytes, text/plain)
2022-11-28 14:15 UTC, s.kryuchkov84
no flags Details
File: program.log (25.91 KB, text/plain)
2022-11-28 14:15 UTC, s.kryuchkov84
no flags Details
File: storage.log (321.23 KB, text/plain)
2022-11-28 14:15 UTC, s.kryuchkov84
no flags Details

Description s.kryuchkov84 2022-11-28 14:15:42 UTC
Description of problem:
i just followed the instructions for installing fedora, perhaps it happened because i chose not only the English keyboard, but also the Russian one

Version-Release number of selected component:
anaconda-core-37.12.6-1.fc37.x86_64

The following was filed automatically by anaconda:
anaconda 37.12.6 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.11/site-packages/dasbus/client/handler.py", line 497, in _handle_method_error
    raise exception from None
  File "/usr/lib/python3.11/site-packages/dasbus/client/handler.py", line 477, in _get_method_reply
    return self._handle_method_error(error)
  File "/usr/lib/python3.11/site-packages/dasbus/client/handler.py", line 444, in _call_method
    return self._get_method_reply(
  File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/common/task/__init__.py", line 46, in sync_run_task
    task_proxy.Finish()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation.py", line 439, in run_install_bootloader
    sync_run_task(STORAGE.get_proxy(task))
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation_tasks.py", line 246, in _run
    self._task_cb(*self._task_args, **self._task_kwargs)
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation_tasks.py", line 75, in start
    self._run()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation_tasks.py", line 188, in _run
    item.start()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation_tasks.py", line 75, in start
    self._run()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation_tasks.py", line 188, in _run
    item.start()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation_tasks.py", line 75, in start
    self._run()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation_tasks.py", line 188, in _run
    item.start()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation_tasks.py", line 75, in start
    self._run()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation.py", line 515, in _run_installation
    queue.start()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation.py", line 80, in run
    self._run_installation(
  File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/common/task/task.py", line 109, in _task_run_callback
    self._set_result(self.run())
  File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/common/task/task.py", line 96, in _thread_run_callback
    self._task_run_callback()
  File "/usr/lib64/python3.11/threading.py", line 975, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.11/site-packages/pyanaconda/threading.py", line 275, in run
    threading.Thread.run(self)
  File "/usr/lib64/python3.11/site-packages/pyanaconda/threading.py", line 166, in raise_if_error
    raise exc_info[1]
  File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/common/task/task.py", line 175, in finish
    threadMgr.raise_if_error(self._thread_name)
  File "/usr/lib64/python3.11/site-packages/pyanaconda/ui/gui/spokes/installation_progress.py", line 75, in _on_installation_done
    self._task.finish()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/core/signal.py", line 41, in emit
    func(obj, *args, **kargs)
  File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/common/task/runnable.py", line 115, in _task_stopped_callback
    self._stopped_signal.emit()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/core/async_utils.py", line 68, in _idle_method
    func(*args, **kwargs)
pyanaconda.modules.common.errors.general.AnacondaError: 'utf-8' codec can't decode byte 0xa2 in position 547: invalid start byte

Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --graphical
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz root=live:CDLABEL=FEDORA37 rd.live.image rd.live.check quiet
dnf.librepo.log: 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         6.0.7-301.fc37.x86_64
other involved packages: python3-dasbus-1.6-6.fc37.noarch, python3-libs-3.11.0-1.fc37.x86_64, anaconda-gui-37.12.6-1.fc37.x86_64
product:        Fedora
release:        Fedora release 37 (Thirty Seven)
type:           anaconda
version:        37

Comment 1 s.kryuchkov84 2022-11-28 14:15:46 UTC
Created attachment 1928027 [details]
File: anaconda-tb

Comment 2 s.kryuchkov84 2022-11-28 14:15:47 UTC
Created attachment 1928028 [details]
File: anaconda.log

Comment 3 s.kryuchkov84 2022-11-28 14:15:48 UTC
Created attachment 1928029 [details]
File: dbus.log

Comment 4 s.kryuchkov84 2022-11-28 14:15:49 UTC
Created attachment 1928030 [details]
File: environ

Comment 5 s.kryuchkov84 2022-11-28 14:15:52 UTC
Created attachment 1928031 [details]
File: journalctl

Comment 6 s.kryuchkov84 2022-11-28 14:15:53 UTC
Created attachment 1928032 [details]
File: lsblk_output

Comment 7 s.kryuchkov84 2022-11-28 14:15:54 UTC
Created attachment 1928033 [details]
File: nmcli_dev_list

Comment 8 s.kryuchkov84 2022-11-28 14:15:56 UTC
Created attachment 1928034 [details]
File: os_info

Comment 9 s.kryuchkov84 2022-11-28 14:15:57 UTC
Created attachment 1928035 [details]
File: program.log

Comment 10 s.kryuchkov84 2022-11-28 14:15:59 UTC
Created attachment 1928036 [details]
File: storage.log

Comment 11 Vendula Poncova 2022-11-29 15:04:18 UTC
From storage.log:

INFO:anaconda.threading:Thread Failed: AnaTaskThread-InstallBootloaderTask-1 (140449484011200)
ERROR:anaconda.modules.common.task.task:Thread AnaTaskThread-InstallBootloaderTask-1 has failed: Traceback (most recent call last):
  File "/usr/lib64/python3.11/site-packages/pyanaconda/threading.py", line 275, in run
    threading.Thread.run(self)
  File "/usr/lib64/python3.11/threading.py", line 975, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/common/task/task.py", line 96, in _thread_run_callback
    self._task_run_callback()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/common/task/task.py", line 109, in _task_run_callback
    self._set_result(self.run())
                     ^^^^^^^^^^
  File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/storage/bootloader/installation.py", line 139, in run
    install_boot_loader(storage=self._storage)
  File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/storage/bootloader/utils.py", line 215, in install_boot_loader
    storage.bootloader.write()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/storage/bootloader/efi.py", line 119, in write
    self.install()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/storage/bootloader/efi.py", line 128, in install
    self.remove_efi_boot_target()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/storage/bootloader/efi.py", line 92, in remove_efi_boot_target
    buf = self.efibootmgr(capture=True)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/storage/bootloader/efi.py", line 61, in efibootmgr
    return exec_func("efibootmgr", list(args), **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/site-packages/pyanaconda/core/util.py", line 374, in execWithCapture
    return _run_program(argv, stdin=stdin, root=root, log_output=log_output,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/site-packages/pyanaconda/core/util.py", line 286, in _run_program
    output_string = output_string.decode("utf-8")
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa2 in position 547: invalid start byte

It looks like a duplicate of 2148480.

*** This bug has been marked as a duplicate of bug 2148480 ***


Note You need to log in before you can comment on or make changes to this bug.