Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 466734 - >app-backup/duplicity-0.6.18 - purging files with ssh_paramiko backend fails
Summary: >app-backup/duplicity-0.6.18 - purging files with ssh_paramiko backend fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tim Harder
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-04-21 22:42 UTC by Andreas Nüßlein
Modified: 2013-06-17 22:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
This patch fixes the delete-function of the _ssh_paramiko.py-backend (file_466734.txt,2.59 KB, text/plain)
2013-04-21 22:43 UTC, Andreas Nüßlein
Details
files/ssh_paramiko.patch (file_466734.txt,2.07 KB, patch)
2013-04-21 23:02 UTC, Andreas Nüßlein
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Nüßlein 2013-04-21 22:42:26 UTC
Due to new unresolved bugs in the sourcecode, the delete()-function is broken.

Reproducible: Always

Steps to Reproduce:
1. duplicity full sftp://...
2. duplicity remove-all-but-n-full 2 sftp://...
Actual Results:  
sftp rm duplicity-full-signatures.20130421T221110Z.sigtar.gpg failed: [Errno 2] No such file (Try 2 of 5) Will retry in 10 seconds.

Expected Results:  
Deleting complete signature chain Mon Apr 22 00:25:04 2013
Deleting complete backup chain Mon Apr 22 00:25:04 2013


I've created a patch :)
I'm not sure how fast upstream is, that's why I'm also opening a bug here.
Comment 1 Andreas Nüßlein 2013-04-21 22:43:30 UTC
Created attachment 346240 [details]
This patch fixes the delete-function of the _ssh_paramiko.py-backend
Comment 2 Andreas Nüßlein 2013-04-21 23:02:14 UTC
Created attachment 346242 [details, diff]
files/ssh_paramiko.patch

fixes detete-function of _ssh_paramiko.py-backend.

obsoletes old patch-file:
correctly formatted now.
Comment 3 René 'Necoro' Neumann 2013-04-24 14:34:02 UTC
Could you give the link to the upstream bug?
Comment 4 Andreas Nüßlein 2013-04-24 15:02:53 UTC
Certainly:
https://bugs.launchpad.net/duplicity/+bug/1115715
Comment 5 Tim Harder gentoo-dev 2013-06-17 22:17:45 UTC
Thanks, applied upstream patch in duplicity-0.6.21-r1.