2014-02-04 21:38:22 |
Jonas Schürmann |
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/duplicity", line 1489, in <module>
with_tempdir(main)
File "/usr/bin/duplicity", line 1483, in with_tempdir
fn()
File "/usr/bin/duplicity", line 1332, in main
do_backup(action)
File "/usr/bin/duplicity", line 1414, in do_backup
globals.gpg_profile.passphrase = get_passphrase(1, action)
File "/usr/bin/duplicity", line 168, in get_passphrase
pass1 = getpass.getpass(_("GnuPG passphrase:")+" ")
File "/usr/lib/python2.7/getpass.py", line 71, in unix_getpass
passwd = _raw_input(prompt, stream, input=input)
File "/usr/lib/python2.7/getpass.py", line 128, in _raw_input
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 und results in english messages. |
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/duplicity", line 1489, in <module>
with_tempdir(main)
File "/usr/bin/duplicity", line 1483, in with_tempdir
fn()
File "/usr/bin/duplicity", line 1332, in main
do_backup(action)
File "/usr/bin/duplicity", line 1414, in do_backup
globals.gpg_profile.passphrase = get_passphrase(1, action)
File "/usr/bin/duplicity", line 168, in get_passphrase
pass1 = getpass.getpass(_("GnuPG passphrase:")+" ")
File "/usr/lib/python2.7/getpass.py", line 71, in unix_getpass
passwd = _raw_input(prompt, stream, input=input)
File "/usr/lib/python2.7/getpass.py", line 128, in _raw_input
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. |
|