[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] Possible python 2.3 dependency?
From: |
Chris Wilson |
Subject: |
[rdiff-backup-users] Possible python 2.3 dependency? |
Date: |
Sat, 27 Aug 2005 18:46:57 +0100 (BST) |
Hi all,
I've been using rdiff-backup 0.12.8 for several months and am very heppy with
it. Thank you all for your hard work!
Now I find that 1.0.0 has been released, and added to the freshrpms repository,
so all my FC2 boxes have upgraded themselves automatically :-|
(this is not your fault, of course, but freshrpms).
It seems that 0.12.8 is not compatible with 1.0.0, I get warnings about
mismatched versions and rdiff-backup crashes with a stack trace (I can provide
details if required).
So now I have to upgrade all my boxes to 1.0.0, including Gentoo ones which
don't know about 1.0.0 yet (wasn't Gentoo supposed to be "cutting edge"? ;-)
Either that, or downgrade all my FC2 boxes to 0.12.8.
It seems that 1.0.0 has some nice features like filesystem feature
determination, that I would like to use. I hope that I can upgrade them all.
And I'm almost there.
The last box to upgrade runs FC1. It's old and delicate. I built an RPM from
source, it runs, but crashes when trying to back up:
<stack trace>
Exception ''module' object has no attribute 'mknod'' raised of class
'exceptions.AttributeError':
File "/usr/lib/python2.2/site-packages/rdiff_backup/robust.py", line 32, in
check_common_error
try: return function(*args)
File "/usr/lib/python2.2/site-packages/rdiff_backup/rpath.py", line 101, in
copy
rpout.makedev("c", major, minor)
File "/usr/lib/python2.2/site-packages/rdiff_backup/rpath.py", line 1042, in
makedev
try: self.conn.os.mknod(self.path, mode, self.conn.os.makedev(major,
minor))
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 24, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 282, in
Main
take_action(rps)
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 252, in
take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 302, in
Backup
backup.Mirror_and_increment(rpin, rpout, incdir)
File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line 51, in
Mirror_and_increment
DestS.patch_and_increment(dest_rpath, source_diffiter, inc_rpath)
File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line 229, in
patch_and_increment
ITR(diff.index, diff)
File "/usr/lib/python2.2/site-packages/rdiff_backup/rorpiter.py", line 279,
in __call__
last_branch.fast_process(*args)
File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line 610, in
fast_process
if self.patch_to_temp(rp, diff_rorp, tf):
File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line 493, in
patch_to_temp
self.write_special(diff_rorp, new)
File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line 525, in
write_special
if robust.check_common_error(eh, rpath.copy, (diff_rorp, new)) == 0:
File "/usr/lib/python2.2/site-packages/rdiff_backup/robust.py", line 32, in
check_common_error
try: return function(*args)
File "/usr/lib/python2.2/site-packages/rdiff_backup/rpath.py", line 101, in
copy
rpout.makedev("c", major, minor)
File "/usr/lib/python2.2/site-packages/rdiff_backup/rpath.py", line 1042, in
makedev
try: self.conn.os.mknod(self.path, mode, self.conn.os.makedev(major,
minor))
AttributeError: 'module' object has no attribute 'mknod'
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound
method GzipFile.__del__ of <gzip open file
'/mnt/backup/server/rdiff/rdiff-backup-data/file_statistics.2005-08-26T23:59:58+01:00.data.gz',
mode 'wb' at 0x8505320 0x84fdb7c>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound
method GzipFile.__del__ of <gzip open file
'/mnt/backup/server/rdiff/rdiff-backup-data/mirror_metadata.2005-08-26T23:59:58+01:00.snapshot.gz',
mode 'wb' at 0x85a9680 0x85a92b4>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound
method GzipFile.__del__ of <gzip open file
'/mnt/backup/server/rdiff/rdiff-backup-data/error_log.2005-08-26T23:59:58+01:00.data.gz',
mode 'wb' at 0x8509d78 0x85097d4>> ignored
</stack-trace>
So it seems that rdiff-backup 1.0.0 doesn't like python 2.2? I really don't
want to upgrade python on this box (it would be easier to upgrade the whole OS,
or to extract teeth from an angry camel).
The front page of the website says that only Python 2.2 is required, and the
change log says only this:
rdiff-backup should now work and build with python 2.3. Thanks to
Arkadiusz Miskiewicz and Arkadiusz Patyk for bug reports and a patch.
Could it be that this change has broken something?
Cheers, Chris.
--
_ ___ __ _
/ __/ / ,__(_)_ | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |
- [rdiff-backup-users] Possible python 2.3 dependency?,
Chris Wilson <=