[issue6426] imaplib.IMAP4 "command illegal in this state" is unhelpful error message

2013-02-15 Thread R. David Murray

R. David Murray added the comment:

The issue 1605192 fix was applied to 2.7.

--
nosy: +r.david.murray
resolution:  -> duplicate
stage: needs patch -> committed/rejected
status: open -> closed
superseder:  -> Make Imap Error more helpful

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6426] imaplib.IMAP4 "command illegal in this state" is unhelpful error message

2009-07-08 Thread Sjoerd

Sjoerd  added the comment:

See http://bugs.python.org/issue1605192

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6426] imaplib.IMAP4 "command illegal in this state" is unhelpful error message

2009-07-07 Thread Ezio Melotti

Ezio Melotti  added the comment:

Can you provide a patch?

--
keywords: +easy
nosy: +ezio.melotti
priority:  -> low
stage:  -> needs patch
versions: +Python 2.7 -Python 2.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6426] imaplib.IMAP4 "command illegal in this state" is unhelpful error message

2009-07-06 Thread Sjoerd

New submission from Sjoerd :

If you do not IMAP4.select(), you get the following error:
imaplib.error: command SEARCH illegal in state AUTH.

This does not inform the user that he has to do IMAP4.select(). Better
would be: 
imaplib.error: command SEARCH illegal in state AUTH, allowed in state
SELECTED.

See also:
http://mail.python.org/pipermail/patches/2006-December/021308.html

--
components: Library (Lib)
messages: 90166
nosy: Sjoerder
severity: normal
status: open
title: imaplib.IMAP4 "command illegal in this state" is unhelpful error message
type: behavior
versions: Python 2.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com