duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Duplicity-talk] TypeError: sort() takes no keyword arguments?


From: Andrew Kohlsmith (lists)
Subject: [Duplicity-talk] TypeError: sort() takes no keyword arguments?
Date: Thu, 15 May 2008 10:59:34 -0400
User-agent: KMail/1.9.6 (enterprise 0.20070907.709405)

Good morning,

I am running duplicity on my local CVS repository, backing up to a local 
directory.  (Yes I do realize this is a little over-protective, I'm just 
playing around at this point, but will probably use duplicity to back up and 
store the cvs repo in encrypted form elsewhere.)

The initial backup worked great.  Today I try to run duplicity again just to 
create an incremental backup of the changes. It sits and thinks for about 10 
seconds, and then crashes out:

# duplicity /var/data/cvs file:///var/data/duplicity/cvs
Traceback (most recent call last):
  File "/usr/bin/duplicity", line 463, in ?
    with_tempdir(main)
  File "/usr/bin/duplicity", line 458, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 393, in main
    last_full_time = col_stats.get_last_full_backup_time()
  File "/usr/lib/python2.3/site-packages/duplicity/collections.py", line 769, 
in get_last_full_backup_time
    return self.get_nth_last_full_backup_time(1)
  File "/usr/lib/python2.3/site-packages/duplicity/collections.py", line 774, 
in get_nth_last_full_backup_time
    chain = self.get_nth_last_backup_chain(n)
  File "/usr/lib/python2.3/site-packages/duplicity/collections.py", line 800, 
in get_nth_last_backup_chain
    key = lambda chain: chain.get_first().time)
TypeError: sort() takes no keyword arguments

Any ideas?  I believe I've met all the requirements, although I had to patch 
the setup.py to accept python 2.3.  (The changelog says that 0.4.11 should 
work under 2.3, but setup.py disagrees.)

# duplicity --version
duplicity 0.4.11

# python -V
Python 2.3.4

Regards,
Andrew




reply via email to

[Prev in Thread] Current Thread [Next in Thread]