Comment 5 for bug 1776030

sambo63 (ridge1234-au) wrote :

Similar problem for me too.

While deja-dup was doing a fresh backup, my system crashed (Ubuntu 18.04.2 LTS). Then on retry I get this trace message each time I try to run deja-dup.

# uname -a

Linux comp1-mysys 4.15.0-51-generic #55-Ubuntu SMP Wed May 15 14:27:21 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

# lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic

# apt-cache policy duplicity deja-dup
duplicity:
  Installed: 0.7.17-0ubuntu1.1
  Candidate: 0.7.17-0ubuntu1.1
  Version table:
 *** 0.7.17-0ubuntu1.1 500
        500 http://au.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     0.7.17-0ubuntu1 500
        500 http://au.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
deja-dup:
  Installed: (none)
  Candidate: 37.1-2fakesync1ubuntu0.1
  Version table:
     37.1-2fakesync1ubuntu0.1 500
        500 http://au.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     37.1-2fakesync1 500
        500 http://au.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages

# duplicity --version
duplicity 0.7.17

# deja-dup --version
deja-dup 40.1

Error Message:

---------------------------

Failed with an unknown error.

Traceback (innermost last):
  File "/snap/deja-dup/172/bin/duplicity", line 1581, in <module>
    with_tempdir(main)
  File "/snap/deja-dup/172/bin/duplicity", line 1567, in with_tempdir
    fn()
  File "/snap/deja-dup/172/bin/duplicity", line 1419, in main
    do_backup(action)
  File "/snap/deja-dup/172/bin/duplicity", line 1537, in do_backup
    full_backup(col_stats)
  File "/snap/deja-dup/172/bin/duplicity", line 577, in full_backup
    globals.backend)
  File "/snap/deja-dup/172/bin/duplicity", line 459, in write_multivol
    (tdp, dest_filename, vol_num)))
  File "/snap/deja-dup/172/lib/python2.7/site-packages/duplicity/asyncscheduler.py", line 146, in schedule_task
    return self.__run_synchronously(fn, params)
  File "/snap/deja-dup/172/lib/python2.7/site-packages/duplicity/asyncscheduler.py", line 172, in __run_synchronously
    ret = fn(*params)
  File "/snap/deja-dup/172/bin/duplicity", line 458, in <lambda>
    vol_num: put(tdp, dest_filename, vol_num),
  File "/snap/deja-dup/172/bin/duplicity", line 347, in put
    backend.put(tdp, dest_filename)
  File "/snap/deja-dup/172/lib/python2.7/site-packages/duplicity/backend.py", line 395, in inner_retry
    % (n, e.__class__.__name__, util.uexc(e)))
  File "/snap/deja-dup/172/lib/python2.7/site-packages/duplicity/util.py", line 79, in uexc
    return ufn(unicode(e).encode('utf-8'))
 UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 37: ordinal not in range(128)