[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Rdiff-backup-bugs] [bug #16534] Exception if you request a deleted incr
From: |
anonymous |
Subject: |
[Rdiff-backup-bugs] [bug #16534] Exception if you request a deleted increment |
Date: |
Sat, 6 May 2006 03:44:02 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7 |
URL:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=16534>
Summary: Exception if you request a deleted increment
Project: rdiff-backup
Submitted by: None
Submitted on: Saturday 05/06/06 at 03:44 UTC
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
_______________________________________________________
Details:
Just playing around with rdiff-backup, which looks very good, and is written
in a good language :) However I found a case that probably should give a nice
error message instead of this traceback.
Delete an increment, then ask for it in a --r. Note that if I ask for a
revision much older (7B, I have not done seven backups) then there is no
error.
address@hidden restore]$ rdiff-backup --remove-older-than 2B
~/Archive/rdiff-backup/
Deleting increment at time:
Fri May 5 23:23:41 2006
address@hidden restore]$ rdiff-backup -r 3B --force ~/Archive/rdiff-backup/
hi
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib64/python2.3/site-packages/rdiff_backup/Main.py", line 285,
in Main
take_action(rps)
File "/usr/lib64/python2.3/site-packages/rdiff_backup/Main.py", line 265,
in take_action
elif action == "restore-as-of": Restore(rps[0], rps[1], 1)
File "/usr/lib64/python2.3/site-packages/rdiff_backup/Main.py", line 499,
in Restore
try: time = Time.genstrtotime(restore_timestr, rp = inc_rpath)
File "/usr/lib64/python2.3/site-packages/rdiff_backup/Time.py", line 223,
in genstrtotime
return time_from_session(int(timestr[:-1]), rp)
File "/usr/lib64/python2.3/site-packages/rdiff_backup/Time.py", line 192,
in time_from_session
return session_times[-session_num-1]
IndexError: list index out of range
address@hidden restore]$
-Federico
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=16534>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [Rdiff-backup-bugs] [bug #16534] Exception if you request a deleted increment,
anonymous <=