Traceback (most recent call last): File "/data/www/njl/app.py", line 3014, in get self.render(tpl+'/div_index.html',title = title_s, kw = kw, ds = ds, n = '3', sk = '', sid = qhid, qh_name = qhname, qh_title = qhtitle, biz_list = biz_list, biz0_list = biz0_list, divad = divad, shang = shang, news = news, cl = cl, cl00 = cl00, chanpin = chanpin, links = links, col = col, div_list = div_list, shang5 = shang5, qh_tel = qh_tel, qh_qq = qh_qq, news1 = news1, news2 = news2, qhupid = qhupid, tag_list = tag_list, thumbs = '', html = get_share(self.request.headers["User-Agent"],'http://'+self.request.host+self.request.uri)) File "/usr/lib64/python2.7/site-packages/tornado/web.py", line 750, in render html = self.render_string(template_name, **kwargs) File "/usr/lib64/python2.7/site-packages/tornado/web.py", line 891, in render_string return t.generate(**namespace) File "/usr/lib64/python2.7/site-packages/tornado/template.py", line 346, in generate return execute() File "desktop/div_index_html.generated.py", line 228, in _tt_execute _tt_tmp = classname # desktop/div_header.html:12 (via desktop/div_index.html:4) NameError: global name 'classname' is not defined