DistUpgradeViewText crashes with cs_CZ language

Bug #1956757 reported by Jan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
New
Undecided
Unassigned

Bug Description

Description: Ubuntu 18.04.6 LTS
Release: 18.04

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ubuntu-release-upgrader-core 1:18.04.45
ProcVersionSignature: Ubuntu 4.15.0-166.174-generic 4.15.18
Uname: Linux 4.15.0-166-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.27
Architecture: amd64
CrashDB: ubuntu
Date: Fri Jan 7 12:45:15 2022
InstallationDate: Installed on 2019-10-01 (829 days ago)
InstallationMedia: Ubuntu-Server 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
Symptom: ubuntu-release-upgrader
UpgradeStatus: Upgraded to bionic on 2022-01-07 (0 days ago)
VarLogDistupgradeAptclonesystemstate.tar.gz:
 Error: command ['pkexec', 'cat', '/var/log/dist-upgrade/apt-clone_system_state.tar.gz'] failed with exit code 127: polkit-agent-helper-1: error response to PolicyKit daemon: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie
 Error executing command as another user: Not authorized

 This incident has been reported.
VarLogDistupgradeLspcitxt:
 00:00.0 Host bridge [0600]: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (AGP disabled) [8086:7192] (rev 03)
 00:07.0 ISA bridge [0601]: Intel Corporation 82371AB/EB/MB PIIX4 ISA [8086:7110] (rev 01)
 00:07.1 IDE interface [0101]: Intel Corporation 82371AB/EB/MB PIIX4 IDE [8086:7111] (rev 01)
 00:07.3 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 02)
 00:08.0 VGA compatible controller [0300]: Microsoft Corporation Hyper-V virtual VGA [1414:5353]

Revision history for this message
Jan (janskoda) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :

It looks like something is going wrong with displaying a message in your LOCALE but I was unable to recreate this using 'LANG=cs_CZ do-release-upgrade'. Here's the traceback:

2022-01-07 12:44:56,444 ERROR not handled exception:
Traceback (most recent call last):
  File "/tmp/ubuntu-release-upgrader-v6g6c5h7/focal", line 8, in <module>
    sys.exit(main())
  File "/tmp/ubuntu-release-upgrader-v6g6c5h7/DistUpgrade/DistUpgradeMain.py", line 238, in main
    if app.run():
  File "/tmp/ubuntu-release-upgrader-v6g6c5h7/DistUpgrade/DistUpgradeController.py", line 2092, in run
    return self.fullUpgrade()
  File "/tmp/ubuntu-release-upgrader-v6g6c5h7/DistUpgrade/DistUpgradeController.py", line 1860, in fullUpgrade
    if not self.prepare():
  File "/tmp/ubuntu-release-upgrader-v6g6c5h7/DistUpgrade/DistUpgradeController.py", line 421, in prepare
    self._sshMagic()
  File "/tmp/ubuntu-release-upgrader-v6g6c5h7/DistUpgrade/DistUpgradeController.py", line 306, in _sshMagic
    "Do you want to continue?") % port)
  File "/tmp/ubuntu-release-upgrader-v6g6c5h7/DistUpgrade/DistUpgradeViewText.py", line 259, in askYesNoQuestion
    print(twrap(msg))
  File "/usr/lib/python3.6/encodings/iso8859_2.py", line 19, in encode
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\u201e' in position 226: character maps to <undefined>

summary: - i cannot upgrade to higher wersion of ubuntu
+ DistUpgradeViewText crashes with cs_CZ language
Revision history for this message
Jan (janskoda) wrote :

Thank you for your reply.
I have switched language to en_GB, made release upgrade and switched back to my locale and everything works good.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.