Comment 3 for bug 1222859

Revision history for this message
Yann Papouin (yann-papouin) wrote :

2013-10-10 07:27:35,101 3565 ERROR ? fetchmail: Failed to fetch mail from imap server Notification (INFO)
Traceback (most recent call last):
  File "/media/raid2to/decindus/tools/openerp-6.1/addons/fetchmail/fetchmail.py", line 196, in fetch_mail
    context=context)
  File "/media/raid2to/decindus/tools/openerp-6.1/addons/mail/mail_thread.py", line 361, in message_process
    match = tools.res_re.search(msg['subject'])
TypeError: expected string or buffer

That's because msg['subject'] is None if the subject is empty or not parseable