← Back to team overview

openerp-india team mailing list archive

[Bug 1222859] Re: Some e-mails cannot be imported if they don't have a subject

 

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

** Changed in: openobject-addons
       Status: Incomplete => New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1222859

Title:
  Some e-mails cannot be imported if they don't have a subject

Status in OpenERP Addons (modules):
  New

Bug description:
  When messages are processed (via mail_thread.py), if an email doesn't
  have a valid subject header, it will raise a "key error" exception and
  stop the message import with parsing process.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1222859/+subscriptions


References