← Back to team overview

openerp-india team mailing list archive

[Bug 1103605] [NEW] [v7.0] Email fetching error on the 'Reference'

 

Public bug reported:

I've faced bug when fetching email.

Traceback (most recent call last):
  File "/srv/openerp/addons/7.0/fetchmail/fetchmail.py", line 221, in fetch_mail
    context=context)
  File "/srv/openerp/addons/7.0/mail/mail_thread.py", line 586, in message_process
    msg = self.message_parse(cr, uid, msg_txt, save_original=save_original, context=context)
  File "/srv/openerp/addons/7.0/mail/mail_thread.py", line 804, in message_parse
    [x.strip() for x in decode(message['References']).split()])])
AttributeError: 'NoneType' object has no attribute 'split'


Please check attached patch.

Addons revno: 8608

** Affects: openobject-addons
     Importance: Undecided
         Status: New

** Patch added: "mail_fix.patch"
   https://bugs.launchpad.net/bugs/1103605/+attachment/3497139/+files/mail_fix.patch

-- 
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/1103605

Title:
  [v7.0] Email fetching error on the 'Reference'

Status in OpenERP Addons (modules):
  New

Bug description:
  I've faced bug when fetching email.

  Traceback (most recent call last):
    File "/srv/openerp/addons/7.0/fetchmail/fetchmail.py", line 221, in fetch_mail
      context=context)
    File "/srv/openerp/addons/7.0/mail/mail_thread.py", line 586, in message_process
      msg = self.message_parse(cr, uid, msg_txt, save_original=save_original, context=context)
    File "/srv/openerp/addons/7.0/mail/mail_thread.py", line 804, in message_parse
      [x.strip() for x in decode(message['References']).split()])])
  AttributeError: 'NoneType' object has no attribute 'split'

  
  Please check attached patch.

  Addons revno: 8608

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


Follow ups

References