German umlaut "ü" crashes duplicity
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Version: 0.6.23-2
Python 3.3.3/2.7.6
Arch Linux (up-to-date)
This bug occurs since the last update.
When I start a duplicity job, everything is going normal, until it asks for the GPG passphrase.
Instead of printing the German equivalent of "GPG passphrase: " it crashes with the following Traceback:
Traceback (most recent call last):
File "/usr/bin/
with_
File "/usr/bin/
fn()
File "/usr/bin/
do_
File "/usr/bin/
globals.
File "/usr/bin/
pass1 = getpass.
File "/usr/lib/
passwd = _raw_input(prompt, stream, input=input)
File "/usr/lib/
prompt = str(prompt)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 10: ordinal not in range(128)
So there is apparently an "ü" in the German translation (I guess in "Schlüssel") which causes a problem in character encoding.
Workaround:
$ export LANG=en_US.UTF-8
Fixes the problem and results in english messages.
description: | updated |
It seems that this bug has been system-related, a few days later everything went fine again.
I'm gonna close this issue