[PATCH 00/13] Re: imaplib2/IDLE again

Nicolas Sebrecht nicolas.s-dev at laposte.net
Thu Mar 10 19:25:27 GMT 2011


On Wed, Mar 09, 2011 at 04:04:33AM -0500, Ethan Glasser-Camp wrote:
> On 03/09/2011 02:59 AM, Sebastian Spaeth wrote:

> >We could merge patches 1-5, which as far as I can see would be the drop
> >in replacement of imaplib with imaplib2.
> 
> Yeah, that would be OK. I would also merge 11 and 12, which are
> niceties that improve robustness.

I agree with the merge plan but

...the topic didn't apply to master at sent time. Against (arbitrary)
v6.3.2 apply nicely but the topic should be updated against master.

...if I apply patches imaplib2 related stuff (patches 1-5, 11 and 12)
still against arbitrary v6.3.2, I get the following traceback:

Account sync dev.gmx:
 Copying folder structure from IMAP to Maildir
 Establishing connection to imap.gmx.com:993.
 WARNING: Error occured attempting to sync account dev.gmx: Traceback (most recent call last):
  File "/usr/lib64/python2.5/site-packages/offlineimap/accounts.py", line 190, in syncrunner
    self.sync(siglistener)
  File "/usr/lib64/python2.5/site-packages/offlineimap/accounts.py", line 245, in sync
    remoterepos.syncfoldersto(localrepos, [statusrepos])
  File "/usr/lib64/python2.5/site-packages/offlineimap/repository/Base.py", line 143, in syncfoldersto
    srcfolders = src.getfolders()
  File "/usr/lib64/python2.5/site-packages/offlineimap/repository/IMAP.py", line 231, in getfolders
    imapobj = self.imapserver.acquireconnection()
  File "/usr/lib64/python2.5/site-packages/offlineimap/imapserver.py", line 265, in acquireconnection
    cacertfile = self.sslcacertfile)
  File "/usr/lib64/python2.5/site-packages/offlineimap/imaplibutil.py", line 88, in __init__
    IMAP4_SSL.__init__(self, *args, **kwargs)
  File "/usr/lib64/python2.5/site-packages/offlineimap/imaplib2.py", line 1862, in __init__
    IMAP4.__init__(self, host, port, debug, debug_file, identifier, timeout)
  File "/usr/lib64/python2.5/site-packages/offlineimap/imaplib2.py", line 308, in __init__
    self.open(host, port)
  File "/usr/lib64/python2.5/site-packages/offlineimap/imaplibutil.py", line 150, in open
    self.read_fd = self.sslobj.fileno()
AttributeError: fileno

-- 
Nicolas Sebrecht




More information about the OfflineIMAP-project mailing list