Fw:login feature working but some problme

customer login feature is working but in support ticket when i click show following eror

Oops, a server error has occured


Traceback (innermost last):
  File "../lib/webnotes/webutils.py", line 13, in render
    html = get_html(page_name)
  File "../lib/webnotes/webutils.py", line 40, in get_html
    html = load_into_cache(page_name)
  File "../lib/webnotes/webutils.py", line 97, in load_into_cache
    html = build_html(args)
  File "../lib/webnotes/webutils.py", line 110, in build_html
    html = jenv.get_template(template_name).render(args)
  File "/usr/lib/python2.6/site-packages/Jinja2-2.6-py2.6.egg/jinja2/environment.py", line 894, in render
    return self.environment.handle_exception(exc_info, True)
  File "/var/www/sites/laxsun.erpnext.com/app/website/templates/pages/ticket.html", line 3, in top-level template code
    {% set title=doc.name %}
  File "/usr/lib/python2.6/site-packages/Jinja2-2.6-py2.6.egg/jinja2/environment.py", line 372, in getattr
    return getattr(obj, attribute)
 UndefinedError: 'doc' is undefined
Regards
Mohit Chaudhari



You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

Hi Mohit,

We have also fixed this issue. Thanks a lot for reporting this.

Regards,
Anand.

On 14-May-2013, at 6:10 PM, Laxsun Technologies <la...@gmail.com> wrote:

customer login feature is working but in support ticket when i click show following eror

Oops, a server error has occured


Traceback (innermost last):
  File "../lib/webnotes/webutils.py", line 13, in render
    html = get_html(page_name)
  File "../lib/webnotes/webutils.py", line 40, in get_html
    html = load_into_cache(page_name)
  File "../lib/webnotes/webutils.py", line 97, in load_into_cache
    html = build_html(args)
  File "../lib/webnotes/webutils.py", line 110, in build_html
    html = jenv.get_template(template_name).render(args)
  File "/usr/lib/python2.6/site-packages/Jinja2-2.6-py2.6.egg/jinja2/environment.py", line 894, in render
    return self.environment.handle_exception(exc_info, True)
  File "/var/www/sites/laxsun.erpnext.com/app/website/templates/pages/ticket.html", line 3, in top-level template code
    {% set title=doc.name %}
  File "/usr/lib/python2.6/site-packages/Jinja2-2.6-py2.6.egg/jinja2/environment.py", line 372, in getattr
    return getattr(obj, attribute)
 UndefinedError: 'doc' is undefined
Regards
Mohit Chaudhari




You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 




You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.