UnicodeEncodeError: 'ascii' codec can't encode characters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-properties (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I've upgraded from natty to oneiric (sudo do-release-upgrade -d) and this added comments like "disabled in upgrade to oneiric" in /etc/apt/
The problem is: in Brazilian Portuguese, the comment is "desabilitado na atualização para oneiric" (it has unicode characters). When trying to remove, edit or enable these entries via software-
Workaround: remove the comments manually from these files.
Running software-
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
**keywords)
File "/usr/lib/
message, timeout)
dbus.exceptions
File "/usr/lib/
retval = candidate_
File "/usr/lib/
self.
UnicodeEncodeError: 'ascii' codec can't encode characters in position 72-73: ordinal not in range(128)
-------
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
**keywords)
File "/usr/lib/
message, timeout)
dbus.exceptions
File "/usr/lib/
retval = candidate_
File "/usr/lib/
self.
UnicodeEncodeError: 'ascii' codec can't encode characters in position 72-73: ordinal not in range(128)
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: software-
ProcVersionSign
Uname: Linux 3.0.0-12-generic i686
ApportVersion: 1.23-0ubuntu2
Architecture: i386
Date: Fri Oct 7 10:51:58 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
PackageArchitec
ProcEnviron:
LANGUAGE=
PATH=(custom, no user)
LANG=pt_BR.UTF-8
LC_MESSAGES=
SHELL=/bin/bash
SourcePackage: software-properties
UpgradeStatus: Upgraded to oneiric on 2011-10-05 (1 days ago)
This should be fixed in the newest version of software- properties.