unexpected keyword argument 'timeout'

Daniel Kreischer d.t.kreischer at gmx.de
Sun Apr 10 19:55:08 BST 2011


Hi all,

maybe it's just me, but git master fails badly for me :/

[bash]
    dtk at minibox:/media/dump/offlineimap/git/offlineimap$ git pull
    Already up-to-date.
    dtk at minibox:/media/dump/offlineimap/git/offlineimap$ ./offlineimap.py -u ttyui
     OfflineIMAP 6.3.2
    Copyright (C) 2002 - 2010 John Goerzen <john at complete.org>

    This software comes with ABSOLUTELY NO WARRANTY; see the file
    COPYING for details.  This is free software, and you are welcome
    to distribute it under the conditions laid out in COPYING.
    Account sync dtk_jadehamburgde:
     ***** Processing account dtk_jadehamburgde
     Copying folder structure from IMAP to Maildir
     Establishing connection to tunnel:ssh -q dtk at jade-hamburg.de MAIL='maildir:~/Maildir' /usr/lib/dovecot/imap.
     WARNING: Error occured attempting to sync account dtk_jadehamburgde: Traceback (most recent call last):
      File "/media/dump/offlineimap/git/offlineimap/offlineimap/accounts.py", line 207, in syncrunner
        self.sync(siglistener)
      File "/media/dump/offlineimap/git/offlineimap/offlineimap/accounts.py", line 246, in sync
        remoterepos.syncfoldersto(localrepos, [statusrepos])
      File "/media/dump/offlineimap/git/offlineimap/offlineimap/repository/Base.py", line 121, in syncfoldersto
        srcfolders = src.getfolders()
      File "/media/dump/offlineimap/git/offlineimap/offlineimap/repository/IMAP.py", line 242, in getfolders
        imapobj = self.imapserver.acquireconnection()
      File "/media/dump/offlineimap/git/offlineimap/offlineimap/imapserver.py", line 200, in acquireconnection
        timeout=socket.getdefaulttimeout())
    TypeError: __init__() got an unexpected keyword argument 'timeout'

     Next refresh in 300 seconds
    ^CCTRL-C pressed, aborting...
    dtk at minibox:/media/dump/offlineimap/git/offlineimap$
[/bash]

This is a fresh checkout.
I will have to admit though, that it does that for me since last thursday, so
most probably someone else would have reported such a show stopper by now if it
were universal.

Anyway, am I holding it wrong?
May someone please enlighten me? :)
tia!
dtk




More information about the OfflineIMAP-project mailing list