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

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

[rdiff-backup-users] Persistent AssertionError on increment file


From: Jeff Mangum
Subject: [rdiff-backup-users] Persistent AssertionError on increment file
Date: Sun, 04 May 2008 09:19:17 -0400
User-agent: Thunderbird 2.0.0.14 (Macintosh/20080421)

Hello,

Searched for a solution to this problem in the archives but did not find. I have used rdiff-backup for years and periodically encounter the following problem. This is a regular backup of my file system to a USB connected external drive, all on Mac OS X 10.4 (PPC). Here is the trace from the failure point. I have tried deleting the current_mirror file then re-running rdiff-backup, but it still fails at this very same increment file:

Processing changed file Users/jmangum/Science/comets
Incrementing mirror file /Volumes/jmangum-maxtor/bkup/Users/jmangum/Science/comets
Traceback (most recent call last):
File "/sw/bin/rdiff-backup", line 23, in ?
  rdiff_backup.Main.Main(sys.argv[1:])
File "/sw/lib/python2.4/site-packages/rdiff_backup/Main.py", line 285, in Main
  take_action(rps)
File "/sw/lib/python2.4/site-packages/rdiff_backup/Main.py", line 255, in take_action
  elif action == "backup": Backup(rps[0], rps[1])
File "/sw/lib/python2.4/site-packages/rdiff_backup/Main.py", line 305, in Backup
  backup.Mirror_and_increment(rpin, rpout, incdir)
File "/sw/lib/python2.4/site-packages/rdiff_backup/backup.py", line 51, in Mirror_and_increment
  DestS.patch_and_increment(dest_rpath, source_diffiter, inc_rpath)
File "/sw/lib/python2.4/site-packages/rdiff_backup/backup.py", line 229, in patch_and_increment
  ITR(diff.index, diff)
File "/sw/lib/python2.4/site-packages/rdiff_backup/rorpiter.py", line 288, in __call__
  branch.start_process(*args)
File "/sw/lib/python2.4/site-packages/rdiff_backup/backup.py", line 643, in start_process
  self.dir_replacement, base_rp, self.get_incrp(index))
File "/sw/lib/python2.4/site-packages/rdiff_backup/backup.py", line 470, in check_long_name
  try: result = func(*args)
File "/sw/lib/python2.4/site-packages/rdiff_backup/increment.py", line 41, in Increment
  elif mirror.isdir(): incrp = makedir(mirror, incpref)
File "/sw/lib/python2.4/site-packages/rdiff_backup/increment.py", line 94, in makedir
  dirsign = get_inc(incpref, "dir")
File "/sw/lib/python2.4/site-packages/rdiff_backup/increment.py", line 114, in get_inc
  assert not incrp.lstat(), incrp
AssertionError: Path: /Volumes/jmangum-maxtor/bkup/rdiff-backup-data/increments/Users/jmangum/Science/comets.2008-05-02T07:39:51-04:00.dir Index: ('Users', 'jmangum', 'Science', 'comets.2008-05-02T07:39:51-04:00.dir') Data: {'uid': 99, 'perms': 493, 'type': 'reg', 'gname': 'unknown', 'ctime': 1209762659, 'devloc': 234881029L, 'uname': 'unknown', 'nlink': 1, 'gid': 99, 'mtime': 1209737391, 'resourcefork': '', 'atime': 1209762659, 'inode': 5446046L, 'size': 0L} Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound method GzipFile.__del__ of <gzip open file '/Volumes/jmangum-maxtor/bkup/rdiff-backup-data/file_statistics.2008-05-02T13:19:33-04:00.data.gz', mode 'wb' at 0x7c34a0 0x7cd4e0>> ignored Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound method GzipFile.__del__ of <gzip open file '/Volumes/jmangum-maxtor/bkup/rdiff-backup-data/error_log.2008-05-02T13:19:33-04:00.data.gz', mode 'wb' at 0x3b5608 0x7d3ad0>> ignored Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound method GzipFile.__del__ of <gzip open file '/Volumes/jmangum-maxtor/bkup/rdiff-backup-data/mirror_metadata.2008-05-02T13:19:33-04:00.snapshot.gz', mode 'wb' at 0x7c34e8 0x7cd288>> ignored
torgo:~ jmangum$

Any suggestions as to how to get by this error?  Thanks!

-- Jeff




reply via email to

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