← Back to team overview

openerp-india team mailing list archive

[Bug 1283249] [NEW] [7.0] auth_signup: global name 'mako_template_env' is not defined

 

Public bug reported:

Hello, i think i've found a bug.

1. Install auth_signup module
2. Add an Outgoing Mail Server (Settings >> General Settings >> Outgoing Mail Server
3. Configure the outgoing mail server with Gmail recommended settings (https://support.google.com/mail/troubleshooter/1668960#ts=1665018,1665144)
4. Test the server, everything is Ok, then save.
5. Log out, and create a new user account.
6. Check that User is properly created and has an email address.
7. Log out again.
8. Try to recover user password.

Error:
2014-02-21 21:18:55,032 5245 ERROR fci1 openerp.addons.email_template.email_template: failed to render mako template value u'Password reset'
Traceback (most recent call last):
  File "/home/aristobulo/openerp/7.0/modules/email_template/email_template.py", line 99, in render_template
    result = mako_template_env.from_string(template).render(variables)
NameError: global name 'mako_template_env' is not defined

My oerp setup:

openboject-addons: revno 9850
openerp-web: revno 4146
openobject-server: revno 5220


Full error output attached.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

** Attachment added: "full error output"
   https://bugs.launchpad.net/bugs/1283249/+attachment/3990152/+files/auth_signup.error.txt

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

Title:
  [7.0] auth_signup: global name 'mako_template_env' is not defined

Status in OpenERP Addons (modules):
  New

Bug description:
  Hello, i think i've found a bug.

  1. Install auth_signup module
  2. Add an Outgoing Mail Server (Settings >> General Settings >> Outgoing Mail Server
  3. Configure the outgoing mail server with Gmail recommended settings (https://support.google.com/mail/troubleshooter/1668960#ts=1665018,1665144)
  4. Test the server, everything is Ok, then save.
  5. Log out, and create a new user account.
  6. Check that User is properly created and has an email address.
  7. Log out again.
  8. Try to recover user password.

  Error:
  2014-02-21 21:18:55,032 5245 ERROR fci1 openerp.addons.email_template.email_template: failed to render mako template value u'Password reset'
  Traceback (most recent call last):
    File "/home/aristobulo/openerp/7.0/modules/email_template/email_template.py", line 99, in render_template
      result = mako_template_env.from_string(template).render(variables)
  NameError: global name 'mako_template_env' is not defined

  My oerp setup:

  openboject-addons: revno 9850
  openerp-web: revno 4146
  openobject-server: revno 5220

  
  Full error output attached.

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


Follow ups

References