Traceback (most recent call last): File "/data/www/ecun/app.py", line 4694, in get self.render(tpl+'/reg.html',title = h1 + '_' + title_s, kw = kw, ds = ds, n = '3', sk = '', h1 = h1, utype_list = utype_list, sheng_list = sheng_list, a = a, 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/reg_html.generated.py", line 157, 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/reg.html:604) NameError: global name 'cunid' is not defined