Backup fails with UnicodeDecodeError

Bug #1732789 reported by mclovin on 2017-11-16
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Duplicity
Undecided
Unassigned

Bug Description

Duplicity version: 0.7.12
Python version: 2.7.14
OS Distro and version: Ubuntu MATE 17.10
Type of target filesystem: fuseblk, External Toshiba USB 3.0 Harddrive 1 TB
This is the output of the GUI:

"Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1546, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1540, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1391, in main
    do_backup(action)
  File "/usr/bin/duplicity", line 1412, in do_backup
    sync_archive(decrypt)
  File "/usr/bin/duplicity", line 1199, in sync_archive
    copy_to_local(fn)
  File "/usr/bin/duplicity", line 1138, in copy_to_local
    fileobj = globals.backend.get_fileobj_read(fn)
  File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 669, in get_fileobj_read
    self.get(filename, tdp)
  File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 376, in inner_retry
    % exception_traceback())
  File "/usr/lib/python2.7/dist-packages/duplicity/util.py", line 52, in exception_traceback
    return uexc(msg)
  File "/usr/lib/python2.7/dist-packages/duplicity/util.py", line 80, in uexc
    e = unicode(e).encode('utf-8')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 622: ordinal not in range(128)"

mclovin (asdflea) on 2017-11-16
tags: added: backup
mclovin (asdflea) on 2017-11-17
description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers