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

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

[rdiff-backup-users] Exception exceptions.TypeError: "'NoneType' object


From: Gurvan Huiban
Subject: [rdiff-backup-users] Exception exceptions.TypeError: "'NoneType' object is not callable"
Date: Tue, 25 Apr 2006 18:07:19 -0300
User-agent: KMail/1.9.1

Dear list,

in my lab, we use rdiff-backup (version 0.13.4, from Debian stable 
distribution) to make a daily backup of the home of the users. It was working 
fine until yesterday.

Yesterday, I deleted the account of a user. When rdiff-backup made its backup 
of the home directory, it returned some "UpdateError File changed from 
regular file before signature", as for instance:

============
UpdateError brut/.bashrc File changed from regular file before signature
============

Then, the backup started and rdiff-backup crashed (full message below).

From now on, if I try to run rdiff-backup again, it crashes the same way. I 
gave a look to the rdiff-backup wiki, especially this page
http://rdiff-backup.solutionsfirst.com.au/index.php/FileChanged
but as rdiff-backup crashes, the metadata files are not complete.

What should I do to make rdiff-backup work again? Why removing a directory 
make rdiff-backup crash so badly? How can I prevent this to happen again?

Thanks


Message from the crash
============
Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 23, in ?
    rdiff_backup.Main.Main(sys.argv[1:])
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 260, in 
Main
    take_action(rps)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 230, in 
take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 279, in 
Backup
    backup.Mirror_and_increment(rpin, rpout, incdir)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 51, in 
Mirror_and_increment
    DestS.patch_and_increment(dest_rpath, source_diffiter, inc_rpath)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 227, in 
patch_and_increment
    ITR(diff.index, diff)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/rorpiter.py", line 279, 
in __call__
    last_branch.fast_process(*args)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 608, in 
fast_process
    inc = self.inc_with_checking(tf, rp, self.get_incrp(index))
  File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 594, in 
inc_with_checking
    try: inc = increment.Increment(new, old, inc_rp)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/increment.py", line 40, 
in Increment
    if not mirror.lstat(): incrp = makemissing(incpref)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/increment.py", line 51, 
in makemissing
    incrp.touch()
  File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 817, in 
touch
    self.conn.open(self.path, "w").close()
IOError: [Errno 2] No such file or 
directory: 
'/root/backup/home/lapo/rdiff-backup-data/increments/brut/.gconf/apps.2006-04-24T02:00:03-03:00.missing'
Exception exceptions.TypeError: "'NoneType' object is not callable" 
in /usr/lib/python2.3/gzip.py:129: FutureWarning: hex()/oct() of negative int 
will return a signed
+string in Python 2.4 and up
  return '<gzip ' + s[1:-1] + ' ' + hex(id(self)) + '>'
<bound method GzipFile.__del__ of <gzip open 
file 
'/root/backup/home/lapo/rdiff-backup-data/file_statistics.2006-04-25T02:00:03-03:00.data.gz',
 
mode 'wb' at 0xb7d5cf60
+0xb7b5202c>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound 
method GzipFile.__del__ of <gzip open file
+'/root/backup/home/lapo/rdiff-backup-data/error_log.2006-04-25T02:00:03-03:00.data.gz',
 
mode 'wb' at 0xb7d5c3e0 0xb7ad6c8c>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in  
ignored
============


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Gurvan Huiban

     "My mother used to make coffee this way...
       Hot...
        Strong...
         And good."    (from "Once upon in the West")





reply via email to

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