Smart crashes when importing gpg keys with LANG="cs_CZ.UTF-8"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Smart Package Manager |
New
|
Undecided
|
Unassigned |
Bug Description
Imported: http://
Reason: Locale bug. did this ever get fixed?
further details: https:/
msg1076 (view) Author: pasa Date: 2007-01-23.09:20:59
When all packages are downloaded, output looks like:
<pre>Committing transaction...
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 3ab2ce5e
Trying to import the key dc87d14a3ab2ce5e from subkeys.pgp.net...
gpg: požaduji klíč 3AB2CE5E ze hkp server subkeys.pgp.net
gpg: klíč 3AB2CE5E: veřejný klíč "Detlef Reichelt (Packman-RPM-Key)
<email address hidden>" importován
gpg: žádný absolutně důvěryhodný klíč nebyl nalezen
gpg: Celkový počet zpracovaných klíčů: 1
gpg: importováno: 1
Traceback (most recent call last):
File "/usr/bin/smart", line 194, in ?
main(
File "/usr/bin/smart", line 167, in main
exitcode = iface.run(
File "/usr/lib/
result = _command.
File "/usr/lib/
in main
ctrl.
File "/usr/lib/
commitTransaction
return self.commitChan
File "/usr/lib/
commitChangeSet
pmclass(
File "/usr/lib/
commit
if iface.askYesNo(
File "/usr/lib/
line 65, in askYesNo
res = raw_input(mask % question)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 272:
ordinal not in range(128)</pre>
In English the strange part means:
<pre>gpg: requesting key 3AB2CE5E from hkp server subkeys.pgp.net
gpg: key 3AB2CE5E: "Detlef Reichelt (Packman-RPM-Key) <email address hidden>" not
changed
gpg: Total number processed: 1
gpg: unchanged: 1</pre>
I've noticed this bug since smart 0.42. Everything works fine if smart is
executed with US locale (LANG="en_US.UTF-8" smart upgrade).
Current configuration:
SUSE 10.1
smart 0.50
python 2.4.2