Traceback (most recent call last): File "/data/www/ecun/app.py", line 4252, in get self.render(tpl+'/login.html',title = h1 + '_' + title_s, kw = kw, ds = ds, n = '3', sk = '', h1 = h1, r = r, t = t, html = get_share(self.request.headers["User-Agent"],'https://'+self.request.host+self.request.uri)) File "/usr/lib64/python2.7/site-packages/tornado/web.py", line 719, in render html = self.render_string(template_name, **kwargs) File "/usr/lib64/python2.7/site-packages/tornado/web.py", line 826, in render_string return t.generate(**namespace) File "/usr/lib64/python2.7/site-packages/tornado/template.py", line 348, in generate return execute() File "desktop/login_html.generated.py", line 155, in _tt_execute _tt_tmp = cunid[:1] + '/' + cunid[1:2] + '/' +cunid[2:3] + '/' + cunid[3:4] + '/' + cunid[4:5] + '/' + cunid[5:6] + '.png' # desktop/footer.html:26 (via desktop/login.html:79) NameError: global name 'cunid' is not defined