abort: command: UID => socket error: <type 'exceptions.IOError'> - Too many read 0

Nicolas Sebrecht nicolas.s-dev at laposte.net
Mon Jun 13 10:27:24 BST 2011


On Sun, Jun 12, 2011 at 10:12:47PM -0300, Marcelo Laia wrote:
> 
> I am got this error and I am not sure what need to do.
> 
> :~/Mail/GMail$ offlineimap -o -l 1
> WARNING:root:Using old interface name, consider using one of machineui,
> blinkenlights, quiet, ttyui, basic
>  OfflineIMAP 6.3.3
> Copyright (C) 2002 - 2010 John Goerzen <john at complete.org>
> 
> This software comes with ABSOLUTELY NO WARRANTY; see the file
> COPYING for details.  This is free software, and you are welcome
> to distribute it under the conditions laid out in COPYING.
> Account sync GMail:
>  ***** Processing account GMail
>  Copying folder structure from Gmail to Maildir
>  Establishing connection to imap.gmail.com:993.
> Folder sync [GMail]:
>  Syncing [Gmail]/E-mails enviados: Gmail -> Maildir
>  Syncing [Gmail]/Com estrela: Gmail -> Maildir
>  Syncing INBOX: Gmail -> Maildir
> Copy message 4268 from Enviados:
>  Copy message 4268 Gmail[[Gmail]/E-mails enviados] -> Maildir[Enviados]
> Copy message 4269 from Enviados:
>  Copy message 4269 Gmail[[Gmail]/E-mails enviados] -> Maildir[Enviados]
>  Establishing connection to imap.gmail.com:993.
> Copy message 4268 from Enviados:
>  WARNING: ERROR attempting to copy message 4268 for account GMail:Traceback
> (most recent call last):
>   File "/usr/lib/pymodules/python2.6/offlineimap/folder/Base.py", line 332, in
> copymessageto
>     message = self.getmessage(uid)
>   File "/usr/lib/pymodules/python2.6/offlineimap/folder/IMAP.py", line 215, in
> getmessage
>     initialresult = imapobj.uid('fetch', '%d' % uid, '(BODY.PEEK[])')
>   File "/usr/lib/pymodules/python2.6/offlineimap/imaplib2.py", line 1074, in uid
>     return self._simple_command('UID', command, *args, **kw)
>   File "/usr/lib/pymodules/python2.6/offlineimap/imaplib2.py", line 1492, in
> _simple_command
>     return self._command_complete(self._command(name, *args), kw)
>   File "/usr/lib/pymodules/python2.6/offlineimap/imaplib2.py", line 1268, in
> _command_complete
>     typ, dat = rqb.get_response('command: %s => %%s' % rqb.name)
>   File "/usr/lib/pymodules/python2.6/offlineimap/imaplib2.py", line 162, in
> get_response
>     raise typ(exc_fmt % str(val))
> abort: command: UID => socket error: <type 'exceptions.IOError'> - Too
> many read 0
> 
> Copy message 4271 from Enviados:
>  Copy message 4271 Gmail[[Gmail]/E-mails enviados] -> Maildir[Enviados]
>  Thread 'Copy message 4268 from Enviados' terminated with exception:
> Traceback (most recent call last):
>   File "/usr/lib/pymodules/python2.6/offlineimap/threadutil.py", line
> 159, in run
>     Thread.run(self)
>   File "/usr/lib/python2.6/threading.py", line 484, in run
>     self.__target(*self.__args, **self.__kwargs)
>   File "/usr/lib/pymodules/python2.6/offlineimap/folder/Base.py", line 332, in
> copymessageto
>     message = self.getmessage(uid)
>   File "/usr/lib/pymodules/python2.6/offlineimap/folder/IMAP.py", line 215, in
> getmessage
>     initialresult = imapobj.uid('fetch', '%d' % uid, '(BODY.PEEK[])')
>   File "/usr/lib/pymodules/python2.6/offlineimap/imaplib2.py", line 1074, in uid
>     return self._simple_command('UID', command, *args, **kw)
>   File "/usr/lib/pymodules/python2.6/offlineimap/imaplib2.py", line 1492, in
> _simple_command
>     return self._command_complete(self._command(name, *args), kw)
>   File "/usr/lib/pymodules/python2.6/offlineimap/imaplib2.py", line 1268, in
> _command_complete
>     typ, dat = rqb.get_response('command: %s => %%s' % rqb.name)
>   File "/usr/lib/pymodules/python2.6/offlineimap/imaplib2.py", line 162, in
> get_response
>     raise typ(exc_fmt % str(val))
> abort: command: UID => socket error: <type 'exceptions.IOError'> - Too
> many read 0
> 
> 
> No debug messages were logged for Copy message 4268 from Enviados.

I think we already merged a patch for this issue but I can't remember in
which version. Could you please try the lastest content of next branch?

-- 
Nicolas Sebrecht




More information about the OfflineIMAP-project mailing list