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

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

[rdiff-backup-users] python 2.3 issues


From: jerad
Subject: [rdiff-backup-users] python 2.3 issues
Date: Sun, 7 Dec 2003 17:34:35 -0800 (PST)
User-agent: DreamHost Webmail

Newbie post forthcoming...

I am trying to get rdiff-backup working with Mandrake 9.2 and Python 2.3
(new to all of these).  I have tried the rpms for both 0.12.6 and 0.13.3,
but they both have dependencies on Python 2.2 (actually >= 2.2 and < 2.3).
 I saw the post in the archives that running the rpm with --nodeps would
drop everything in /usr/lib/python2.2/site-modules, so I installed it and
moved those to /usr/lib/python2.3/site-modules instead.  I also saw a post
from a while back saying everything was working as of 0.13.1 with Python
2.3.

Here is a trace from a simple local backup attempt after installing 0.13.3:

address@hidden /]# rdiff-backup /var/www/html /var/www/html/backup
/usr/lib/python2.3/site-packages/rdiff_backup/librsync.py:27:
RuntimeWarning: Python C API version mismatch for module _librsync: This
Python has API version 1012, module _librsync has version 1011.
  import _librsync, types, array
/usr/lib/python2.3/site-packages/rdiff_backup/robust.py:23:
RuntimeWarning: Python C API version mismatch for module C: This Python
has API version 1012, module C has version 1011.
  import librsync, C, static, rpath, Globals, log, statistics
########## /var/www/html /root/tmp
########## /var/www /root/tmp
########## /var /root/tmp
Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 24, 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 255,
in Backup
    backup_check_dirs(rpin, rpout)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 301,
in backup_check_dirs
    backup_warn_if_infinite_regress(rpin, rpout)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 334,
in backup_warn_if_infinite_regress
    if Globals.backup_reader.Globals.select_source.Select(rpout): Log(
AttributeError: 'module' object has no attribute 'select_source'

Any help would be greatly appreciated!  Thanks!

_Jerad




reply via email to

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