desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #81862
[Bug 1356548] Re: Duplicity restore fails with UTF-8 chars in --file-to-restore
You *could* update from the daily-build PPA [1], but that's not
generally recommended for day-to-day use. Otherwise wait for an
official release in the stable PPA [2].
I'm doubtful this fix will be backported to 14.04 because it's actually
an odd case. You were experiencing the crash when duplicity was trying
to say that the file you asked for didn't exist in the backup. When I
tried restoring utf8 filenames that did exist in the backup, it worked
fine. So you may have something else going on, or are passing the wrong
arguments.
[1] https://launchpad.net/~duplicity-team/+archive/ubuntu/daily
[2] https://launchpad.net/~duplicity-team/+archive/ubuntu/ppa
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to duplicity in Ubuntu.
https://bugs.launchpad.net/bugs/1356548
Title:
Duplicity restore fails with UTF-8 chars in --file-to-restore
Status in Duplicity - Bandwidth Efficient Encrypted Backup:
Fix Committed
Status in “duplicity” package in Ubuntu:
Confirmed
Bug description:
Under Ubuntu 14.04 64bits, duplicity 0.6.23-1ubuntu4.1
To reproduce the issue:
1) Create a backup including non-ASCII characters pathname, e.g.,
"data/Thèse" for instance
2) Try a selective restore of the backup : duplicity --file-to-restore
data/Thèse file:///home/user/Sauvegardes test/
3) Crash :
Traceback (most recent call last):
File "/usr/bin/duplicity", line 1494, in <module>
with_tempdir(main)
File "/usr/bin/duplicity", line 1488, in with_tempdir
fn()
File "/usr/bin/duplicity", line 1337, in main
do_backup(action)
File "/usr/bin/duplicity", line 1422, in do_backup
restore(col_stats)
File "/usr/bin/duplicity", line 700, in restore
% (globals.restore_dir,),
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 21: ordinal not in range(128)
To manage notifications about this bug go to:
https://bugs.launchpad.net/duplicity/+bug/1356548/+subscriptions