[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Rdiff-backup-bugs] [bug #20902] Minor index out of range error on --lis
From: |
Jason Buberel |
Subject: |
[Rdiff-backup-bugs] [bug #20902] Minor index out of range error on --list-changed-since |
Date: |
Sat, 25 Aug 2007 21:53:21 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6) Gecko/20061201 Firefox/2.0.0.6 (Ubuntu-feisty) |
Follow-up Comment #1, bug #20902 (project rdiff-backup):
The (essentially) same error is seen when using the restore command:
1. mkdir orig
2. echo "test" >> orig/test.txt
3. rdiff-backup orig backup
4. rdiff-backup -r 1B backup restore
Exception 'list index out of range' raised of class '<type
'exceptions.IndexError'>':
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 295, in
error_check_Main
try: Main(arglist)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 315, in
Main
take_action(rps)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 281, in
take_action
elif action == "restore-as-of": Restore(rps[0], rps[1], 1)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 484, in
Restore
try: time = Time.genstrtotime(restore_timestr, rp = inc_rpath)
File "/var/lib/python-support/python2.5/rdiff_backup/Time.py", line 223, in
genstrtotime
return time_from_session(int(timestr[:-1]), rp)
File "/var/lib/python-support/python2.5/rdiff_backup/Time.py", line 192, in
time_from_session
return session_times[-session_num-1]
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in <module>
rdiff_backup.Main.error_check_Main(sys.argv[1:])
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 295, in
error_check_Main
try: Main(arglist)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 315, in
Main
take_action(rps)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 281, in
take_action
elif action == "restore-as-of": Restore(rps[0], rps[1], 1)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 484, in
Restore
try: time = Time.genstrtotime(restore_timestr, rp = inc_rpath)
File "/var/lib/python-support/python2.5/rdiff_backup/Time.py", line 223, in
genstrtotime
return time_from_session(int(timestr[:-1]), rp)
File "/var/lib/python-support/python2.5/rdiff_backup/Time.py", line 192, in
time_from_session
return session_times[-session_num-1]
IndexError: list index out of range
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?20902>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/