[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] Rdiff-backup AssertionError due to python versions
From: |
Gavin |
Subject: |
[rdiff-backup-users] Rdiff-backup AssertionError due to python versions |
Date: |
Thu, 17 May 2007 11:40:37 +1000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.0.11) Gecko/20070217 Iceape/1.0.8 (Debian-1.0.8-4) |
Hi all,
Thought this should go on the list, hopefully helps someone.
It appears that if the same version of Rdiff-backup are present
but the python version differs an assertion error arises on the second
backup if
done a day or so later from the amd64 machine to the i386 machine. The
backups
from the i386 machine to the amd64 machine continued without error.
Upgrading the i386 machine bellow (and removing the rdiff-backup-data dir)
to etch solved the errors.
Cheers
Gavin
Environment:
################################################################
Debian etch amd64, rdiff-backup 1.1.5-4, backupninja 0.9.4-6, python2.4
Debina sarge i386, rdiff-backup 1.1.5-4~bpo, backupninja_0.9.3-5bpo1,
python2.3
-Rdiff-backup used via backupninja
-bpo packages are from www.backports.org
################################################################
Error:
################################################################
#/usr/bin/rdiff-backup -v5 --print-statistics --exclude
'/home/*/.gnupg' --exclude '/home/*/.local/share/Trash' --exclude
'/home/*/.Trash' --exclude '/home/*/.thumbnails' --exclude
'/home/*/Desktop/Trash' --exclude '/home/*/.mozilla/*/*/Cache' --exclude
'/home/*/.mozilla/*/*/Cache.Trash' --exclude '/home/*/.beagle' --exclude
'/home/*/.aMule' --exclude '/home/*/gtk-gnutella-downloads' --exclude
'/home/*/.giFT' --exclude '/root/*/.gnupg' --exclude
'/root/*/.local/share/Trash' --exclude '/root/*/.Trash' --exclude
'/root/*/.thumbnails' --exclude '/root/*/Desktop/Trash' --exclude
'/root/*/.mozilla/*/*/Cache' --exclude
'/root/*/.mozilla/*/*/Cache.Trash' --include '/root' --include '/boot'
--include '/etc' --include '/var/backups' --include
'/var/lib/dpkg/status*' --include '/home/username' --exclude '/*' /
address@hidden::/backup/localhostname/
Executing ssh -C address@hidden rdiff-backup --server
ACLs not supported by filesystem at /
-----------------------------------------------------------------
Detected abilities for source (read only) file system:
Access control lists Off
Extended attributes On
Case sensitivity On
Mac OS X style resource forks Off
Mac OS X Finder information Off
-----------------------------------------------------------------
Extended attributes not supported by filesystem at
/backup/localhostname/rdiff-backup-data/rdiff-backup.tmp.0
ACLs not supported by filesystem at
/backup/localhostname/rdiff-backup-data/rdiff-backup.tmp.0
-----------------------------------------------------------------
Detected abilities for destination (read/write) file system:
Ownership changing On
Hard linking On
fsync() directories On
Directory inc permissions On
High-bit permissions On
Extended filenames On
Access control lists Off
Extended attributes Off
Case sensitivity On
Mac OS X style resource forks Off
Mac OS X Finder information Off
-----------------------------------------------------------------
Exception '' raised of class 'exceptions.AssertionError':
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
295, in error_check_Main
try: Main(arglist)
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
315, in Main
take_action(rps)
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
271, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
328, in Backup
backup_final_init(rpout)
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
425, in backup_final_init
checkdest_if_necessary(rpout)
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
820, in checkdest_if_necessary
need_check = checkdest_need_check(dest_rp)
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
810, in checkdest_need_check
if not force: curmir_incs[0].conn.regress.check_pids(curmir_incs)
File "/var/lib/python-support/python2.4/rdiff_backup/connection.py",
line 448, in __call__
return apply(self.connection.reval, (self.name,) + args)
File "/var/lib/python-support/python2.4/rdiff_backup/connection.py",
line 367, in reval
for arg in args: self._put(arg, req_num)
File "/var/lib/python-support/python2.4/rdiff_backup/connection.py",
line 139, in _put
else: self._putobj(obj, req_num)
File "/var/lib/python-support/python2.4/rdiff_backup/connection.py",
line 144, in _putobj
self._write("o", pickle.dumps(obj, 1), req_num)
File "pickle.py", line 1386, in dumps
Pickler(file, protocol, bin).dump(obj)
File "pickle.py", line 231, in dump
self.save(obj)
File "pickle.py", line 293, in save
f(self, obj) # Call unbound method with explicit self
File "pickle.py", line 614, in save_list
self._batch_appends(iter(obj))
File "pickle.py", line 647, in _batch_appends
save(x)
File "pickle.py", line 293, in save
f(self, obj) # Call unbound method with explicit self
File "pickle.py", line 737, in save_inst
stuff = getstate()
File "/var/lib/python-support/python2.4/rdiff_backup/rpath.py", line
754, in __getstate__
assert self.conn is Globals.local_connection
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.error_check_Main(sys.argv[1:])
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
295, in error_check_Main
try: Main(arglist)
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
315, in Main
take_action(rps)
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
271, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
328, in Backup
backup_final_init(rpout)
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
425, in backup_final_init
checkdest_if_necessary(rpout)
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
820, in checkdest_if_necessary
need_check = checkdest_need_check(dest_rp)
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
810, in checkdest_need_check
if not force: curmir_incs[0].conn.regress.check_pids(curmir_incs)
File "/var/lib/python-support/python2.4/rdiff_backup/connection.py",
line 448, in __call__
return apply(self.connection.reval, (self.name,) + args)
File "/var/lib/python-support/python2.4/rdiff_backup/connection.py",
line 367, in reval
for arg in args: self._put(arg, req_num)
File "/var/lib/python-support/python2.4/rdiff_backup/connection.py",
line 139, in _put
else: self._putobj(obj, req_num)
File "/var/lib/python-support/python2.4/rdiff_backup/connection.py",
line 144, in _putobj
self._write("o", pickle.dumps(obj, 1), req_num)
File "/usr/lib/python2.4/pickle.py", line 1386, in dumps
Pickler(file, protocol, bin).dump(obj)
File "/usr/lib/python2.4/pickle.py", line 231, in dump
self.save(obj)
File "/usr/lib/python2.4/pickle.py", line 293, in save
f(self, obj) # Call unbound method with explicit self
File "/usr/lib/python2.4/pickle.py", line 614, in save_list
self._batch_appends(iter(obj))
File "/usr/lib/python2.4/pickle.py", line 647, in _batch_appends
save(x)
File "/usr/lib/python2.4/pickle.py", line 293, in save
f(self, obj) # Call unbound method with explicit self
File "/usr/lib/python2.4/pickle.py", line 737, in save_inst
stuff = getstate()
File "/var/lib/python-support/python2.4/rdiff_backup/rpath.py", line
754, in __getstate__
assert self.conn is Globals.local_connection
AssertionError
################################################################
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [rdiff-backup-users] Rdiff-backup AssertionError due to python versions,
Gavin <=