crash by making a backup

Bug #1741769 reported by Sander Speetjens on 2018-01-07
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Déjà Dup
Undecided
Unassigned

Bug Description

crash code :
Traceback (innermost last):
  File "/usr/bin/duplicity", line 1559, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1545, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1394, in main
    do_backup(action)
  File "/usr/bin/duplicity", line 1515, in do_backup
    full_backup(col_stats)
  File "/usr/bin/duplicity", line 573, in full_backup
    globals.backend)
  File "/usr/bin/duplicity", line 454, in write_multivol
    (tdp, dest_filename, vol_num)))
  File "/usr/lib64/python2.7/site-packages/duplicity/asyncscheduler.py", line 146, in schedule_task
    return self.__run_synchronously(fn, params)
  File "/usr/lib64/python2.7/site-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/lib64/python2.7/site-packages/duplicity/backend.py", line 395, in inner_retry
    % (n, e.__class__.__name__, util.uexc(e)))
  File "/usr/lib64/python2.7/site-packages/duplicity/util.py", line 79, in uexc
    e = unicode(e).encode('utf-8')
 UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 37: ordinal not in range(128)

Vej (vej) wrote :

Hello Sander,

can you please answer the following questions:

1. What version of Déjà Dup and Duplicity are you using?
You can use the following commands to answer this question:

    (if on Ubuntu or Debian:)
    dpkg-query -W deja-dup duplicity

    (if on Fedora or other RPM-based systems:)
    rpm -q deja-dup duplicity

2. What is your operation system?

3. Can you repeat this i.e. does it always happen when you try to make a backup, or does some backups work well?

Best Regards

Vej

Btw.: This might be a duplicate of bug #1736164. Your answers will help us to determine this.

Changed in deja-dup:
status: New → Incomplete

i'm usinng fedora 27 with versions:
deja-dup-37.0-1.fc27.x86_64
duplicity-0.7.15-1.fc27.x86_64

it always happen wen i try to make a backup.

thanks for asking,
Sander Speetjens

2018-01-08 17:34 GMT+01:00 Vej <email address hidden>:

> Hello Sander,
>
> can you please answer the following questions:
>
> 1. What version of Déjà Dup and Duplicity are you using?
> You can use the following commands to answer this question:
>
> (if on Ubuntu or Debian:)
> dpkg-query -W deja-dup duplicity
>
> (if on Fedora or other RPM-based systems:)
> rpm -q deja-dup duplicity
>
> 2. What is your operation system?
>
> 3. Can you repeat this i.e. does it always happen when you try to make a
> backup, or does some backups work well?
>
> Best Regards
>
> Vej
>
> Btw.: This might be a duplicate of bug #1736164. Your answers will help
> us to determine this.
>
>
> ** Changed in: deja-dup
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1741769
>
> Title:
> crash by making a backup
>
> Status in Déjà Dup:
> Incomplete
>
> Bug description:
> crash code :
> Traceback (innermost last):
> File "/usr/bin/duplicity", line 1559, in <module>
> with_tempdir(main)
> File "/usr/bin/duplicity", line 1545, in with_tempdir
> fn()
> File "/usr/bin/duplicity", line 1394, in main
> do_backup(action)
> File "/usr/bin/duplicity", line 1515, in do_backup
> full_backup(col_stats)
> File "/usr/bin/duplicity", line 573, in full_backup
> globals.backend)
> File "/usr/bin/duplicity", line 454, in write_multivol
> (tdp, dest_filename, vol_num)))
> File "/usr/lib64/python2.7/site-packages/duplicity/asyncscheduler.py",
> line 146, in schedule_task
> return self.__run_synchronously(fn, params)
> File "/usr/lib64/python2.7/site-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/lib64/python2.7/site-packages/duplicity/backend.py", line
> 395, in inner_retry
> % (n, e.__class__.__name__, util.uexc(e)))
> File "/usr/lib64/python2.7/site-packages/duplicity/util.py", line 79,
> in uexc
> e = unicode(e).encode('utf-8')
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position
> 37: ordinal not in range(128)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/deja-dup/+bug/1741769/+subscriptions
>

--
Sander Speetjens
Moorsledestraat 6
2600 Berchem Antwerpen
Belgium

Vej (vej) on 2018-01-19
Changed in deja-dup:
status: Incomplete → New
Nige (nigel-w) wrote :

I'm also seeing this same error on kubuntu 18.04:

deja-dup 37.1-2fakesync1
duplicity 0.7.17-0ubuntu1

$ uname -a
Linux beast 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

$ python --version
Python 2.7.15rc1

Nige (nigel-w) wrote :

Actually in my case it was because the local target volume had become read-only. It's working again as usual now I have sorted that out. @Vej it may be worth checking that you don't have the same issue.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers