Bug 2293889 - pyanaconda.modules.common.errors.general.AnacondaError: 'utf-8' codec can't decode byte 0xe9 in position 498: invalid continuation byte
Summary: pyanaconda.modules.common.errors.general.AnacondaError: 'utf-8' codec can't d...
Keywords:
Status: CLOSED DUPLICATE of bug 2292509
Alias: None
Product: Fedora
Classification: Fedora
Component: efibootmgr
Version: 40
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:d9ae07adcaec87af98eeb6e1db1...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-06-24 06:38 UTC by iwokeupinsantorini
Modified: 2024-12-19 16:20 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-12-19 16:20:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: dbus.log (3.90 KB, text/plain)
2024-06-24 06:39 UTC, iwokeupinsantorini
no flags Details
File: lsblk_output (2.64 KB, text/plain)
2024-06-24 06:39 UTC, iwokeupinsantorini
no flags Details
File: anaconda.log (24.06 KB, text/plain)
2024-06-24 06:39 UTC, iwokeupinsantorini
no flags Details
File: nmcli_dev_list (2.25 KB, text/plain)
2024-06-24 06:39 UTC, iwokeupinsantorini
no flags Details
File: program.log (24.95 KB, text/plain)
2024-06-24 06:39 UTC, iwokeupinsantorini
no flags Details
File: packaging.log (12.84 KB, text/plain)
2024-06-24 06:39 UTC, iwokeupinsantorini
no flags Details
File: storage.log (296.17 KB, text/plain)
2024-06-24 06:39 UTC, iwokeupinsantorini
no flags Details
File: description (3.43 KB, text/plain)
2024-06-24 06:39 UTC, iwokeupinsantorini
no flags Details
File: journalctl (1.22 MB, text/plain)
2024-06-24 06:39 UTC, iwokeupinsantorini
no flags Details
File: environ (574 bytes, text/plain)
2024-06-24 06:39 UTC, iwokeupinsantorini
no flags Details
File: os_info (734 bytes, text/plain)
2024-06-24 06:39 UTC, iwokeupinsantorini
no flags Details
File: backtrace (3.45 KB, text/plain)
2024-06-24 06:39 UTC, iwokeupinsantorini
no flags Details
File: anaconda-tb (1.53 MB, text/plain)
2024-06-24 06:39 UTC, iwokeupinsantorini
no flags Details
File: packaging.log (12.84 KB, text/plain)
2024-06-24 06:39 UTC, iwokeupinsantorini
no flags Details

Description iwokeupinsantorini 2024-06-24 06:38:56 UTC
Version-Release number of selected component:
anaconda-core-40.22.3-1.fc40.x86_64


