Package: duplicity
Version: 0.6.23-1
Severity: normal

Dear Maintainer,

I did a

    duplicity restore --file-to-restore /fullpath/testé <url> <dest>

where I used the full path of the file to restore instead of the
relative path. Still (because of the “é” in the path, I guess)
duplicity failed with a:

      File "/usr/bin/duplicity", line 701, in restore
        % (globals.restore_dir,),
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 17: 
ordinal not in range(128)

instead of gracefully showing the message

    /fullpath/testé not found in archive, no files restored.

it should have, reading that line of the code.
I must say I got an awful fright, while it was just another day with
an encoding error in python2…


Best regards, and thank you for your work

Samuel


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages duplicity depends on:
ii  libc6            2.18-4
ii  librsync1        0.9.7-10
ii  python           2.7.5-5
ii  python-lockfile  1:0.8-2

Versions of packages duplicity recommends:
ii  python-oauthlib  0.6.1-1
ii  python-paramiko  1.10.1-1
ii  python-urllib3   1.7.1-1
ii  rsync            3.1.0-2

Versions of packages duplicity suggests:
ii  lftp                4.4.13-1
pn  ncftp               <none>
pn  python-boto         <none>
pn  python-cloudfiles   <none>
pn  python-gdata        <none>
pn  python-swiftclient  <none>
pn  tahoe-lafs          <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to