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

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

[rdiff-backup-users] expected <x> to be a directory but found None inste


From: mortee
Subject: [rdiff-backup-users] expected <x> to be a directory but found None instead.
Date: Fri, 25 May 2007 09:31:53 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.5.666

Hi!

I use rdiff-backup 1.0.5 on a NetBSD system for daily backup of various
directories. I just noticed the other day that I wouldn't need a
specific directory anymore, and removed it recursively.

Next night I got the text below on RB's output - and I keep getting it
every night ever since. The weird thing is that the mentioned forder in
the backup location actually does exist, as the one in the location to
be backed up got deleted.

$ ls -ld /var/tmp/chroot
ls: /var/tmp/chroot: No such file or directory
$ ls -ld /disk/kosar/backups/gerzson/system/root/var/tmp/chroot
drwx------  2 root  wheel  512 May 24 03:31
/disk/kosar/backups/gerzson/system/root/var/tmp/chroot/

Why may RB keep telling me this, and how could I prevent it?

thx
mortee

Warning: expected /disk/kosar/backups/gerzson/system/root/var/tmp/chroot
to be a directory but found None instead.
This is probably caused by a bug in versions 1.0.0 and earlier.
Traceback (most recent call last):
  File "/usr/pkg/bin/rdiff-backup", line 23, in ?
    rdiff_backup.Main.Main(sys.argv[1:])
  File "/usr/pkg/lib/python2.4/site-packages/rdiff_backup/Main.py", line
285, in Main
    take_action(rps)
  File "/usr/pkg/lib/python2.4/site-packages/rdiff_backup/Main.py", line
255, in take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/usr/pkg/lib/python2.4/site-packages/rdiff_backup/Main.py", line
305, in Backup
    backup.Mirror_and_increment(rpin, rpout, incdir)
  File "/usr/pkg/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 "/usr/pkg/lib/python2.4/site-packages/rdiff_backup/backup.py",
line 229, in patch_and_increment
    ITR(diff.index, diff)
  File "/usr/pkg/lib/python2.4/site-packages/rdiff_backup/rorpiter.py",
line 288, in __call__
    branch.start_process(*args)
  File "/usr/pkg/lib/python2.4/site-packages/rdiff_backup/backup.py",
line 643, in start_process
    self.prepare_dir(diff_rorp, base_rp)
  File "/usr/pkg/lib/python2.4/site-packages/rdiff_backup/backup.py",
line 575, in prepare_dir
    self.CCPP.flag_success(diff_rorp.index)
  File "/usr/pkg/lib/python2.4/site-packages/rdiff_backup/backup.py",
line 398, in flag_success
    self.cache_dict[index][3] = 1
KeyError: ('var', 'tmp', 'chroot')
Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method GzipFile.__del__ of <gzip open file
'/disk/kosar/backups/gerzson/system/root/rdiff-backup-data/file_statistics.2007-05-24T03:27:02+02:00.data.gz',
mode 'wb' at 0x81170b0 0x826716c>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method GzipFile.__del__ of <gzip open file
'/disk/kosar/backups/gerzson/system/root/rdiff-backup-data/error_log.2007-05-24T03:27:02+02:00.data.gz',
mode 'wb' at 0x8101b18 0x82596ec>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method GzipFile.__del__ of <gzip open file
'/disk/kosar/backups/gerzson/system/root/rdiff-backup-data/mirror_metadata.2007-05-24T03:27:02+02:00.snapshot.gz',
mode 'wb' at 0x8117140 0x82672cc>> ignored





reply via email to

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