← Back to team overview

openerp-india team mailing list archive

[Bug 1013411] [NEW] crash when fetching mail

 

Public bug reported:

I created email configurations via openerp web interface 6.1.1.
I am using the latest openerp on debian squeeze. I installed it via the .deb package from the website.
I also made sure to have alle prerequisites.
Install looked good.
I also have fetchmail installed.
Sending mail works.
I am using gmail with a newly created account for openerp.
When I send an email to that account and openerp tries to fetch it the following ist to observe in the openerp-server.log file:

2012-06-14 21:24:59,873 2780 ERROR ? fetchmail: Failed to fetch mail from imap server ERP@IMAP Googlemail
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openerp-6.1_20120613_233312-py2.6.egg/openerp/addons/fetchmail/fetchmail.py", line 195, in fetch_mail
    context=context)
  File "/usr/local/lib/python2.6/dist-packages/openerp-6.1_20120613_233312-py2.6.egg/openerp/addons/mail/mail_thread.py", line 389, in message_process
    self.message_forward(cr, uid, model, [res_id], msg_txt, context=context)
  File "/usr/local/lib/python2.6/dist-packages/openerp-6.1_20120613_233312-py2.6.egg/openerp/addons/mail/mail_thread.py", line 413, in message_forward
    followers = self.message_thread_followers(cr, uid, [res.id])[res.id]
  File "/usr/local/lib/python2.6/dist-packages/openerp-6.1_20120613_233312-py2.6.egg/openerp/addons/mail/mail_thread.py", line 79, in message_thread_followers
    for message in thread.message_ids:
  File "/usr/local/lib/python2.6/dist-packages/openerp-6.1_20120613_233312-py2.6.egg/openerp/osv/orm.py", line 478, in __getattr__
    raise AttributeError(e)
AttributeError: False

As a result, the email is not displayed in openerps inbox.

I checked for missing modules but are not as good enough to figure out whats wrong.
I restarted the server and sent another mail to the erp account and received exactly the same error.
If you need any more information feel free to contact me.

Kind regards,

Peter

** Affects: openobject-addons
     Importance: Undecided
         Status: 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/1013411

Title:
  crash when fetching mail

Status in OpenERP Addons (modules):
  New

Bug description:
  I created email configurations via openerp web interface 6.1.1.
  I am using the latest openerp on debian squeeze. I installed it via the .deb package from the website.
  I also made sure to have alle prerequisites.
  Install looked good.
  I also have fetchmail installed.
  Sending mail works.
  I am using gmail with a newly created account for openerp.
  When I send an email to that account and openerp tries to fetch it the following ist to observe in the openerp-server.log file:

  2012-06-14 21:24:59,873 2780 ERROR ? fetchmail: Failed to fetch mail from imap server ERP@IMAP Googlemail
  Traceback (most recent call last):
    File "/usr/local/lib/python2.6/dist-packages/openerp-6.1_20120613_233312-py2.6.egg/openerp/addons/fetchmail/fetchmail.py", line 195, in fetch_mail
      context=context)
    File "/usr/local/lib/python2.6/dist-packages/openerp-6.1_20120613_233312-py2.6.egg/openerp/addons/mail/mail_thread.py", line 389, in message_process
      self.message_forward(cr, uid, model, [res_id], msg_txt, context=context)
    File "/usr/local/lib/python2.6/dist-packages/openerp-6.1_20120613_233312-py2.6.egg/openerp/addons/mail/mail_thread.py", line 413, in message_forward
      followers = self.message_thread_followers(cr, uid, [res.id])[res.id]
    File "/usr/local/lib/python2.6/dist-packages/openerp-6.1_20120613_233312-py2.6.egg/openerp/addons/mail/mail_thread.py", line 79, in message_thread_followers
      for message in thread.message_ids:
    File "/usr/local/lib/python2.6/dist-packages/openerp-6.1_20120613_233312-py2.6.egg/openerp/osv/orm.py", line 478, in __getattr__
      raise AttributeError(e)
  AttributeError: False

  As a result, the email is not displayed in openerps inbox.

  I checked for missing modules but are not as good enough to figure out whats wrong.
  I restarted the server and sent another mail to the erp account and received exactly the same error.
  If you need any more information feel free to contact me.

  Kind regards,

  Peter

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


Follow ups

References