imaplib.error state AUTH

Bug #762563 reported by dayf
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Popper
Invalid
Undecided
Unassigned

Bug Description

my test was with imap.gmail.com
cat .popper/popper.log
Checking email accounts at: Sat Apr 16 10:14:13 2011
Traceback (most recent call last):
  File "popper.py", line 1218, in <module>
    if __name__ == '__main__': main()
  File "popper.py", line 1208, in main
    indicator.timeout() # immediate check, firstcheck=True
  File "popper.py", line 536, in timeout
    self.mail_list = self.mails.get_mail(self.sort_order) # get all mails from all inboxes
  File "popper.py", line 222, in get_mail
    status, data = srv.search(None, 'UNSEEN') # ALL or UNSEEN
  File "/usr/lib/python2.7/imaplib.py", line 627, in search
    typ, dat = self._simple_command(name, *criteria)
  File "/usr/lib/python2.7/imaplib.py", line 1070, in _simple_command
    return self._command_complete(name, self._command(name, *args))
  File "/usr/lib/python2.7/imaplib.py", line 825, in _command
    ', '.join(Commands[name])))
imaplib.error: command SEARCH illegal in state AUTH, only allowed in states SELECTED

Revision history for this message
dayf (dayf) wrote :

needed to explicitly specify port number 993 as in http://mail.google.com/support/bin/answer.py?answer=78799 -- solved, cheers!

Revision history for this message
Pa_trick17 (trick17) wrote :

No bug.

Changed in popper:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.