offlineimap crashes with python 2.7.2rc1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
offlineimap (Debian) |
Fix Released
|
Unknown
|
|||
offlineimap (Ubuntu) |
Fix Released
|
High
|
Scott Moser | ||
Oneiric |
Fix Released
|
High
|
Scott Moser |
Bug Description
Binary package hint: offlineimap
sometime in this past week or so, on oneiric offlineimap began to crash for me.
I modified /usr/share/
Thread 'Account sync Canonical' terminated with exception:
Traceback (most recent call last):
File "/usr/lib/
Thread.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
remoterepos
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
imapobj.
File "/usr/lib/
self.shutdown()
File "/usr/lib/
self.
File "/usr/lib/
raise AttributeError(
AttributeError: Unknown IMAP4 command: 'file'
I'm hesitant to attach other output because it has email addresses in it and such, but I see other warnings in offlineimap like:
WARNING: ERROR attempting to copy message 1655 for account Canonical:Unknown IMAP4 command: 'file'
WARNING: ERROR attempting to copy message 1656 for account Canonical:command: UID => unexpected response: 'Return-Path: <email address hidden>'
WARNING: ERROR attempting to copy message 1657 for account Canonical:command: UID => unexpected response: 'X-Original-To: <email address hidden>'
Using 'python2.6 /usr/bin/
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: offlineimap 6.2.0.2ubuntu1
ProcVersionSign
Uname: Linux 2.6.39-3-generic x86_64
Architecture: amd64
Date: Thu Jun 2 15:54:35 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318)
PackageArchitec
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, user)
LANG=en_US.utf8
LC_MESSAGES=
SHELL=/bin/bash
SourcePackage: offlineimap
UpgradeStatus: Upgraded to oneiric on 2010-11-15 (198 days ago)
summary: |
- offlineimap crashes with python 2.7 + offlineimap crashes with python 2.7.2rc1 |
tags: | added: patch |
Changed in offlineimap (Ubuntu Oneiric): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in offlineimap (Debian): | |
status: | Unknown → New |
Changed in offlineimap (Debian): | |
status: | New → Fix Released |
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?