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

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

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


From: Ben Escoto
Subject: Re: [rdiff-backup-users] TypeError: utime() arg 2 must be a tuple (atime, mtime)
Date: Mon, 10 Mar 2003 16:09:26 -0800

>>>>> "CS" == Christian Skarby <address@hidden>
>>>>> wrote the following on Mon, 10 Mar 2003 15:47:34 +0100 (CET)

  >>>>> "BE" == Ben Escoto <address@hidden>
  BE> Yes, if you can reproduce the error then verbosity level 7
  BE> output might help here.

  CS> ran this: # rdiff-backup -v 7 -b /home /backup/test
  CS> >rdiff-backup.7.log 2> rdiff-backup.7.err
    ...
  CS> Copying attributes from ('interhost', 'ace', '.maildir-sent',
  CS> 'cur', '1035718019.32342_6.palpable:2,S') to
  CS> /backup/test/interhost/ace/.maildir-sent/cur/rdiff-backup.tmp.1979
  CS> Setting time of
  CS> /backup/test/interhost/ace/.maildir-sent/cur/rdiff-backup.tmp.1979
  CS> to 1035718019 Renaming
    ...
  CS> Copying attributes from ('interhost', 'ace', '.maildir-sent',
  CS> 'cur', '1038064008.20239_5.palpable:2,S') to
  CS> /backup/test/interhost/ace/.maildir-sent/cur/rdiff-backup.tmp.1980
  CS> Setting time of
  CS> /backup/test/interhost/ace/.maildir-sent/cur/rdiff-backup.tmp.1980
  CS> to 1038064008

Strange.  It seems that something is going wrong setting the time on
/interhost/ace/.maildir-sent/cur/1038064008.20239_5.palpable:2,S.  But
other files, like
/interhost/ace/.maildir-sent/cur/1035718019.32342_6.palpable:2,S were
set fine.  Can you think of any reason it would work for one and not
the other?

    Is that file
    /backup/test/interhost/ace/.maildir-sent/cur/rdiff-backup.tmp.1980
still around?  If so you may want to try this manually:

$ python
Python 2.2.1 (#1, Aug 30 2002, 12:15:30) 
[GCC 3.2 20020822 (Red Hat Linux Rawhide 3.2-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os, time
>>> os.utime("/backup/test/interhost/ace/.maildir-sent/cur/rdiff-backup.tmp.1980",
>>>  (time.time(), 1038064008))

and see if it works.


-- 
Ben Escoto

Attachment: pgpKLCBnQZM4L.pgp
Description: PGP signature


reply via email to

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