imap4.py exception cause Nokia imap client (s60, tested on N97, XM5800) to wait forever
[email protected] Thu, 01 Oct 2009 16:11:59 -0000
| Newsgroups | gmane.comp.python.twisted.bugs |
|---|---|
| Message-ID | <[email protected]> |
New submission from Magneto <[email protected]>: Nokia will issue : xxx UID search 1:n, where n is the number of msg the first time it synch with the Server. Imap4.py has a bug in if the user did not implement the custom search : def singleSearchStep(self, query, id, msg): .. f = getattr(self, 'search_' + c) The fix should be easily done by : f = getattr(self, 'search_' + c, None) This avoids an attribute error that will failed the otherwise working routine to process the message sequence into fetch. Will do the diff and post the actual fix as suggested in other ticket by exarkun. ---------- Type : defect Component: mail Keywords : Priority : normal Nosy : exarkun ---------- http://twistedmatrix.com/trac/ticket/4048