IOError, can't work out what's going wrong

John Goerzen jgoerzen at
Wed Jan 26 14:11:35 GMT 2011

On 01/26/2011 02:28 AM, Sebastian Spaeth wrote:
> On Tue, 25 Jan 2011 18:17:25 +0000, Josh Holland<jrh at>  wrote:
>>    File "/usr/lib/pymodules/python2.6/offlineimap/folder/", line 93, in save
>>      file = open(self.filename + ".tmp", "wt")
>> IOError: [Errno 5] Input/output error: '/home/josh/.offlineimap/Account-Main/LocalStatus/archive-2011-01.tmp'
> This really sounds like a generic error. Except that I have no idea what
> the "t" flag for the open command is, neither the python documentation
> nor "man fopen" know any "t" value. Try to remove that and see if it
> goes any further?
> Can anyone enlighten me if "t" is a valid flag at all?

That means text mode, as opposed to binary mode.

-- John

More information about the OfflineIMAP-project mailing list