OfflineIMAP crashes after resuming when IDLE is active

Julien Valroff julien at debian.org
Wed Aug 31 19:30:08 BST 2011


Le mercredi 31 août 2011 à 10:31:45 (+0200 CEST), Sebastian Spaeth a écrit :
> On Wed, 31 Aug 2011 07:11:44 +0200, Julien Valroff <julien at debian.org> wrote:
> > I do not have any traceback to supply there but can provide one tonight if
> > needed.
> 
> Hi, I was not involved in the IDLE code and I haven't looked deeply into
> its workings. But a traceback would certainly help to see at which place
> it crashes and where we might want to protect against closed
> connections.

Here it is:

Sleeping for 2:00
Exception in thread Thread-10:
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 480, in idle
    imapobj.noop()
  File "/usr/lib/pymodules/python2.6/offlineimap/imaplib2.py", line 876, in noop
    return self._simple_command('NOOP', **kw)
  File "/usr/lib/pymodules/python2.6/offlineimap/imaplib2.py", line 1549, in _simple_command
    return self._command_complete(self._command(name, *args), kw)
  File "/usr/lib/pymodules/python2.6/offlineimap/imaplib2.py", line 1310, in _command_complete
    typ, dat = rqb.get_response('command: %s => %%s' % rqb.name)
  File "/usr/lib/pymodules/python2.6/offlineimap/imaplib2.py", line 172, in get_response
    raise typ(exc_fmt % str(val))
abort: command: NOOP => no response after 60.0 secs

Exception in thread Thread-13:
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 466, in idle
    imapobj.select(self.folder)
  File "/usr/lib/pymodules/python2.6/offlineimap/imaplibutil.py", line 52, in select
    result = self.__class__.__bases__[1].select(self, mailbox, readonly)
  File "/usr/lib/pymodules/python2.6/offlineimap/imaplib2.py", line 942, in select
    typ, dat = rqb.get_response('command: %s => %%s' % rqb.name)
  File "/usr/lib/pymodules/python2.6/offlineimap/imaplib2.py", line 172, in get_response
    raise typ(exc_fmt % str(val))
abort: command: SELECT => socket error: <class 'socket.error'> - [Errno 104] Connection reset by peer

Exception in thread Thread-14:
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 433, in noop
    imapobj.noop()
  File "/usr/lib/pymodules/python2.6/offlineimap/imaplib2.py", line 876, in noop
    return self._simple_command('NOOP', **kw)
  File "/usr/lib/pymodules/python2.6/offlineimap/imaplib2.py", line 1549, in _simple_command
    return self._command_complete(self._command(name, *args), kw)
  File "/usr/lib/pymodules/python2.6/offlineimap/imaplib2.py", line 1310, in _command_complete
    typ, dat = rqb.get_response('command: %s => %%s' % rqb.name)
  File "/usr/lib/pymodules/python2.6/offlineimap/imaplib2.py", line 172, in get_response
    raise typ(exc_fmt % str(val))
abort: command: NOOP => socket error: <class 'socket.error'> - [Errno 104] Connection reset by peer

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://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20110831/3661b599/attachment-0001.sig>


More information about the OfflineIMAP-project mailing list