rdiff-backup-statistics not working

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

rdiff-backup-statistics not working

Martin Kos
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@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@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



_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Reply | Threaded
Open this post in threaded view
|

Re: rdiff-backup-statistics not working

Ben Escoto
>>>>> Martin Kos <[hidden email]>
>>>>> 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

_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

attachment0 (196 bytes) Download Attachment