Community: Framework mailing list archives

expert-framework@mail.odoo.com

Attachment data being False.

by
manuel
- 02/04/2015 09:54:11
Hi all,

Lately I've been detected this error in our Odoo (version 7.0) deployment:

failed sending mail.mail 21375
Traceback (most recent call last):
  File "openerp-7.0_20150130_045246_83b53a5/openerp/addons/mail/mail_mail.py", line 281, in send
    attachments.append((attach.datas_fname, base64.b64decode(attach.datas)))
  File "/usr/lib/python2.7/base64.py", line 73, in b64decode
    return binascii.a2b_base64(s)
TypeError: must be string or buffer, not bool


The issue happens when receiving a mail via the postfix mailgate script
(actually the mailgate script in xoeuf:
https://github.com/merchise-autrement/xoeuf/blob/develop/xoeuf/cli/mailgate.py).

Have anyone had this issue before?

Bests,
Manuel.