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

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

[rdiff-backup-users] TypeError: "'NoneType' object is not callable


From: Jes Kasper Klittum
Subject: [rdiff-backup-users] TypeError: "'NoneType' object is not callable
Date: Fri, 14 Jul 2006 11:26:30 +0200

Hi list,

I am trying to backup a remote CentOS 4.3 server using rdiff-backup. The backup is a backup of the remote servers entire file system, so it approximately 68 GB of data spread on 4139672 inodes. Both machines run rdiff-backup-1.0.4-2

I am deploying this command from the backup server:

/usr/bin/rdiff-backup --exclude-device-files --exclude /tmp -- exclude /var/tmp --exclude /var/log --exclude /proc --exclude /mnt/ cdrom --exclude /home/dailybackup --print-statistics --force host.domain.com::/ /home/backup/host.domain.com

host.domain.com is defined in an ssh config file:

host host.domain.com
                hostname host.domain.com
                user root
                port 99
                identityfile /home/backup/.ssh/id_rsa
                compression yes
                cipher blowfish
                protocol 2

rdiff-backup runs for a couple of hours, and I see the files in the folder rdiff-backup-data increase, then suddenly it breaks with the error below.

This is what is left in the rdiff-backup-data dir:

ls -alStrh rdiff-backup-data/
total 50M
-rw-------   1 root root    0 Jul 14 07:56 chars_to_quote
drwx------   2 root root 4.0K Jul 14 07:56 increments
-rw-------   1 root root    0 Jul 14 07:56 backup.log
drwx------   3 root root 4.0K Jul 14 07:56 .
drwxr-xr-x  22 root root 4.0K Jul 14 07:56 ..
-rw------- 1 root root 122 Jul 14 11:12 extended_attributes. 2006-07-14T07:56:10+02:00.snapshot.gz -rw------- 1 root root 21M Jul 14 11:12 file_statistics. 2006-07-14T07:56:10+02:00.data.gz -rw------- 1 root root 108 Jul 14 11:12 error_log. 2006-07-14T07:56:10+02:00.data.gz -rw------- 1 root root 29M Jul 14 11:12 mirror_metadata. 2006-07-14T07:56:10+02:00.snapshot.gz


Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound method GzipFile.__del__ of <gzip open file '/home/backup/ host.domain.com/rdiff-backup-data/error_log.2006-07-14T07:56:10 +02:00.data.gz', mode 'wb' at 0xf6d334a0 0xf6b0b46c>> ignored Exception exceptions.TypeError: "'NoneType' object is not callable" in ignored

 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 285, in Main
    take_action(rps)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 253, in take_action
    connection.PipeConnection(sys.stdin, sys.stdout).Server()
File "/usr/lib/python2.3/site-packages/rdiff_backup/ connection.py", line 352, in Server
    self.get_response(-1)
File "/usr/lib/python2.3/site-packages/rdiff_backup/ connection.py", line 314, in get_response
    try: req_num, object = self._get()
File "/usr/lib/python2.3/site-packages/rdiff_backup/ connection.py", line 230, in _get raise ConnectionReadError("Truncated header string (problem "rdiff_backup.connection.ConnectionReadError: Truncated header string (problem probably originated remotely)

I have no idea what the reason is. Have anyone ever seen this? I tried searching google, and http://www.mail-archive.com/rdiff-backup- address@hidden/index.html for NoneType' object is not callable but to no avail.





reply via email to

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