← Back to team overview

openerp-india team mailing list archive

[Bug 1063251] Re: error upon retrieving mail through fetchmail, message_process

 

OK the The proposed fix is attached in the branch linked is working fine
on my production VM but raises TypeError msg on the test VM

And the fix which i submitted is working fine on the test VM - but
raises a UnicodeDecodeError on the Production VM.

i think python version is the problem as the production is CentOS 6 with
py-2.6.6 and the Test is Ubu-12.04 LTS with py-2.7.3 .

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

Title:
  error upon retrieving mail through fetchmail, message_process

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  I had installed openerp on a windows 7 64bit installation, everything
  went well and I was able to create applicant (hr module) from email
  addresses just fine, however, in the past 2 days, I started to
  encounter an issue where email cannot be retrieved anymore. The log
  shows as below:

  2012-10-08 00:20:54,927 6776 INFO ? fetchmail: start checking for new emails on pop server my_pop_server
  2012-10-08 00:20:57,460 6776 ERROR ? fetchmail: Failed to fetch mail from pop server my_pop_server
  Traceback (most recent call last):
    File "C:\Program Files (x86)\OpenERP 6.1-20121006-233043\Server\server\openerp\addons\fetchmail\fetchmail.py", line 221, in fetch_mail
    File "C:\Program Files (x86)\OpenERP 6.1-20121006-233043\Server\server\openerp\addons\mail\mail_thread.py", line 361, in message_process
  TypeError: expected string or buffer

  I have no idea what's causing it as I'm not a programmer.

  PS. on a side note, there was an email that received through my pop
  server that has empty 'subject', could that be the cause of the
  problem?

  JKW

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


References