SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
rdiff-backup-statistics not working
Author Message
Post rdiff-backup-statistics not working 
i just found the new statistics feature and tried it, but it doesn't
seem to work? i use debian unstable, so the used version is 1.1.5-1

mkos < at > moon:~$ rdiff-backup tmp test
before the backup, there wasn't a directory named test. first i thought
it could be that something with the statistics files has changed and so
i used a "fresh" copy.

mkos < at > moon:~$ rdiff-backup-statistics test
Traceback (most recent call last):
File "/usr/bin/rdiff-backup-statistics", line 432, in ?
if __name__ == '__main__': Main()
File "/usr/bin/rdiff-backup-statistics", line 422, in Main
srp = StatisticsRPaths(Globals.rbdir)
File "/usr/bin/rdiff-backup-statistics", line 67, in __init__
self.session_rps = self.get_sorted_inc_rps('session_statistics')
File "/usr/bin/rdiff-backup-statistics", line 78, in get_sorted_inc_rps
incs.sort(key = lambda i: i.getinctime())
TypeError: sort() takes no keyword arguments

any idea on this one? thanks

greets
KoS
--
Martin Kos +41-76-384-93-33
http://kos.li Say NO to HTML in mail ICQ# 13556143
Proudly running Debian GNU/Linux

Post rdiff-backup-statistics not working 
Martin Kos <gmane < at > kos.lugs.ch>
wrote the following on Tue, 24 Jan 2006 17:07:53 +0100

incs.sort(key = lambda i: i.getinctime())
TypeError: sort() takes no keyword arguments

any idea on this one? thanks

Looks like I was using a feature that was introduced in python v2.4. I
should probably go back and change that, since I believe the rest of
rdiff-backup only needs python v2.2 or later.


--
Ben Escoto

Display posts from previous:
Reply to topic Page 1 of 1
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
  


Magic SEO URL for phpBB