*** This bug is a duplicate of bug 1770929 ***
https://bugs.launchpad.net/bugs/1770929
** This bug has been marked a duplicate of bug 1770929
backup fails on ubuntu 18.4
--
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/1778504
Title:
duplicity failed with UnicodeDecodeError
Status in duplicity package in Ubuntu:
New
Bug description:
For a couple of weeks, my weekly backup (deja-dup+duplicity, ubuntu
18.04) fails with:
Traceback (innermost last):
File "/usr/bin/duplicity", line 1555, in <module>
with_tempdir(main)
File "/usr/bin/duplicity", line 1541, in with_tempdir
fn()
File "/usr/bin/duplicity", line 1393, in main
do_backup(action)
File "/usr/bin/duplicity", line 1511, in do_backup
full_backup(col_stats)
File "/usr/bin/duplicity", line 572, in full_backup
globals.backend)
File "/usr/bin/duplicity", line 454, in write_multivol
(tdp, dest_filename, vol_num)))
File "/usr/lib/python2.7/dist-packages/duplicity/asyncscheduler.py", line
146, in schedule_task
return self.__run_synchronously(fn, params)
File "/usr/lib/python2.7/dist-packages/duplicity/asyncscheduler.py", line
172, in __run_synchronously
ret = fn(*params)
File "/usr/bin/duplicity", line 453, in <lambda>
vol_num: put(tdp, dest_filename, vol_num),
File "/usr/bin/duplicity", line 342, in put
backend.put(tdp, dest_filename)
File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 395, in
inner_retry
% (n, e.__class__.__name__, util.uexc(e)))
File "/usr/lib/python2.7/dist-packages/duplicity/util.py", line 79, in uexc
return ufn(unicode(e).encode('utf-8'))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 19:
ordinal not in range(128)
It looks like this Unicode error repeatedly arises, whatever the version of
duplicity. Mine is:
Package: duplicity
Version: 0.7.17-0ubuntu1
Priority: optional
Section: utils
Origin: Ubuntu
Maintainer: Ubuntu Developers <[email protected]>
Original-Maintainer: Alexander Zangerl <[email protected]>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1 090 kB
Depends: libc6 (>= 2.4), librsync1 (>= 0.9.6), python (<< 2.8), python (>=
2.7~), python-fasteners, python:any (<< 2.8), python:any (>= 2.7.5-5~),
python-lockfile (>> 1:0.9), gnupg | gnupg1
Suggests: rsync, python-paramiko, python-pexpect, python-urllib3,
python-oauthlib, python-boto, ncftp, python-cloudfiles, lftp, python-gdata,
tahoe-lafs, python-swiftclient
Homepage: http://duplicity.nongnu.org/
Task: ubuntu-mate-desktop
Supported: 5y
Download-Size: 183 kB
APT-Manual-Installed: yes
APT-Sources: http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
If this is a problem with some files encoding, how can I locate which
one(s) is faulty?
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: duplicity 0.7.17-0ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18
Uname: Linux 4.15.0-23-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Jun 25 13:18:38 2018
DistributionChannelDescriptor:
# This is a distribution channel descriptor
# For more information see
http://wiki.ubuntu.com/DistributionChannelDescriptor
canonical-oem-somerville-xenial-amd64-20160624-2
InstallationDate: Installed on 2018-02-07 (137 days ago)
InstallationMedia: Ubuntu 16.04 "Xenial" - Build amd64 LIVE Binary
20160624-10:47
ProcEnviron:
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=fr_FR.UTF-8
SHELL=/bin/bash
SourcePackage: duplicity
UpgradeStatus: Upgraded to bionic on 2018-05-17 (38 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/duplicity/+bug/1778504/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp