1
huacnlee 2012-06-27 18:37:33 +08:00
V2EX 现在跑的 Python 什么版本呀?
|
2
lerry 2012-06-27 18:48:28 +08:00 1
@huacnlee 2.6吧
http://www.v2ex.com/place/74.125.178.87 Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/tornado/web.py", line 988, in _execute getattr(self, self.request.method.lower())(*args, **kwargs) File "/usr/lib/python2.6/site-packages/tornado/web.py", line 1739, in wrapper return method(self, *args, **kwargs) File "/www/v2ex/galaxy/handlers/web/place.py", line 38, in get self.finalize('place/denied.html') File "/www/v2ex/galaxy/handlers/web/__init__.py", line 49, in finalize template = self.env.get_template(t) File "/usr/lib/python2.6/site-packages/Jinja2-2.6-py2.6.egg/jinja2/environment.py", line 719, in get_template return self._load_template(name, self.make_globals(globals)) File "/usr/lib/python2.6/site-packages/Jinja2-2.6-py2.6.egg/jinja2/environment.py", line 693, in _load_template template = self.loader.load(self, name, globals) File "/usr/lib/python2.6/site-packages/Jinja2-2.6-py2.6.egg/jinja2/loaders.py", line 115, in load source, filename, uptodate = self.get_source(environment, name) File "/usr/lib/python2.6/site-packages/Jinja2-2.6-py2.6.egg/jinja2/loaders.py", line 227, in get_source raise TemplateNotFound(template) TemplateNotFound: desktop/place/denied.html |