OfflineIMAP crashes after resuming when IDLE is active

Julien Valroff julien at debian.org
Sun Sep 4 11:13:10 UTC 2011


Hi Sebastian,

Le jeudi 01 sept. 2011 à 11:04:20 (+0200 CEST), Sebastian Spaeth a écrit :
> On Wed, 31 Aug 2011 20:30:08 +0200, Julien Valroff wrote:
> > Here it is:
> 
> > abort: command: NOOP => no response after 60.0 secs
> 
> This case would still need to be catched, I guess.
> 
> > abort: command: SELECT => socket error: <class 'socket.error'> - [Errno 104] Connection reset by peer
> 
> This one should be handled by the patches I just sent as a response to
> John Wiegley. It might be that it already solves the NOOP issue above too.

I have tested your branch and here are the exceptions I have
now:

Exception in thread Thread-229:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/threading.py", line 484, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/pymodules/python2.6/offlineimap/imapserver.py", line 533, in idle
    imapobj.noop()
  File "/usr/lib/pymodules/python2.6/offlineimap/imaplib2.py", line 920, in noop
    return self._simple_command('NOOP', **kw)
  File "/usr/lib/pymodules/python2.6/offlineimap/imaplib2.py", line 1594, in _simple_command
    return self._command_complete(self._command(name, *args), kw)
  File "/usr/lib/pymodules/python2.6/offlineimap/imaplib2.py", line 1360, in _command_complete
    typ, dat = rqb.get_response('command: %s => %%s' % rqb.name)
  File "/usr/lib/pymodules/python2.6/offlineimap/imaplib2.py", line 173, in get_response
    raise typ(exc_fmt % str(val))
abort: command: NOOP => socket error: <class 'socket.error'> - [Errno 104] Connection reset by peer

Exception in thread Thread-232:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/threading.py", line 484, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/pymodules/python2.6/offlineimap/imapserver.py", line 513, in idle
    imapobj.select(self.folder)
  File "/usr/lib/pymodules/python2.6/offlineimap/imaplibutil.py", line 62, in select
    raise e
abort: command: SELECT => socket error: <class 'socket.error'> - [Errno 104] Connection reset by peer

Exception in thread Thread-233:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/threading.py", line 484, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/pymodules/python2.6/offlineimap/imapserver.py", line 477, in noop
    imapobj.noop()
  File "/usr/lib/pymodules/python2.6/offlineimap/imaplib2.py", line 920, in noop
    return self._simple_command('NOOP', **kw)
  File "/usr/lib/pymodules/python2.6/offlineimap/imaplib2.py", line 1594, in _simple_command
    return self._command_complete(self._command(name, *args), kw)
  File "/usr/lib/pymodules/python2.6/offlineimap/imaplib2.py", line 1360, in _command_complete
    typ, dat = rqb.get_response('command: %s => %%s' % rqb.name)
  File "/usr/lib/pymodules/python2.6/offlineimap/imaplib2.py", line 173, in get_response
    raise typ(exc_fmt % str(val))
abort: command: NOOP => socket error: <class 'socket.error'> - [Errno 104] Connection reset by peer

offlineimap keeps running but not synchronizing any more.

Cheers,
Julien

-- 
  .''`.   Julien Valroff ~ <julien at kirya.net> ~ <julien at debian.org>    
 : :'  :  Debian Developer & Free software contributor
 `. `'`   http://www.kirya.net/
   `-     4096R/ E1D8 5796 8214 4687 E416  948C 859F EF67 258E 26B1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/offlineimap-project/attachments/20110904/62704bcb/attachment.pgp>


More information about the OfflineIMAP-project mailing list