[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] TypeError: unsubscriptable object (cfile['creat
From: |
Ben Escoto |
Subject: |
Re: [rdiff-backup-users] TypeError: unsubscriptable object (cfile['creator']) |
Date: |
Sat, 15 Oct 2005 21:49:24 -0500 |
>>>>> Kevin Horton <address@hidden>
>>>>> wrote the following on Fri, 14 Oct 2005 23:16:18 -0400
>
> It seems that with OS X 10.4 you need to use two switches:
>
> --no-carbonfile --override-chars-to-quote ''
>
> The second switch ends with two single quote characters. It might
> only be necessary if you are backing up to and from the native HFS+
> file system.
What if you add this patch:
--- rpath.py 2005-09-07 12:04:37.000000000 -0500
+++ rpath.py.new 2005-10-15 21:48:04.000000000 -0500
@@ -1150,6 +1150,7 @@
def write_carbonfile(self, cfile):
"""Write new carbon data to self."""
+ if not cfile: return
log.Log("Writing carbon data to %s" % (self.index,), 7)
from Carbon.File import FSSpec
import MacOS
Do you still need to add --no-carbonfile, or does that fix that
problem?
--
Ben Escoto
pgpTBeVN37iZZ.pgp
Description: PGP signature