[offlineimap] offlineimap hangs when network connection disappears (#125)

Morten M. Neergaard notifications at github.com
Mon Feb 2 08:42:20 GMT 2015

Running 6.3.4 on Debian Jessie. When offlineimap has been syncing emails for a while, this happens (most likely in response to network hiccups) – my timeout is set to 30 seconds.

At the end of the output, offlineimap is hanging, not doing anything.

    Account sync Exchange:
     Next refresh in 60 seconds
     Next refresh in 50 seconds
     Next refresh in 40 seconds
     Next refresh in 30 seconds
    Exception in thread Thread-12020:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
      File "/usr/lib/python2.7/threading.py", line 763, in run
        self.__target(*self.__args, **self.__kwargs)
      File "/usr/lib/pymodules/python2.7/offlineimap/imapserver.py", line 433, in noop
      File "/usr/lib/pymodules/python2.7/offlineimap/imaplib2.py", line 876, in noop
        return self._simple_command('NOOP', **kw)
      File "/usr/lib/pymodules/python2.7/offlineimap/imaplib2.py", line 1549, in _simple_command
        return self._command_complete(self._command(name, *args), kw)
      File "/usr/lib/pymodules/python2.7/offlineimap/imaplib2.py", line 1310, in _command_complete
        typ, dat = rqb.get_response('command: %s => %%s' % rqb.name)
      File "/usr/lib/pymodules/python2.7/offlineimap/imaplib2.py", line 172, in get_response
        raise typ(exc_fmt % str(val))
    abort: command: NOOP => no response after 30.0 secs
     Next refresh in 20 seconds
     Next refresh in 10 seconds
     ***** Finished processing account Exchange
     Copying folder structure from IMAP to Maildir
    ^CCTRL-C pressed, aborting...

Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20150202/f5946252/attachment-0002.html>

More information about the OfflineIMAP-project mailing list