Public bug reported:
Binary package hint: rdiff-backup
While trying to restore data from an older rdiff-backup directory, the
rdiff-backup in feisty crashed with an AttributeError:
[rest of backtrace omitted]
File "/usr/lib/python2.5/site-packages/rdiff_backup/fs_abilities.py", line
611, in set_must_escape_dos_devices
self.src_fsa.escape_dos_devices or local_edd)
AttributeError: SingleSetGlobals instance has no attribute 'src_fsa'
Rewriting the function set_must_escape_dos_devices in fs_abilities.py to
read as follows solves the problem:
def set_must_escape_dos_devices(self, rbdir):
"""If local edd or src edd, then must escape """
device_rp = rbdir.append("aux")
if device_rp.lstat(): local_edd = 1
else: local_edd = 0
SetConnections.UpdateGlobal('must_escape_dos_devices', \
hasattr(self, 'src_fsa') and \
self.src_fsa.escape_dos_devices or local_edd)
log.Log("Restore: must_escape_dos_devices = %d" % \
(hasattr(self, 'src_fsa') and \
self.src_fsa.escape_dos_devices or local_edd), 4)
Please apply and forward to upstream. Thanks.
** Affects: rdiff-backup (Ubuntu)
Importance: Undecided
Status: Unconfirmed
--
rdiff-backup crashes while accessing old data
https://bugs.launchpad.net/bugs/119885
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs