← Back to team overview

openerp-india team mailing list archive

[Bug 1096000] Re: fetchmail run to error

 

Install mail modul.
Create a new incoming mail (i attached it to the crm.lead object, but i think thats not matters so much)
and when i click on the Download Now button this error shows in the log. Foreground no error show up.

This error shows up everytime when you start to download mail manually
or with the background cron process. This is why i don't undrstand what
i need to say more about the reproduction of this bug..

This is under windows server 2012 with 64 bit python 2.7.3.

Maybe there is a speciality with my POP server - i use Cyrus IMAPd.
Or with the coding of my e-mails, i don't know. I attached the .eml file what is waiting in my inbox. Maybe this helps.

** Attachment added: "wrongmail.eml"
   https://bugs.launchpad.net/openobject-addons/+bug/1096000/+attachment/3473939/+files/wrongmail.eml

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

Title:
  fetchmail run to error

Status in OpenERP Addons (modules):
  Incomplete

Bug description:
  With the latest 7.0 branch version i got this error if i click on the
  donwload now button:

  2013-01-04 10:57:18,757 4988 INFO test1 openerp.addons.fetchmail.fetchmail: start checking for new emails on pop server Incoming Leads
  2013-01-04 10:57:19,069 4988 ERROR test1 openerp.addons.fetchmail.fetchmail: Failed to fetch mail from pop server Incoming Leads.
  Traceback (most recent call last):
    File "c:\oesrv\7.0\Lib\site-packages\openerp-7.0-py2.7.egg\openerp\addons\fetchmail\fetchmail.py", line 221, in fetch_mail
      context=context)
    File "c:\oesrv\7.0\Lib\site-packages\openerp-7.0-py2.7.egg\openerp\addons\mail\mail_thread.py", line 566, in message_process
      context=context)
    File "c:\oesrv\7.0\Lib\site-packages\openerp-7.0-py2.7.egg\openerp\addons\mail\mail_thread.py", line 481, in message_route
      decode_header(message, 'To'),
    File "c:\oesrv\7.0\Lib\site-packages\openerp-7.0-py2.7.egg\openerp\addons\mail\mail_thread.py", line 42, in decode_header
      return separator.join(map(decode, message.get_all(header, [])))
  TypeError: sequence item 0: expected string, NoneType found

  The target object is crm.lead (Incoming Leads) if that counts. There
  is one e-mail in the mail box.

  I frequently update to the latest trunk (and now to the 7.0 branch)
  version and this error showed up first at 2012 nov 26. Befora that
  time it worked well.

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


References