add-apt-repository backtraces on PPA with utf8 characters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-properties (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
On a brand new trusty container:
root@apatest3:~# add-apt-repository ppa:ondrej/apache2
This branch follows latest PHP packages as maintained by the Debian Apache2 team.
It also includes some widely used Apache 2 modules (if you need some other feel free to send me a request).
If you need to stay with PHP 5 you can use the PHP repository:
https:/
BUGS&FEATURES: This PPA now has a issue tracker: https:/
PLEASE READ: If you like my work and want to give me a little motivation, please consider donating: https:/
More info: https:/
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmprl8b6i
gpg: keyring `/tmp/tmprl8b6i
gpg: requesting key E5267A6C from hkp server keyserver.
gpg: /tmp/tmprl8b6i1
gpg: key E5267A6C: public key "Launchpad PPA for Ond\xc5\x99ej Sur▒" 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/
func(**kwargs)
File "/usr/lib/
return apsk.add_
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 92: ordinal not in range(128)
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: software-
ProcVersionSign
Uname: Linux 3.19.0-23-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.15
Architecture: amd64
Date: Mon Oct 26 18:22:33 2015
PackageArchitec
ProcEnviron:
TERM=screen
PATH=(custom, no user)
SourcePackage: software-properties
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Ubuntu Core Development Team: Pending requested
-
Diff: 595 lines (+181/-170)10 files modifiedadd-apt-repository (+4/-4)
debian/changelog (+24/-0)
debian/control (+2/-2)
debian/tests/add-apt-repository (+11/-7)
debian/tests/control (+3/-3)
debian/tests/run-tests (+0/-9)
software-properties-gtk (+2/-3)
software-properties-kde (+1/-5)
softwareproperties/ppa.py (+71/-103)
tests/test_lp.py (+63/-34)
Status changed to 'Confirmed' because the bug affects multiple users.