[Bug 1874702] Re: do-release-upgrade crashes with UnicodeDecodeError in DistUpgradeViewText.py

Jean-Baptiste Lallement jean-baptiste.lallement at ubuntu.com
Sat Apr 25 08:10:42 UTC 2020


** Summary changed:

- python crash during "do-release-upgrade -d"
+ do-release-upgrade crashes with UnicodeDecodeError in DistUpgradeViewText.py

-- 
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/1874702

Title:
  do-release-upgrade crashes with UnicodeDecodeError in
  DistUpgradeViewText.py

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

Bug description:
  The original bug report was submitted to
  https://discourse.ubuntu.com/t/error-upgrading-to-development-version-
  of-20-04/15522. Moving it here.

  Crash from main.log:
  Traceback (most recent call last):
    File "/tmp/ubuntu-release-upgrader-clogvkrp/focal", line 8, in <module>
      sys.exit(main())
    File "/tmp/ubuntu-release-upgrader-clogvkrp/DistUpgrade/DistUpgradeMain.py", line 238, in main
      if app.run():
    File "/tmp/ubuntu-release-upgrader-clogvkrp/DistUpgrade/DistUpgradeController.py", line 2082, in run
      return self.fullUpgrade()
    File "/tmp/ubuntu-release-upgrader-clogvkrp/DistUpgrade/DistUpgradeController.py", line 2059, in fullUpgrade
      self.doPostUpgrade()
    File "/tmp/ubuntu-release-upgrader-clogvkrp/DistUpgrade/DistUpgradeController.py", line 1498, in doPostUpgrade
      self._view.confirmChanges(summary, changes, [], 0, actions, False)):
    File "/tmp/ubuntu-release-upgrader-clogvkrp/DistUpgrade/DistUpgradeViewText.py", line 217, in confirmChanges
      res = readline().strip().lower()
    File "/tmp/ubuntu-release-upgrader-clogvkrp/DistUpgrade/DistUpgradeViewText.py", line 51, in readline
      s = input()

  UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd0 in position 0: invalid continuation byte
  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: ubuntu-release-upgrader-core 1:20.04.18
  ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
  Uname: Linux 5.4.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: skip
  CrashDB: ubuntu
  Date: Fri Apr 24 13:51:58 2020
  InstallationDate: Installed on 2020-04-11 (12 days ago)
  InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  Symptom: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to focal on 2020-04-24 (0 days ago)

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



More information about the foundations-bugs mailing list