Bug 1860304 - Python error stops backup
Summary: Python error stops backup
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: duplicity
Version: 32
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-24 09:32 UTC by Eric Wick
Modified: 2020-10-15 15:32 UTC (History)
7 users (show)

Fixed In Version: duplicity-0.8.15-5.fc33 duplicity-0.8.16-1.fc32 duplicity-0.8.16-1.fc31 duplicity-0.8.16-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-28 00:14:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Eric Wick 2020-07-24 09:32:59 UTC
Description of problem:
This week we had python updates to F32. Since this dejadup is unable to backup on 4/4 machines with F32 installed.

Version-Release number of selected component (if applicable):
42.1

How reproducible:
Always on 4/4 machines, no backup possible

Steps to Reproduce:
1. Setup a smb:// folder as target
2. Deja-Dup ask for credentials and key for encryption, fill them in
3. Let the backup run until it breaks

Actual results:
Traceback (innermost last):
  File "/usr/bin/duplicity", line 104, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 90, in with_tempdir
    fn()
  File "/usr/lib64/python3.8/site-packages/duplicity/dup_main.py", line 1531, in main
    do_backup(action)
  File "/usr/lib64/python3.8/site-packages/duplicity/dup_main.py", line 1667, in do_backup
    incremental_backup(sig_chain)
  File "/usr/lib64/python3.8/site-packages/duplicity/dup_main.py", line 648, in incremental_backup
    bytes_written = dummy_backup(tarblock_iter)
  File "/usr/lib64/python3.8/site-packages/duplicity/dup_main.py", line 214, in dummy_backup
    while next(tarblock_iter):
  File "/usr/lib64/python3.8/site-packages/duplicity/diffdir.py", line 544, in __next__
    result = self.process(next(self.input_iter))  # pylint: disable=assignment-from-no-return
  File "/usr/lib64/python3.8/site-packages/duplicity/diffdir.py", line 209, in get_delta_iter
    for new_path, sig_path in collated:
  File "/usr/lib64/python3.8/site-packages/duplicity/diffdir.py", line 296, in collate2iters
    relem1 = next(riter1)
  File "/usr/lib64/python3.8/site-packages/duplicity/selection.py", line 95, in __next__
    return next(self.iter)
  File "/usr/lib64/python3.8/site-packages/duplicity/selection.py", line 179, in Iterate
    subpath, val = next(diryield_stack[-1])
  File "/usr/lib64/python3.8/site-packages/duplicity/selection.py", line 146, in diryield
    s = self.Select(new_path)
  File "/usr/lib64/python3.8/site-packages/duplicity/selection.py", line 208, in Select
    result = sf(path)
  File "/usr/lib64/python3.8/site-packages/duplicity/selection.py", line 456, in exclude_sel_func
    elif path.append(filename).exists():
  File "/usr/lib64/python3.8/site-packages/duplicity/path.py", line 565, in append
    return self.__class__(self.base, self.index + (ext,))
  File "/usr/lib64/python3.8/site-packages/duplicity/path.py", line 538, in __init__
    self.setdata()
  File "/usr/lib64/python3.8/site-packages/duplicity/path.py", line 548, in setdata
    self.stat = os.lstat(self.name)
 PermissionError: [Errno 13] Permission denied: b'/home/eric/.config/gnome-mpv/.deja-dup-ignore'

Expected results:
Should backup as it did a week ago

Additional info:

Comment 1 Gwyn Ciesla 2020-07-24 14:10:34 UTC
What does ls -l /home/eric/.config/gnome-mpv/.deja-dup-ignore say?

Comment 2 Michael Terry 2020-09-23 13:47:00 UTC
You might be affected by a duplicity bug with this unreleased patch: https://gitlab.com/duplicity/duplicity/-/commit/f6809e8a4e09b70138a0902434d8c88d3c4c8ccb

If that is the problem, Iā€™d expect that /home/eric/.config/gnome-mpv/.deja-dup-ignore does not exist but that one of those dirs above it might not have the exec flag?

Comment 3 Fedora Update System 2020-09-23 15:19:31 UTC
FEDORA-2020-dda3f26cef has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-dda3f26cef

Comment 4 Fedora Update System 2020-09-23 15:19:31 UTC
FEDORA-EPEL-2020-9d112c5ec8 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-9d112c5ec8

Comment 5 Fedora Update System 2020-09-23 15:19:32 UTC
FEDORA-2020-da341ff9d8 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-da341ff9d8

Comment 6 Fedora Update System 2020-09-23 17:22:27 UTC
FEDORA-2020-dda3f26cef has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-dda3f26cef`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-dda3f26cef

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2020-09-23 17:41:38 UTC
FEDORA-2020-6d6d3a0657 has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-6d6d3a0657`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-6d6d3a0657

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2020-09-23 18:01:23 UTC
FEDORA-EPEL-2020-9d112c5ec8 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-9d112c5ec8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2020-09-24 13:32:54 UTC
FEDORA-2020-da341ff9d8 has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-da341ff9d8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-da341ff9d8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2020-09-28 00:14:48 UTC
FEDORA-2020-da341ff9d8 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2020-09-30 01:21:46 UTC
FEDORA-2020-e7d3b5da06 has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-e7d3b5da06`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-e7d3b5da06

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2020-09-30 01:22:01 UTC
FEDORA-2020-ed840faaca has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-ed840faaca`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-ed840faaca

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2020-09-30 02:10:19 UTC
FEDORA-EPEL-2020-4a119a4390 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-4a119a4390

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2020-10-07 20:36:34 UTC
FEDORA-2020-ed840faaca has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2020-10-07 20:45:18 UTC
FEDORA-2020-e7d3b5da06 has been pushed to the Fedora 31 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 16 Fedora Update System 2020-10-15 15:32:23 UTC
FEDORA-EPEL-2020-4a119a4390 has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.