[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] KeyError: 'xattr'
From: |
Kevin Fenzi |
Subject: |
Re: [rdiff-backup-users] KeyError: 'xattr' |
Date: |
Sat, 1 Nov 2008 14:36:00 -0600 |
Greetings.
Forgive me for opening an old thread, but I am seeing this problem here
as well...
> Austin, I had the same problem on rdiff-backup on all of my Debians
> (sarge/etch/lenny). My workaround of this problem was just remove
> python-pyattr.
I am one of the maintainers of rdiff-backup in the Fedora linux
distribution, and we have had reports of this issue there as well.
I also have been able to duplicate it here on a machine of mine.
Removing python-pyattr works as a workaround, but doesn't seem to me to
be a solution. ;(
You can find more info about the bug at:
https://bugzilla.redhat.com/show_bug.cgi?id=465574
My setup here that I can duplicate on is a Fedora 8 machine with a JFS
partition. Running either 1.2.1 or 1.2.2 of rdiff-backup I get
tracebacks like:
Sending back exception [Errno 22] Invalid argument of type <type
'exceptions.IOError'>:
File "/usr/lib/python2.5/site-packages/rdiff_backup/connection.py", line 335,
in answer_
request
result = apply(eval(request.function_string), argument_list)
File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 243, in
patch_and_i
ncrement
ITR(diff.index, diff)
File "/usr/lib/python2.5/site-packages/rdiff_backup/rorpiter.py", line 281,
in __call__
last_branch.fast_process(*args)
File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 689, in
fast_proces
s
if self.patch_to_temp(mirror_rp, diff_rorp, tf):
File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 550, in
patch_to_te
mp
result = self.patch_snapshot_to_temp(diff_rorp, new)
File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 575, in
patch_snaps
hot_to_temp
rpath.copy_attribs(diff_rorp, new)
File "/usr/lib/python2.5/site-packages/rdiff_backup/rpath.py", line 177, in
copy_attribs
if Globals.eas_write: rpout.write_ea(rpin.get_ea())
File "/usr/lib/python2.5/site-packages/rdiff_backup/rpath.py", line 1321, in
write_ea
ea.write_to_rp(self)
File "/usr/lib/python2.5/site-packages/rdiff_backup/eas_acls.py", line 109,
in write_to_rp
rp.conn.xattr.setxattr(rp.path, name, value, 0, rp.issym())
Exception '[Errno 22] Invalid argument' raised of class '<type
'exceptions.IOError'>':
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 304, in
error_check_Main
try: Main(arglist)
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 324, in
Main
take_action(rps)
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 280, in
take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 343, in
Backup
backup.Mirror_and_increment(rpin, rpout, incdir)
File "/usr/lib/python2.5/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.5/site-packages/rdiff_backup/connection.py", line 450,
in __call__
return apply(self.connection.reval, (self.name,) + args)
File "/usr/lib/python2.5/site-packages/rdiff_backup/connection.py", line 370,
in reval
if isinstance(result, Exception): raise result
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/lib/python2.5/site-packages/rdiff_backup/Main.py", line 304, in
error_check_Main
try: Main(arglist)
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 324, in
Main
take_action(rps)
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 280, in
take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 343, in
Backup
backup.Mirror_and_increment(rpin, rpout, incdir)
File "/usr/lib/python2.5/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.5/site-packages/rdiff_backup/connection.py", line 450,
in __call__
return apply(self.connection.reval, (self.name,) + args)
File "/usr/lib/python2.5/site-packages/rdiff_backup/connection.py", line 370,
in reval
if isinstance(result, Exception): raise result
IOError: [Errno 22] Invalid argument
Happy to provide more info or debugging to get to the bottom of this
issue.
Thanks,
kevin
signature.asc
Description: PGP signature
- Re: [rdiff-backup-users] KeyError: 'xattr',
Kevin Fenzi <=