imap4.py exception cause Nokia imap client (s60, tested on N97, XM5800) to wait forever
|Reported by:||Magneto||Owned by:||Magneto|
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.