← Back to team overview

openerp-india team mailing list archive

[Bug 1097746] Re: [7.0] User creation ignores outgoing mail settings

 

Some traceback:

Traceback (most recent call last):
  File "/home/openerp/openobject-addons/email_template/email_template.py", line 98, in render_template
    result = mako_template_env.from_string(template).render(variables)
NameError: global name 'mako_template_env' is not defined
2013-01-16 13:04:17,912 29036 ERROR unidem openerp.addons.email_template.email_template: failed to render mako template value u'\n<p>A password reset was requested for the OpenERP account linked to this email.</p>\n\n<p>You may change your password by following <a href="${object.signup_url}">this link</a>.</p>\n\n<p>Note: If you do not expect this, you can safely ignore this email.</p>'
Traceback (most recent call last):
  File "/home/openerp/openobject-addons/email_template/email_template.py", line 98, in render_template
    result = mako_template_env.from_string(template).render(variables)
NameError: global name 'mako_template_env' is not defined
2013-01-16 13:04:17,912 29036 ERROR unidem openerp.addons.email_template.email_template: failed to render mako template value u'${object.company_id.name} <${object.company_id.email}>'
Traceback (most recent call last):
  File "/home/openerp/openobject-addons/email_template/email_template.py", line 98, in render_template
    result = mako_template_env.from_string(template).render(variables)
NameError: global name 'mako_template_env' is not defined
2013-01-16 13:04:17,912 29036 ERROR unidem openerp.addons.email_template.email_template: failed to render mako template value u'${object.email}'
Traceback (most recent call last):
  File "/home/openerp/openobject-addons/email_template/email_template.py", line 98, in render_template
    result = mako_template_env.from_string(template).render(variables)
NameError: global name 'mako_template_env' is not defined
2013-01-16 13:04:17,930 29036 ERROR unidem openerp.addons.mail.mail_mail: failed sending mail.mail 20
Traceback (most recent call last):
  File "/home/openerp/openobject-addons/mail/mail_mail.py", line 269, in send
    subtype_alternative = 'plain')
  File "/home/openerp/openobject-server/openerp/addons/base/ir/ir_mail_server.py", line 297, in build_email
    assert email_from, "You must either provide a sender address explicitly or configure "\
AssertionError: You must either provide a sender address explicitly or configure a global sender address in the server configuration or with the --email-from startup parameter.
2013-01-16 13:04:17,933 29036 ERROR unidem openerp.netsvc: Cannot send email: no outgoing email server configured.
You can configure it under Settings/General Settings.
Testing
Traceback (most recent call last):
  File "/home/openerp/openobject-server/openerp/netsvc.py", line 289, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/openerp/openobject-server/openerp/service/web_services.py", line 614, in dispatch
    res = fn(db, uid, *params)
  File "/home/openerp/openobject-server/openerp/osv/osv.py", line 169, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/home/openerp/openobject-server/openerp/osv/osv.py", line 123, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/openerp/openobject-server/openerp/osv/osv.py", line 179, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/openerp/openobject-server/openerp/osv/osv.py", line 166, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/openerp/openobject-addons/crm/crm_meeting.py", line 76, in create
    user_id = super(res_users, self).create(cr, uid, data, context=context)
  File "/home/openerp/openobject-addons/auth_signup/res_users.py", line 277, in create
    user.action_reset_password()
  File "/home/openerp/openobject-server/openerp/osv/orm.py", line 374, in function_proxy
    return attr(self._cr, self._uid, [self._id], *args, **kwargs)
  File "/home/openerp/openobject-addons/auth_signup/res_users.py", line 259, in action_reset_password
    raise osv.except_osv(_("Cannot send email: no outgoing email server configured.\nYou can configure it under Settings/General Settings."), user.name)
except_osv: (u'Cannot send email: no outgoing email server configured.\nYou can configure it under Settings/General Settings.', u'Testing')

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

Title:
  [7.0] User creation ignores outgoing mail settings

Status in OpenERP Addons (modules):
  New

Bug description:
  Creating a user with an email address will result in this error
  regardless of if outgoing mail servers are configured.

  Cannot send email: no outgoing email server configured.
  You can configure it under Settings/General Settings.

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


References