Comment 2 for bug 792043

Revision history for this message
Barry Warsaw (barry) wrote : Re: offlineimap crashes with python 2.7

The exception message is a lie I think, so ignore that. ;)

It is for some reason getting an AttributeError in __getattr__(), but the question is why `self.file` doesn't exist.

Based on the traceback I'm guessing you're using SSL, and in particular IMAP4_SSL class. This is fairly different between 2.6 and 2.7. Whereas in 2.6 there is no self.file attribute, in 2.7 there is. That doesn't really explain why 2.7 tracebacks though! self.file gets assigned in IMAP4_SSL.open() so, is it at all possible that the open method isn't getting called? (Seems unlikely).

Any possibility you have a reproducible test case? Have you looked upstream for any related problems?