The following was filed automatically by anaconda:
anaconda 40.22.3 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 509, in _handle_method_error
    raise exception from None
  File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 483, in _get_method_reply
    return self._handle_method_error(error)
  File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 450, in _call_method
    return self._get_method_reply(
  File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/__init__.py", line 46, in sync_run_task
    task_proxy.Finish()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation.py", line 474, in run_install_bootloader
    sync_run_task(STORAGE.get_proxy(task))
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 261, in _run
    self._task_cb(*self._task_args, **self._task_kwargs)
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 75, in start
    self._run()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 203, in _run
    item.start()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 75, in start
    self._run()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 203, in _run
    item.start()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 75, in start
    self._run()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 203, in _run
    item.start()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 75, in start
    self._run()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation.py", line 552, in _run_installation
    queue.start()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation.py", line 83, in run
    self._run_installation(
  File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/task.py", line 107, in _task_run_callback
    self._set_result(self.run())
  File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/task.py", line 94, in _thread_run_callback
    self._task_run_callback()
  File "/usr/lib64/python3.12/threading.py", line 1010, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.12/site-packages/pyanaconda/core/threads.py", line 280, in run
    threading.Thread.run(self)
  File "/usr/lib64/python3.12/site-packages/pyanaconda/core/threads.py", line 171, in raise_if_error
    raise exc_info[1]
  File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/task.py", line 173, in finish
    thread_manager.raise_if_error(self._thread_name)
  File "/usr/lib64/python3.12/site-packages/pyanaconda/ui/gui/spokes/installation_progress.py", line 75, in _on_installation_done
    self._task.finish()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/core/signal.py", line 41, in emit
    func(obj, *args, **kargs)
  File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/runnable.py", line 115, in _task_stopped_callback
    self._stopped_signal.emit()
  File "/usr/lib64/python3.12/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 0xe9 in position 498: invalid continuation byte

Additional info:
other involved packages: python3-libs-3.12.2-2.fc40.x86_64, anaconda-gui-40.22.3-1.fc40.x86_64, python3-dasbus-1.7-6.fc40.noarch
version:        40
kernel:         6.8.5-301.fc40.x86_64
addons:         com_redhat_kdump
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz root=live:CDLABEL=FEDORA-WS-L rd.live.image rd.live.check quiet
release:        Fedora release 40 (Forty)
type:           anaconda
reason:         pyanaconda.modules.common.errors.general.AnacondaError: 'utf-8' codec can't decode byte 0xe9 in position 498: invalid continuation byte
package:        anaconda-core-40.22.3-1.fc40.x86_64
product:        Fedora
hashmarkername: anaconda
executable:     /sbin/anaconda
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --graphical

Comment 1 iwokeupinsantorini 2024-06-24 06:39:00 UTC
Created attachment 2038106 [details]
File: dbus.log

Comment 2 iwokeupinsantorini 2024-06-24 06:39:02 UTC
Created attachment 2038107 [details]
File: lsblk_output

Comment 3 iwokeupinsantorini 2024-06-24 06:39:04 UTC
Created attachment 2038108 [details]
File: anaconda.log

Comment 4 iwokeupinsantorini 2024-06-24 06:39:06 UTC
Created attachment 2038109 [details]
File: nmcli_dev_list

Comment 5 iwokeupinsantorini 2024-06-24 06:39:09 UTC
Created attachment 2038110 [details]
File: program.log

Comment 6 iwokeupinsantorini 2024-06-24 06:39:11 UTC
Created attachment 2038111 [details]
File: packaging.log

Comment 7 iwokeupinsantorini 2024-06-24 06:39:13 UTC
Created attachment 2038112 [details]
File: storage.log

Comment 8 iwokeupinsantorini 2024-06-24 06:39:20 UTC
Created attachment 2038113 [details]
File: description

Comment 9 iwokeupinsantorini 2024-06-24 06:39:32 UTC
Created attachment 2038114 [details]
File: journalctl

Comment 10 iwokeupinsantorini 2024-06-24 06:39:36 UTC
Created attachment 2038115 [details]
File: environ

Comment 11 iwokeupinsantorini 2024-06-24 06:39:38 UTC
Created attachment 2038116 [details]
File: os_info

Comment 12 iwokeupinsantorini 2024-06-24 06:39:40 UTC
Created attachment 2038117 [details]
File: backtrace

Comment 13 iwokeupinsantorini 2024-06-24 06:39:47 UTC
Created attachment 2038118 [details]
File: anaconda-tb

Comment 14 iwokeupinsantorini 2024-06-24 06:39:50 UTC
Created attachment 2038119 [details]
File: packaging.log

Comment 15 Martin Kolman 2024-07-23 13:57:30 UTC
Looks like this is an issue with efibootmgr returning non UTF 8 strings:

Jun 23 18:40:14 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2577]:   File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/storage/bootloader/efi.py", line 74, in efibootmgr
Jun 23 18:40:14 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2577]:     return exec_func("efibootmgr", list(args), **kwargs)
Jun 23 18:40:14 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2577]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jun 23 18:40:14 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2577]:   File "/usr/lib64/python3.12/site-packages/pyanaconda/core/util.py", line 372, in execWithCapture
Jun 23 18:40:14 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2577]:     return _run_program(argv, stdin=stdin, root=root, log_output=log_output,
Jun 23 18:40:14 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2577]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jun 23 18:40:14 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2577]:   File "/usr/lib64/python3.12/site-packages/pyanaconda/core/util.py", line 295, in _run_program
Jun 23 18:40:14 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2577]:     output_string = output_string.decode("utf-8")
Jun 23 18:40:14 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2577]:                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jun 23 18:40:14 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2577]: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 498: invalid continuation byte

The efibootmgr code also does not look like it should be returning anything else than utf 8:

https://github.com/rhboot/efivar/blob/main/src/ucs2.h#L111

Maybe this is the same thing we are seeing ?

https://bugs.launchpad.net/ironic-python-agent/+bug/2015602

In any case, reassigning to efibootmgr.

Comment 16 Peter Jones 2024-12-19 16:20:48 UTC

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


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