[Bug 1001335] Re: do-release-upgrade crashed with UnicodeEncodeError in /usr/lib/update-manager/check-new-release: 'ascii' codec can't encode character u'\xe7' in position 8: ordinal not in range(128)
Pavel Studeník
junior at pavelstudenik.cz
Tue Sep 24 16:39:29 UTC 2013
I got similar traceback, when I tried update system to 13.10:
>> upgrade-manager -d
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-ttstdv/saucy", line 10, in <module>
sys.exit(main())
File "/tmp/ubuntu-release-upgrader-ttstdv/DistUpgrade/DistUpgradeMain.py", line 240, in main
save_system_state(logdir)
File "/tmp/ubuntu-release-upgrader-ttstdv/DistUpgrade/DistUpgradeMain.py", line 133, in save_system_state
scrub_sources=True)
File "/tmp/ubuntu-release-upgrader-ttstdv/DistUpgrade/apt_clone.py", line 149, in save_state
self._write_state_sources_list(tar, scrub_sources)
File "/tmp/ubuntu-release-upgrader-ttstdv/DistUpgrade/apt_clone.py", line 241, in _write_state_sources_list
"./etc/apt/sources.list.d/"+source)
File "/tmp/ubuntu-release-upgrader-ttstdv/DistUpgrade/apt_clone.py", line 252, in _add_file_to_tar_with_password_check
source_copy.write(line)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position 82: ordinal not in range(128)
or
Traceback (most recent call last):
File "/usr/bin/do-release-upgrade", line 108, in <module>
print(_("Checking for a new Ubuntu release"))
UnicodeEncodeError: 'ascii' codec can't encode character '\xed' in position 4: ordinal not in range(128)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1001335
Title:
do-release-upgrade crashed with UnicodeEncodeError in /usr/lib/update-
manager/check-new-release: 'ascii' codec can't encode character
u'\xe7' in position 8: ordinal not in range(128)
Status in “update-manager” package in Ubuntu:
Confirmed
Bug description:
error
ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: update-manager-core 1:0.152.18
ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
Uname: Linux 3.0.0-11-generic i686
ApportVersion: 1.23-0ubuntu1
Architecture: i386
Date: Fri May 18 13:29:04 2012
ExecutablePath: /usr/bin/do-release-upgrade
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta i386 (20110921.2)
InterpreterPath: /usr/bin/python2.7
ProcCmdline: /usr/bin/python /usr/lib/update-manager/check-new-release -q
ProcEnviron:
PATH=(custom, no user)
LANG=pt_BR.UTF-8
PythonArgs: ['/usr/lib/update-manager/check-new-release', '-q']
SourcePackage: update-manager
Title: do-release-upgrade crashed with UnicodeEncodeError in /usr/lib/update-manager/check-new-release: 'ascii' codec can't encode character u'\xe7' in position 8: ordinal not in range(128)
Traceback:
Traceback (most recent call last):
File "/usr/lib/update-manager/check-new-release", line 109, in <module>
print _("New release '%s' available.") % m.new_dist.version
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe7' in position 8: ordinal not in range(128)
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1001335/+subscriptions
More information about the foundations-bugs
mailing list