V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX Workspace
https://workspace.v2ex.com/
shawiz
V2EX  ›  Project Stormwind

BUG report: @username 时会出现 error

  •  
  •   shawiz · 2011-10-12 09:23:31 +08:00 · 5086 次点击
    这是一个创建于 4787 天前的主题,其中的信息可能已经有所发展或是发生改变。
    我新邀请了一个朋友加入我的 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
    1 条回复    1970-01-01 08:00:00 +08:00
    shawiz
        1
    shawiz  
    OP
       2011-10-12 09:25:27 +08:00
    另外,是否能够删除一个项目?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1276 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 23:28 · PVG 07:28 · LAX 15:28 · JFK 18:28
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.