← Back to team overview

openerp-india team mailing list archive

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

 

Notes on the previous fix:

For this fix to work you have to stop the openerp-server & delete
mail_thread.pyc - ( for beginners who don't know)

then copy the new file to replace the old file.

start openerp-server again - it should work.

this worked fine on my testing VM - on the production VM this works also
fine except for a python threading and strptime error printed in the
server log - I think python version affects this - or some python pkg is
missing on the prod VM.

Regards,

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