[Bug 2147517] Re: release upgrader crashed: TypeError: Argument 0 does not allow None as a value
Launchpad Bug Tracker
2147517 at bugs.launchpad.net
Thu Apr 23 13:50:43 UTC 2026
This bug was fixed in the package ubuntu-release-upgrader - 1:26.04.18
---------------
ubuntu-release-upgrader (1:26.04.18) resolute; urgency=medium
* test: make arm64 specific data where needed
* test: only run test_arm64_ports_rewrite on arm64
* Run pre-build.sh: updating mirrors.
ubuntu-release-upgrader (1:26.04.17) resolute; urgency=medium
[ Nick Rosbrook ]
* DistUpgrade: do not call GLib.markup_escape_text with None (LP: #2147517)
* Run pre-build.sh: updating mirrors.
[ Utkarsh Gupta ]
* DistUpgradeController: migrate arm64 sources from ports to archive on
upgrade. (LP: #2147101)
-- Nick Rosbrook <enr0n at ubuntu.com> Wed, 22 Apr 2026 13:29:32 -0400
** Changed in: ubuntu-release-upgrader (Ubuntu)
Status: In Progress => Fix Released
--
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:
Fix Released
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