add-apt-repository crashes in non-UTF locale with UTF in key description
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-properties (Ubuntu) |
Triaged
|
High
|
Unassigned |
Bug Description
When using add-apt-repository under non-UTF locale to add a PPA with non-ascii characters, the following crash happens:
gpg: keyring `/tmp/tmp01qdlw
gpg: keyring `/tmp/tmp01qdlw
gpg: requesting key 95BF72AD from hkp server keyserver.
gpg: /tmp/tmp01qdlw/
gpg: key 95BF72AD: public key "Launchpad PPA for Micha\xc5\x82 Sawicz" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/
self.run()
File "/usr/lib/
self.
File "/usr/lib/
tmp_
File "/usr/lib/
got_
File "/usr/lib/
output = subprocess.
File "/usr/lib/
output, unused_err = process.
File "/usr/lib/
stdout = _eintr_
File "/usr/lib/
return func(*args)
File "/usr/lib/
return codecs.
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 94: ordinal not in range(128)
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: software-
ProcVersionSign
Uname: Linux 3.8.0-7-generic x86_64
NonfreeKernelMo
ApportVersion: 2.9.2-0ubuntu5
Architecture: amd64
Date: Sun Apr 7 00:19:57 2013
MarkForUpload: True
PackageArchitec
SourcePackage: software-properties
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in software-properties (Ubuntu): | |
importance: | Undecided → High |
status: | New → Triaged |
This still happens in Ubuntu 14.04.1 LTS, with python- software- properties 0.92.36.