[Top][All Lists]

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

Re: [rdiff-backup-users] Assertion error when restoring files

From: Ryan Castle
Subject: Re: [rdiff-backup-users] Assertion error when restoring files
Date: Mon, 6 Sep 2004 09:02:01 +1000

We get that problem. We've had it since 0.13.2 I think. Not sure what the solution is. It seems to get into certain directories and then not be able to get out. To get it working I commented out the assert line. That's not ideal, but it's been working for us for several months now. My python isn't good enough to write a fix. :)


----- Original Message ----- From: "Maarten Vink / Interstroom" <address@hidden>
To: <address@hidden>
Sent: Thursday, September 02, 2004 12:23 AM
Subject: [rdiff-backup-users] Assertion error when restoring files


When restoring files from a backup, I'm getting the following assertion error:

Processing changed file atsar/atsa31
Regular copying ('atsar', 'atsa31') to logs_1h/atsar/rdiff-backup.tmp.62
Writing file object to logs_1h/atsar/rdiff-backup.tmp.62
Sending back exception (('var', 'log'), ('var', 'log', 'atsar', 'atsa31')) of type exceptions.AssertionError: File "/usr/lib/python2.2/site-packages/rdiff_backup/connection.py", line 334, in answer_request
    result = apply(eval(request.function_string), argument_list)
File "/usr/lib/python2.2/site-packages/rdiff_backup/connection.py", line 480, in readfromid
    if length is None: return cls.vfiles[id].read()
File "/usr/lib/python2.2/site-packages/rdiff_backup/iterfile.py", line 285, in read
    if not self.addtobuffer(): break
File "/usr/lib/python2.2/site-packages/rdiff_backup/iterfile.py", line 308, in addtobuffer
    try: currentobj = self.iter.next()
File "/usr/lib/python2.2/site-packages/rdiff_backup/restore.py", line 264, in get_diffs_from_collated
    diff = cls.get_diff(mir_rorp, target_rorp)
File "/usr/lib/python2.2/site-packages/rdiff_backup/restore.py", line 277, in get_diff
File "/usr/lib/python2.2/site-packages/rdiff_backup/restore.py", line 363, in get_fp
    rf = self.get_rf(index)
File "/usr/lib/python2.2/site-packages/rdiff_backup/restore.py", line 348, in get_rf
    if not self.add_rfs(index): return None
File "/usr/lib/python2.2/site-packages/rdiff_backup/restore.py", line 382, in add_rfs
    if Globals.process_uid != 0: self.perm_changer(temp_rf.mirror_rp)
File "/usr/lib/python2.2/site-packages/rdiff_backup/restore.py", line 698, in __call__
    assert index > old_index, (index, old_index)

Both sides are running rdiff-backup 0.13.4. Has anyone seen this error before? Is this a known problem, and is there a workaround?



rdiff-backup-users mailing list at address@hidden
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

reply via email to

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