FETCH => socket error - Too many read 0

Vladimir Marek Vladimir.Marek at Oracle.COM
Thu Aug 25 18:35:21 BST 2011


> I'm seeing this backtrace.  Am I doing something wrong?
> 
> --8<---------------cut here---------------start------------->8---
> ERROR: Exceptions occurred during the run!
> ERROR: ERROR in syncfolder for ArchiveSync folder .[Gmail]/All Mail: Traceback (most recent call last):
>   File "/Library/Python/2.6/site-packages/offlineimap/accounts.py", line 388, in syncfolder
>     remotefolder.cachemessagelist()
>   File "/Library/Python/2.6/site-packages/offlineimap/folder/IMAP.py", line 180, in cachemessagelist
>     response = imapobj.fetch(messagesToFetch, '(FLAGS UID)')[1]
>   File "/Library/Python/2.6/site-packages/offlineimap/imaplib2.py", line 738, in fetch
>     return self._simple_command(name, message_set, message_parts, **kw)
>   File "/Library/Python/2.6/site-packages/offlineimap/imaplib2.py", line 1594, in _simple_command
>     return self._command_complete(self._command(name, *args), kw)
>   File "/Library/Python/2.6/site-packages/offlineimap/imaplib2.py", line 1360, in _command_complete
>     typ, dat = rqb.get_response('command: %s => %%s' % rqb.name)
>   File "/Library/Python/2.6/site-packages/offlineimap/imaplib2.py", line 173, in get_response
>     raise typ(exc_fmt % str(val))
> abort: command: FETCH => socket error: <type 'exceptions.IOError'> - Too many read 0
> --8<---------------cut here---------------end--------------->8---

I had few of those too, and in my case it meant read from closed socket.

-- 
	Vlad




More information about the OfflineIMAP-project mailing list