[issue21290] imaplib.error when importing email package

Aaron Briel report at bugs.python.org
Thu Apr 17 23:42:34 CEST 2014


New submission from Aaron Briel:

I see an error when attempting to import the email package on a mac running Python 2.7.6rc1 (v2.7.6rc1:4913d0e9be30+, Oct 27 2013, 20:52:11) .  This does not occur on another system running Python 2.7.3 (default, Mar 25 2013, 15:56:58) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2.

aaron-mbp15:core aaronb$ python2.7
Python 2.7.6rc1 (v2.7.6rc1:4913d0e9be30+, Oct 27 2013, 20:52:11) 
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import email
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "email.py", line 7, in <module>
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/imaplib.py", line 443, in fetch
    typ, dat = self._simple_command(name, message_set, message_parts)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/imaplib.py", line 1070, in _simple_command
    return self._command_complete(name, self._command(name, *args))
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/imaplib.py", line 905, in _command_complete
    raise self.error('%s command error: %s %s' % (name, typ, data))
imaplib.error: FETCH command error: BAD ['Could not parse command']
>>>

----------
components: email
messages: 216752
nosy: barry, r.david.murray, teraincognita
priority: normal
severity: normal
status: open
title: imaplib.error when importing email package
type: compile error
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21290>
_______________________________________


More information about the Python-bugs-list mailing list