我新邀请了一个朋友加入我的 project, 然后试了一下 mention 的功能。当我点击自己输入的 @
username (朋友的 username. 他还没有受邀加入)时,出现了 error:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/tornado-2.1.1-py2.6.egg/tornado/
web.py", line 954, in _execute
getattr(self, self.request.method.lower())(*args, **kwargs)
File "/www/workspace/workspace/
security.py", line 44, in wrapper
return method(self, *args, **kwargs)
File "/www/workspace/workspace/handlers/desktop/project/team/
__init__.py", line 168, in get
self.finalize('project/team/not_in_team', 'html')
File "/www/workspace/workspace/handlers/desktop/
__init__.py", line 29, in finalize
template = self.env.get_template('desktop/' + template_name + '.' + template_type)
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/project/team/not_in_team.html
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
https://www.v2ex.com/t/19353
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.