[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] Assertion errors in rdiff-backup 0.13.3
From: |
Gr We |
Subject: |
[rdiff-backup-users] Assertion errors in rdiff-backup 0.13.3 |
Date: |
Sat, 31 Jan 2004 22:39:34 +0000 |
Hello, I almost always get an error like this when I try to copy between a
Debian and FreeBSD box:
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 247, in
Main
take_action(rps)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 218, in
take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 264, in
Backup
Time.setprevtime(prevtime)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Time.py", line 52, in
setprevtime
assert 0 < timeinseconds < curtime, \
AssertionError: Time 1075584346 is out of bounds
Traceback (most recent call last):
File "/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 247, in
Main
take_action(rps)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 216, in
take_action
connection.PipeConnection(sys.stdin, sys.stdout).Server()
File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line
336, in Server
self.get_response(-1)
File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line
298, in get_response
try: req_num, object = self._get()
File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line
221, in _get
raise ConnectionReadError("Truncated header string (problem "
rdiff_backup.connection.ConnectionReadError: Truncated header string
(problem probably originated remotely)
Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method GzipFile.__del__ of <gzip open file
'xxx/rdiff-backup-data/error_log.2004-01-31T22:07:39+02:00.data.gz', mode
'wb' at 0x81e5420 0x8331f4c>> ignored
If I run the command many times - the first time it works and then about
every 10th run again. Because of that I modified
/usr/lib/python2.3/site-packages/rdiff_backup/Time.py, to get more verbose
output and when it doesn't work it looks like this:
AssertionError: Time 1075591119 is out of bounds (curtime: 1075588293)
AssertionError: Time 1075591966 is out of bounds (curtime: 1075588546)
Why is the curtime number smaller? How could this happen? Both systems have
the clock set to the same time (only +- one second). I tryed the argument
for setting current time, but it is ignored by this funcion.
Because I think that this assert comparing is just a cpu and memory eating
thing i commented it out and now everything always works fine.
I hope someone will fix this in the newer version.
_________________________________________________________________
Use MSN Messenger to send music and pics to your friends
http://www.msn.co.uk/messenger
- [rdiff-backup-users] Assertion errors in rdiff-backup 0.13.3,
Gr We <=