rdiff-backup-users
[Top][All Lists]
Advanced

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

[rdiff-backup-users] TypeError: utime() arg 2 must be a tuple (atime, m


From: Christian Skarby
Subject: [rdiff-backup-users] TypeError: utime() arg 2 must be a tuple (atime, mtime)
Date: Thu, 6 Mar 2003 19:02:49 +0100 (CET)

Hi Ben and the rest!

I have some trouble getting this nice tool to work,
hope this error is not a duplicate of earlier postings to this list.

Atm I am trying
http://rdiff-backup.stanford.edu/rdiff-backup-0.11.3.tar.gz with
http://rdiff-backup.stanford.edu/librsync-0.9.5.1.tar.gz and python 2.2.2
on a gentoo linux system. I have had similar error when I've tried earlier
versions of rdiff-backup aswell. Is it that it is backing up to the same
host that is making trouble? (Just keep /backup as a directory the users
of the system have access to, and real backup on a remote server..)

Below is the output included, if more output is needed I could run with a
higher degree of verbosity. Please let me know if it would be helpful.

Sincerely,
Christian Skarby

# rdiff-backup -b /home /backup/test

Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 24, in ?
    rdiff_backup.Main.Main(sys.argv[1:])
  File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 234,
in Main
    take_action(rps)
  File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 208,
in take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 251,
in Backup
    backup.Mirror(rpin, rpout)
  File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line 36,
in Mirror
    DestS.patch(dest_rpath, source_diffiter)
  File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line
193, in patch
    ITR(diff.index, diff)
  File "/usr/lib/python2.2/site-packages/rdiff_backup/rorpiter.py", line
275, in __call__
    last_branch.fast_process(*args)
  File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line
379, in fast_process
    if self.patch_to_temp(rp, diff_rorp, tf):
  File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line
402, in patch_to_temp
    if new.lstat(): rpath.copy_attribs(diff_rorp, new)
  File "/usr/lib/python2.2/site-packages/rdiff_backup/rpath.py", line 161,
in copy_attribs
    if not rpin.isdev(): rpout.setmtime(rpin.getmtime())
  File "/usr/lib/python2.2/site-packages/rdiff_backup/rpath.py", line 647,
in setmtime
    self.conn.os.utime(self.path, (time.time(), modtime))
TypeError: utime() arg 2 must be a tuple (atime, mtime)
Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method GzipFile.__del__ of <gzip open file
'/backup/test/rdiff-backup-data/error_log.2003-03-06T18:50:25+02:00.data.gz',
mode 'wb' at 0x8274318 0x82742dc>> ignored







reply via email to

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