[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Duplicity-talk] Re: Problem with "wb" mode on a FAT32 partition
From: |
Marcin Zajączkowski |
Subject: |
[Duplicity-talk] Re: Problem with "wb" mode on a FAT32 partition |
Date: |
Tue, 17 Apr 2007 22:44:19 +0200 |
User-agent: |
Thunderbird 1.5.0.9 (X11/20070102) |
Travis H. wrote:
> On Sat, Apr 07, 2007 at 03:23:44PM +0200, Marcin Zaj?czkowski wrote:
>> I tried to use Duplicity to backup my profiles, but I have problem
>> probably related with a type of partition (FAT32). Duplicity is unable
>> to create any file (IOError: invalid mode: wb).
>
> Hrml.... that's an ANSI mode IIRC... "write binary"... odd.
>
> Can you use normal utilities to write to it?
>
> If so, try removing the "b" so it's just "w"... that _might_ work.
The same problem (but with just "b" in the error message).
> Check the "open" command in the python docs (the online docs are quite good)
> and see what it says about "wb".
I don't know what could be wrong (and if this is a problem with open
itself). I called it by hand and it worked as it should:
address@hidden dosf]$ python
Python 2.4.3 (#1, Oct 23 2006, 14:19:47)
[GCC 4.1.1 20060525 (Red Hat 4.1.1-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> open('test.file2', 'wb')
<open file 'test.file2', mode 'wb' at 0xb7eaa380>
>>>
Thanks for your afford
Marcin