[Bug 2147517] [NEW] release upgrader crashed: TypeError: Argument 0 does not allow None as a value

Benjamin Drung 2147517 at bugs.launchpad.net
Wed Apr 8 08:49:23 UTC 2026


Public bug reported:

I upgraded from questing to resolute, but the release upgrader crashed.
I tried to start it again, but it crashed again. I collected this stack
trace:

```
localuser:root being added to access control list
ERROR:root:not handled exception:
Traceback (most recent call last):

  File "/usr/lib/ubuntu-release-upgrader/do-partial-upgrade", line 114, in <module>
    controller.doPartialUpgrade()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^

  File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeController.py", line 1940, in doPartialUpgrade
    if not self.askDistUpgrade():
           ~~~~~~~~~~~~~~~~~~~^^

  File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeController.py", line 1234, in askDistUpgrade
    res = self._view.confirmChanges(_("Do you want to start the upgrade?"),
                                    changes,
                                    self.cache.required_download)

  File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeViewGtk3.py", line 714, in confirmChanges
    pkg.name, GLib.markup_escape_text(getattr(pkg.candidate, "summary", None)))])
              ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/lib/python3/dist-packages/gi/overrides/GLib.py", line 417, in markup_escape_text
    return GLib.markup_escape_text(text, length)
           ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^

TypeError: Argument 0 does not allow None as a value

Traceback (most recent call last):
  File "/usr/lib/ubuntu-release-upgrader/do-partial-upgrade", line 114, in <module>
    controller.doPartialUpgrade()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeController.py", line 1940, in doPartialUpgrade
    if not self.askDistUpgrade():
           ~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeController.py", line 1234, in askDistUpgrade
    res = self._view.confirmChanges(_("Do you want to start the upgrade?"),
                                    changes,
                                    self.cache.required_download)
  File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeViewGtk3.py", line 714, in confirmChanges
    pkg.name, GLib.markup_escape_text(getattr(pkg.candidate, "summary", None)))])
              ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/gi/overrides/GLib.py", line 417, in markup_escape_text
    return GLib.markup_escape_text(text, length)
           ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
TypeError: Argument 0 does not allow None as a value
```

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: ubuntu-release-upgrader-gtk 1:26.04.13
ProcVersionSignature: Ubuntu 7.0.0-10.10-generic 7.0.0-rc4
Uname: Linux 7.0.0-10-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.33.1-0ubuntu7
Architecture: amd64
CasperMD5CheckResult: pass
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Wed Apr  8 10:45:45 2026
InstallationDate: Installed on 2022-03-20 (1480 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
PackageArchitecture: all
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: No upgrade log present (probably fresh install)
VarLogDistupgradeTermlog:

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug dist-upgrade resolute wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2147517

Title:
  release upgrader crashed: TypeError: Argument 0 does not allow None as
  a value

Status in ubuntu-release-upgrader package in Ubuntu:
  New

Bug description:
  I upgraded from questing to resolute, but the release upgrader
  crashed. I tried to start it again, but it crashed again. I collected
  this stack trace:

  ```
  localuser:root being added to access control list
  ERROR:root:not handled exception:
  Traceback (most recent call last):

    File "/usr/lib/ubuntu-release-upgrader/do-partial-upgrade", line 114, in <module>
      controller.doPartialUpgrade()
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^

    File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeController.py", line 1940, in doPartialUpgrade
      if not self.askDistUpgrade():
             ~~~~~~~~~~~~~~~~~~~^^

    File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeController.py", line 1234, in askDistUpgrade
      res = self._view.confirmChanges(_("Do you want to start the upgrade?"),
                                      changes,
                                      self.cache.required_download)

    File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeViewGtk3.py", line 714, in confirmChanges
      pkg.name, GLib.markup_escape_text(getattr(pkg.candidate, "summary", None)))])
                ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    File "/usr/lib/python3/dist-packages/gi/overrides/GLib.py", line 417, in markup_escape_text
      return GLib.markup_escape_text(text, length)
             ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^

  TypeError: Argument 0 does not allow None as a value

  Traceback (most recent call last):
    File "/usr/lib/ubuntu-release-upgrader/do-partial-upgrade", line 114, in <module>
      controller.doPartialUpgrade()
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
    File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeController.py", line 1940, in doPartialUpgrade
      if not self.askDistUpgrade():
             ~~~~~~~~~~~~~~~~~~~^^
    File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeController.py", line 1234, in askDistUpgrade
      res = self._view.confirmChanges(_("Do you want to start the upgrade?"),
                                      changes,
                                      self.cache.required_download)
    File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeViewGtk3.py", line 714, in confirmChanges
      pkg.name, GLib.markup_escape_text(getattr(pkg.candidate, "summary", None)))])
                ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/gi/overrides/GLib.py", line 417, in markup_escape_text
      return GLib.markup_escape_text(text, length)
             ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  TypeError: Argument 0 does not allow None as a value
  ```

  ProblemType: Bug
  DistroRelease: Ubuntu 26.04
  Package: ubuntu-release-upgrader-gtk 1:26.04.13
  ProcVersionSignature: Ubuntu 7.0.0-10.10-generic 7.0.0-rc4
  Uname: Linux 7.0.0-10-generic x86_64
  NonfreeKernelModules: zfs
  ApportVersion: 2.33.1-0ubuntu7
  Architecture: amd64
  CasperMD5CheckResult: pass
  CrashDB: ubuntu
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Apr  8 10:45:45 2026
  InstallationDate: Installed on 2022-03-20 (1480 days ago)
  InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
  PackageArchitecture: all
  RebootRequiredPkgs: Error: path contained symlinks.
  SourcePackage: ubuntu-release-upgrader
  UpgradeStatus: No upgrade log present (probably fresh install)
  VarLogDistupgradeTermlog:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2147517/+subscriptions





More information about the foundations-bugs mailing list