[issue21968] 'abort' object is not callable

Apple Grew report at bugs.python.org
Sat Jul 12 22:26:53 CEST 2014


New submission from Apple Grew:

I am sometimes getting the following error from imaplib.

Traceback (most recent call last):
  File "client.py", line 105, in get_new_mail_uids
    result, data = retryableCall(lambda : mail.uid('search', None, "UNSEEN"), retries, delay) # search and return uids instead
  File "client.py", line 25, in retryableCall
    return f()
  File "client.py", line 105, in 
    result, data = retryableCall(lambda : mail.uid('search', None, "UNSEEN"), retries, delay) # search and return uids instead
  File "/usr/lib/python2.6/imaplib.py", line 753, in uid
    typ, dat = self._simple_command(name, command, *args)
  File "/usr/lib/python2.6/imaplib.py", line 1060, in _simple_command
    return self._command_complete(name, self._command(name, *args))
  File "/usr/lib/python2.6/imaplib.py", line 893, in _command_complete
    self._check_bye()
  File "/usr/lib/python2.6/imaplib.py", line 808, in _check_bye
    raise self.abort(bye[-1])
TypeError: 'abort' object is not callable

----------
components: Library (Lib)
messages: 222879
nosy: Apple Grew
priority: normal
severity: normal
status: open
title: 'abort' object is not callable
type: crash
versions: Python 2.7

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


More information about the Python-bugs-list mailing list