Comment 20 for bug 1356548

Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote : Re: [Bug 1356548] Re: Duplicity restore fails with UTF-8 chars in --file-to-restore

This bug is fixed in the latest versions, the 0.7 series at duplicity
<https://launchpad.net/duplicity/+download>. Please upgrade. If you are
on 0.6 series, please do not report new bugs about this, they won't be
fixed.

To upgrade to the newest,

   1. Remove the old version installed from the repository
   2. tar xf <tarball>
   3. cd <dir created>
   4. sudo python2 setup.py install

It is important to do step 1. Different distros use different paths and
the code can get confused if two versions are present.

On Sat, Jun 11, 2016 at 4:15 PM, Vej <email address hidden> wrote:

> What happens to this bug??
>
> --
> You received this bug notification because you are 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:
> Fix Released
> Status in duplicity package in Ubuntu:
> Fix Released
> Status in duplicity source package in Trusty:
> Fix Committed
>
> 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
>