Subscribe to Mailing Lists     FAQFAQ    SearchSearch      Register  Log in to check your private messagesLog in to check your private messages    Log inLog in 
These forums brought to you by Backup Central, where we also have the Mr. Backup Blog, Mailing Lists, FAQs,
and Directories of Backup Software and Hardware
Re: New feature: --verify-full

 
Post new topic   Reply to topic    Backup Central Forums Forum Index -> Rdiff-Backup
View previous topic :: View next topic  
Author Message
Matthew Miller
Guest





PostPosted: Fri Feb 12, 2010 1:17 pm    Post subject: Re: New feature: --verify-full Reply with quote

On Fri, Feb 12, 2010 at 04:09:49PM -0500, Daniel Miller wrote:
Quote:
Here's the patch for 1.2.8


This is really cool. Thanks.

--
Matthew Miller mattdm < at > mattdm.org <http://mattdm.org/>


_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Back to top
Matthew Miller
Guest





PostPosted: Fri Feb 12, 2010 1:31 pm    Post subject: Re: New feature: --verify-full Reply with quote

On Fri, Feb 12, 2010 at 04:09:49PM -0500, Daniel Miller wrote:
Quote:
Here's the patch for 1.2.8

Annnd, here's the traceback:

Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 20, in ?
import rdiff_backup.Main
File "/usr/lib64/python2.4/site-packages/rdiff_backup/Main.py", line 25, in ?
import Globals, Time, SetConnections, selection, robust, rpath, \
File "/usr/lib64/python2.4/site-packages/rdiff_backup/SetConnections.py", line 30, in ?
import Globals, connection, rpath
File "/usr/lib64/python2.4/site-packages/rdiff_backup/connection.py", line 539, in ?
import Globals, Time, Rdiff, Hardlink, FilenameMapping, C, Security, \
File "/usr/lib64/python2.4/site-packages/rdiff_backup/Hardlink.py", line 34, in ?
import Globals, Time, log, robust, errno
File "/usr/lib64/python2.4/site-packages/rdiff_backup/robust.py", line 23, in ?
import librsync, C, static, rpath, Globals, log, statistics, connection
File "/usr/lib64/python2.4/site-packages/rdiff_backup/statistics.py", line 356, in ?
from integrity import BufferedDataWriter
File "/usr/lib64/python2.4/site-packages/rdiff_backup/integrity.py", line 198
yield path, indexpath_prefix + filepath, sig
SyntaxError: 'yield' not allowed in a 'try' block with a 'finally' clause

--
Matthew Miller mattdm < at > mattdm.org <http://mattdm.org/>


_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Back to top
millerdev



Joined: 18 Dec 2009
Posts: 20

PostPosted: Fri Feb 12, 2010 1:46 pm    Post subject: Re: New feature: --verify-full Reply with quote

On Feb 12, 2010, at 4:31 PM, Matthew Miller wrote:
On Fri, Feb 12, 2010 at 04:09:49PM -0500, Daniel Miller wrote:
Quote:
Quote:
Here's the patch for 1.2.8

Annnd, here's the traceback:

Traceback (most recent call last):
<snip>
SyntaxError: 'yield' not allowed in a 'try' block with a 'finally' clause


Uh, sorry... I developed this on Python 2.6. I tried to use the old conventions but you know how it goes...

Updated patch attached. The other line I'm not sure about is this one in integrity.py:

incs.sort(key=lambda rp:-rp.getinctime())

Can't remember when the sort(key=...) was implemented. Give it a try.


~ Daniel






_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Back to top
View user's profile Send private message
Armando M. Baratti
Guest





PostPosted: Wed Feb 17, 2010 10:20 am    Post subject: Re: New feature: --verify-full Reply with quote

Em 12/2/2010 19:40, Daniel Miller escreveu:
Quote:
...
incs.sort(key=lambda rp:-rp.getinctime())

Can't remember when the sort(key=...) was implemented. Give it a try.


The "key" argument for list sorting was added on Python 2.4.

---
Armando M. Baratti

LARC
/Pesquisa de Marketing Ltda
Alameda dos Maracatins, 161 - Indianópolis
CEP 04089-010 - São Paulo - SP
Tel.: (11) 5051-3133 - Fax: (11) 5052-5955
http://www.larc.com.br/




_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Backup Central Forums Forum Index -> Rdiff-Backup All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Magic SEO URL for phpBB