crash by making a backup

Bug #1741769 reported by Sander Speetjens
52
This bug affects 11 people
Affects Status Importance Assigned to Milestone
Déjà Dup
New
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)

Revision history for this message
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
Revision history for this message
Sander Speetjens (sanderspeetjens) wrote : Re: [Bug 1741769] Re: crash by making a backup

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)
Changed in deja-dup:
status: Incomplete → New
Revision history for this message
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

Revision history for this message
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.

Revision history for this message
Alexander Adam (7ql6) wrote :

I have exactly the same problem on with the same versions.
I'm doing the backup on a network storage and I'm not sure where deja-dup is mounting it (will it be mounted at all or is it directly accessing it)?
*If* it is some kind of reading/or writing error the error message / handling should be improved.
People without technical knowledge won't find out what happened or what to do and they probably never heard of the bugtracker on launchpad. ;)

$ dpkg-query -W deja-dup duplicity
deja-dup 37.1-2fakesync1
duplicity 0.7.17-0ubuntu1

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic

$ uname -a
Linux scathach 4.15.0-42-generic #45-Ubuntu SMP Thu Nov 15 19:32:57 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

$ python --version
Python 2.7.15rc1

Revision history for this message
Alexander Adam (7ql6) wrote :

Sorry, my fault. I saw too late that this is a duplicate of #1736164.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.