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

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

Re: [rdiff-backup-users] Broken rdiff-backup on Fedora 11


From: John Jason Jordan
Subject: Re: [rdiff-backup-users] Broken rdiff-backup on Fedora 11
Date: Tue, 2 Feb 2010 20:23:57 -0800

On Tue, 2 Feb 2010 21:26:54 -0500
Matthew Miller <address@hidden> dijo:

>On Tue, Feb 02, 2010 at 06:22:22PM -0800, John Jason Jordan wrote:
>> I have installed rdiff-backup 1.2.8 from the repositories on my
>> computer with Fedora 11 x86_64. The latest python in the
>> repositories is 2.2.6, which is also installed. When I attempt to
>> run it I get a page of error messages, all of which lead me to
>> conclude that there is an incompatibility between python 2.6 and
>> rdiff-backup 1.2.8.
>
>I assume that by 2.2.6 you just mean 2.6?

Yes. Sorry for the confusion. 

>I'm running on fedora 12, and it just works. You don't need to run the
>setup.py -- that's if you didn't install the packaged version.
>
>What are the "page of error messages" you get?

------------
address@hidden ~]$ ./rdiff-backup_script <the script I wrote, see below>
[sudo] password for jjj: 
Exception 'list index out of range' raised of class '<type
'exceptions.IndexError'>': File
"/usr/lib64/python2.6/site-packages/rdiff_backup/Main.py", line 304, in
error_check_Main try: Main(arglist) File
"/usr/lib64/python2.6/site-packages/rdiff_backup/Main.py", line 324, in
Main take_action(rps) File
"/usr/lib64/python2.6/site-packages/rdiff_backup/Main.py", line 287, in
take_action elif action == 'list-increment-sizes':
ListIncrementSizes(rps[0]) File
"/usr/lib64/python2.6/site-packages/rdiff_backup/Main.py", line 746, in
ListIncrementSizes print manage.ListIncrementSizes(restore_root,
restore_index) File
"/usr/lib64/python2.6/site-packages/rdiff_backup/manage.py", line 202,
in ListIncrementSizes triples = get_summary_triples(mirror_total,
time_dict) File
"/usr/lib64/python2.6/site-packages/rdiff_backup/manage.py", line 179,
in get_summary_triples mirror_time =
restore.get_inclist(cur_mir_base)[0].getinctime()

Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 30, in <module>
    rdiff_backup.Main.error_check_Main(sys.argv[1:])
  File "/usr/lib64/python2.6/site-packages/rdiff_backup/Main.py", line
304, in error_check_Main try: Main(arglist)
  File "/usr/lib64/python2.6/site-packages/rdiff_backup/Main.py", line
324, in Main take_action(rps)
  File "/usr/lib64/python2.6/site-packages/rdiff_backup/Main.py", line
287, in take_action elif action == 'list-increment-sizes':
ListIncrementSizes(rps[0]) File
"/usr/lib64/python2.6/site-packages/rdiff_backup/Main.py", line 746, in
ListIncrementSizes print manage.ListIncrementSizes(restore_root,
restore_index) File
"/usr/lib64/python2.6/site-packages/rdiff_backup/manage.py", line 202,
in ListIncrementSizes triples = get_summary_triples(mirror_total,
time_dict) File
"/usr/lib64/python2.6/site-packages/rdiff_backup/manage.py", line 179,
in get_summary_triples mirror_time =
restore.get_inclist(cur_mir_base)[0].getinctime() IndexError: list
index out of range
------------

Sorry for the formatting. Hard to copy and paste from the command line.

My script is:

#!/bin/bash
sudo rdiff-backup
--include-globbing-filelist /home/jjj/rdiff_excludes.txt / 
/media/Backups/Full_system_backup_Fedora
2> /home/jjj/rdiff-errors.txt sudo rdiff-backup
2> --list-increment-sizes /media/Backups/Full_system_backup_Fedora
2> > /home/jjj/rdiff-stats.txt

The folder /Full_system_backup_Fedora exists and I can read/write to it.

The rdiff_excludes.txt file is:

- /sys
- /media
- /mnt
- /tmp
- /proc
- /home/jjj/.gtkrc-1.2-gnome2/.gvfs
- /home/jjj/.gvfs
- /home/jjj/Azureus Downloads
- /var/run/cups/cups.sock
- /var/run/postgresql/.s.PGSQL.5433
- *.iso
- *.ISO

I installed rdiff-backup from the Fedora 11 repositories with Yumex.
I'm not sure how python was installed - probably either by default
during the installation of Fedora 11 (on a fresh hard disk) or as a
dependency when I installed rdiff-backup.

It is interesting that pybackpack runs fine. My understanding is that
it is just a GUI front end for rdiff-backup, so why does it work and
rdiff-backup does not work from the command line?

Thanks for the response. :)




reply via email to

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