Comment 19 for bug 680910

Revision history for this message
timbo (timbolino) wrote :

popper.log says

Checking email accounts at: Sun Oct 21 00:27:49 2012
Traceback (most recent call last):
  File "popper.py", line 1253, in <module>
    if __name__ == '__main__': main()
  File "popper.py", line 1243, in main
    indicator.timeout() # immediate check, firstcheck=True
  File "popper.py", line 549, in timeout
    self.mail_list = self.mails.get_mail(self.sort_order) # get all mails from all inboxes
  File "popper.py", line 233, 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