Public bug reported:
While trying to report a kernel/suspend issue using ubuntu-bug linux,
the process fails during "Collecting problem information".
Error Message:
Failed loading yaml blob. Yaml load allows (<class 'dict'>,) root types, but
got str instead
Environment:
OS: Ubuntu 26.04 (Server/GNOME)
Apport Version: (Cek dengan perintah apt policy apport)
Python Version: (Cek dengan python3 --version)
Steps to Reproduce:
Run sudo ubuntu-bug linux or ubuntu-bug linux.
Wait for information collection.
The YAML parsing error occurs and prevents the report from being
generated/sent.
Suspected Cause:
Apport's cloud-init or subiquity hooks are trying to parse a config file in
/etc/cloud/cloud.cfg.d/ that contains a string instead of a dictionary, causing
a type mismatch in the YAML loader.
** Affects: apport (Ubuntu)
Importance: Undecided
Status: New
** Attachment added: "apport_crash.log"
https://bugs.launchpad.net/bugs/2143372/+attachment/5950336/+files/apport_crash.log
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2143372
Title:
ubuntu-bug fails with "Yaml load allows (<class 'dict'>,) root types,
but got str instead" on Ubuntu 26.04
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/2143372/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs