Traceback (most recent call last): File "/data/www/ecun/app.py", line 15201, in get self.render(tpl+'/wang.html',title = wang_title, kw = wang_kw, ds = wang_ds, n = '3', sk = '', timedis = timedis, rc6 = rc6, class_list = newsclasslist, cid = cid, hotnews = hotnews, topnews = topnews, html = get_share(self.request.headers["User-Agent"],'https://'+self.request.host+self.request.uri), avatar = avatar, ctype = ctype, userid = userid, u = u, qhpath = qhpath, qhinc = qhinc, qhname = qhname, qhid = qhid, qhdomain = qhdomain, qh = qh, uDomain = uDomain, cunad = cunad, qhinc1 = qhinc1, div_ad = div_ad, convert_to_code = convert_to_code) 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/wang_html.generated.py", line 368, in _tt_execute _tt_tmp = len(entry[6]+entry[5]) # desktop/wang.html:252 TypeError: unsupported operand type(s) for +: 'NoneType' and 'NoneType'