More traces

John Wiegley jwiegley at gmail.com
Tue Oct 4 19:59:35 BST 2011


I left Offlineimap running overnight, and here is what I woke up to.  I've
seen this several times before when I leave things running for a while:

--8<---------------cut here---------------start------------->8---
Sleeping for 15:00
Establishing connection to tunnel:/opt/local/libexec/dovecot/imap.
Syncing INBOX: IMAP -> MappedIMAP
Copy message 55541 IMAP[INBOX] -> MappedIMAP[INBOX]
Exception in thread Thread-2878:
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 552, in __bootstrap_inner
    self.run()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 505, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/offlineimap/imapserver.py", line 539, in idle
    raise e
OfflineImapError: Error SELECTing mailbox 'INBOX', server reply:
('NO', ['System error (Failure)'])

Exception in thread Thread-2882:
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 552, in __bootstrap_inner
    self.run()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 505, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/offlineimap/imapserver.py", line 495, in noop
    imapobj.noop()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/offlineimap/imaplib2.py", line 920, in noop
    return self._simple_command('NOOP', **kw)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/offlineimap/imaplib2.py", line 1594, in _simple_command
    return self._command_complete(self._command(name, *args), kw)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/offlineimap/imaplib2.py", line 1360, in _command_complete
    typ, dat = rqb.get_response('command: %s => %%s' % rqb.name)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/offlineimap/imaplib2.py", line 173, in get_response
    raise typ(exc_fmt % str(val))
abort: command: NOOP => connection terminated

Exception in thread Thread-2881:
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 552, in __bootstrap_inner
    self.run()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 505, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/offlineimap/imapserver.py", line 539, in idle
    raise e
OfflineImapError: Error SELECTing mailbox 'INBOX', server reply:
('NO', ['System error (Failure)'])

***** Finished processing account Gmail
Copying folder structure from IMAP to MappedIMAP
imap(johnw): Info: Disconnected for inactivity bytes=17886/11165

Process *offlineimap* finished
--8<---------------cut here---------------end--------------->8---

Below is my .offlineimaprc.

John

--8<---------------cut here---------------start------------->8---
[general]
accounts = Gmail
ui = basic
fsync = False
maxsyncaccounts = 1
socktimeout = 60
pythonfile = ~/.offlineimap.py

[Account Gmail]
localrepository = LocalIMAP
remoterepository = RemoteIMAP
autorefresh = 15
status_backend = sqlite
postsynchook = imap-unread --no-login --index '[Gmail].All Mail' localhost johnw

[Repository LocalIMAP]
type = IMAP
remotehost = localhost
remoteuser = johnw
remotepass = pass
preauthtunnel = /opt/local/libexec/dovecot/imap

[Repository RemoteIMAP]
type = IMAP
remotehost = imap.gmail.com
remoteuser = jwiegley at gmail.com
remotepasseval = get_authinfo_password("imap.gmail.com", "jwiegley at gmail.com", 993)
ssl = yes
sslcacertfile = ~/.offlineimap/cacert.pem
maxconnections = 3
holdconnectionopen = yes
keepalive = 30
idlefolders = [ 'INBOX' ]
realdelete = yes
folderfilter = lambda name: name not in [ '[Gmail]/Spam', 'Notes', 'Temp', 'git', 'offlineimap' ]
--8<---------------cut here---------------end--------------->8---





More information about the OfflineIMAP-project mailing list