Bug 2244889 - pyanaconda.modules.common.errors.general.AnacondaError: 'utf-8' codec can't decode byte 0xff in position 107: 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: efibootmgr
Version: 38
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:83ac5d4c667705827e280a6bc03...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-10-18 20:13 UTC by Juhani Jaakola
Modified: 2023-11-14 14:32 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-14 14:32:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (5.14 MB, text/plain)
2023-10-18 20:13 UTC, Juhani Jaakola
no flags Details
File: backtrace (3.43 KB, text/plain)
2023-10-18 20:13 UTC, Juhani Jaakola
no flags Details
File: os_info (667 bytes, text/plain)
2023-10-18 20:13 UTC, Juhani Jaakola
no flags Details
File: environ (647 bytes, text/plain)
2023-10-18 20:13 UTC, Juhani Jaakola
no flags Details
File: journalctl (3.55 MB, text/plain)
2023-10-18 20:13 UTC, Juhani Jaakola
no flags Details
File: description (3.41 KB, text/plain)
2023-10-18 20:13 UTC, Juhani Jaakola
no flags Details
File: storage.log (1.42 MB, text/plain)
2023-10-18 20:13 UTC, Juhani Jaakola
no flags Details
File: program.log (60.20 KB, text/plain)
2023-10-18 20:13 UTC, Juhani Jaakola
no flags Details
File: nmcli_dev_list (3.15 KB, text/plain)
2023-10-18 20:13 UTC, Juhani Jaakola
no flags Details
File: anaconda.log (99.60 KB, text/plain)
2023-10-18 20:13 UTC, Juhani Jaakola
no flags Details
File: lsblk_output (4.08 KB, text/plain)
2023-10-18 20:13 UTC, Juhani Jaakola
no flags Details
File: dbus.log (7.19 KB, text/plain)
2023-10-18 20:13 UTC, Juhani Jaakola
no flags Details

Description Juhani Jaakola 2023-10-18 20:13:16 UTC
Description of problem:
Try to install Fedora 38 from a USB stick to a HP laptop

Version-Release number of selected component:
anaconda-core-38.23.4-2.fc38.x86_64


The following was filed automatically by anaconda:
anaconda 38.23.4 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.11/site-packages/dasbus/client/handler.py", line 509, in _handle_method_error
    raise exception from None
  File "/usr/lib/python3.11/site-packages/dasbus/client/handler.py", line 483, in _get_method_reply
    return self._handle_method_error(error)
  File "/usr/lib/python3.11/site-packages/dasbus/client/handler.py", line 450, 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 0xff in position 107: invalid start byte

Additional info:
comment:        Try to install Fedora 38 from a USB stick to a HP laptop
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --graphical
executable:     /sbin/anaconda
hashmarkername: anaconda
product:        Fedora
package:        anaconda-core-38.23.4-2.fc38.x86_64
reason:         pyanaconda.modules.common.errors.general.AnacondaError: 'utf-8' codec can't decode byte 0xff in position 107: invalid start byte
kernel:         6.2.9-300.fc38.x86_64
type:           anaconda
release:        Fedora release 38 (Thirty Eight)
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz root=live:CDLABEL=Fedora-LXDE-Live-38-1-6 rd.live.image quiet rhgb
addons:         com_redhat_kdump
version:        38
other involved packages: python3-dasbus-1.7-2.fc38.noarch, anaconda-gui-38.23.4-2.fc38.x86_64, python3-libs-3.11.2-1.fc38.x86_64

Comment 1 Juhani Jaakola 2023-10-18 20:13:27 UTC
Created attachment 1994498 [details]
File: anaconda-tb

Comment 2 Juhani Jaakola 2023-10-18 20:13:29 UTC
Created attachment 1994499 [details]
File: backtrace

Comment 3 Juhani Jaakola 2023-10-18 20:13:31 UTC
Created attachment 1994500 [details]
File: os_info

Comment 4 Juhani Jaakola 2023-10-18 20:13:33 UTC
Created attachment 1994501 [details]
File: environ

Comment 5 Juhani Jaakola 2023-10-18 20:13:40 UTC
Created attachment 1994502 [details]
File: journalctl

Comment 6 Juhani Jaakola 2023-10-18 20:13:42 UTC
Created attachment 1994503 [details]
File: description

Comment 7 Juhani Jaakola 2023-10-18 20:13:46 UTC
Created attachment 1994504 [details]
File: storage.log

Comment 8 Juhani Jaakola 2023-10-18 20:13:48 UTC
Created attachment 1994505 [details]
File: program.log

Comment 9 Juhani Jaakola 2023-10-18 20:13:50 UTC
Created attachment 1994506 [details]
File: nmcli_dev_list

Comment 10 Juhani Jaakola 2023-10-18 20:13:53 UTC
Created attachment 1994507 [details]
File: anaconda.log

Comment 11 Juhani Jaakola 2023-10-18 20:13:56 UTC
Created attachment 1994508 [details]
File: lsblk_output

Comment 12 Juhani Jaakola 2023-10-18 20:13:58 UTC
Created attachment 1994509 [details]
File: dbus.log

Comment 13 Vladimír Slávik 2023-11-14 14:18:16 UTC
The cause is that efibootmgr tool incorrectly prints non-utf-8 strings. Reassigning to efibootmgr.

As a workaround, you can try checking if disk labels contain non-ascii data before using the installer. That might fix the issue in some cases. In other cases, the tool might be printing other kinds of data which isn't user-editable.

Comment 14 Vladimír Slávik 2023-11-14 14:32:12 UTC

*** 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.