unexpected keyword argument 'timeout'

Iain Dalton iain.dalton at gmail.com
Mon Apr 11 16:13:18 BST 2011


It gets further, then crashes again:

 WARNING: Error occured attempting to sync account gmail: Traceback
(most recent call last):
  File "/home/iain/Applications/offlineimap/offlineimap/accounts.py",
line 207, in syncrunner
    self.sync(siglistener)
  File "/home/iain/Applications/offlineimap/offlineimap/accounts.py",
line 246, in sync
    remoterepos.syncfoldersto(localrepos, [statusrepos])
  File "/home/iain/Applications/offlineimap/offlineimap/repository/Base.py",
line 122, in syncfoldersto
    destfolders = dest.getfolders()
  File "/home/iain/Applications/offlineimap/offlineimap/repository/IMAP.py",
line 242, in getfolders
    imapobj = self.imapserver.acquireconnection()
  File "/home/iain/Applications/offlineimap/offlineimap/imapserver.py",
line 200, in acquireconnection
    timeout=socket.getdefaulttimeout())
  File "/home/iain/Applications/offlineimap/offlineimap/imaplibutil.py",
line 71, in __init__
    IMAP4.__init__(self, tunnelcmd, **kwargs)
  File "/home/iain/Applications/offlineimap/offlineimap/imaplib2.py",
line 319, in __init__
    self.identifier = self.host
  File "/home/iain/Applications/offlineimap/offlineimap/imaplib2.py",
line 375, in __getattr__
    raise AttributeError("Unknown IMAP4 command: '%s'" % attr)
AttributeError: Unknown IMAP4 command: 'host'




More information about the OfflineIMAP-project mailing list