V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
henryhuang
V2EX  ›  V2EX

帖子发重, 因为报错

  •  
  •   henryhuang · 2010-05-04 13:50:33 +08:00 · 5067 次点击
    这是一个创建于 5318 天前的主题,其中的信息可能已经有所发展或是发生改变。
    livid删了吧, 下面是Stack Trace.

    Traceback (most recent call last):
    File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line 511, in __call__
    handler.get(*groups)
    File "/base/data/home/apps/v2ex/1.341692941982978173/topic.py", line 184, in get
    output = template.render(path, template_values)
    File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/template.py", line 81, in render
    return t.render(Context(template_dict))
    File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/template.py", line 121, in wrap_render
    return orig_render(context)
    File "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/template/__init__.py", line 168, in render
    return self.nodelist.render(context)
    File "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/template/__init__.py", line 705, in render
    bits.append(self.render_node(node, context))
    File "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/template/__init__.py", line 718, in render_node
    return(node.render(context))
    File "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/template/__init__.py", line 767, in render
    output = self.filter_expression.resolve(context)
    File "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/template/__init__.py", line 579, in resolve
    obj = func(obj, *arg_vals)
    File "/base/data/home/apps/v2ex/1.341692941982978173/v2ex/templatetags/filters.py", line 29, in mentions
    value = value.replace('@' + m_id[0], '@<a href="/member/' + m_id[0] + '">' + m_id[0] + '</a>')
    IndexError: list index out of range
    1 条回复    1970-01-01 08:00:00 +08:00
    Starry
        1
    Starry  
       2010-05-04 14:50:05 +08:00
    下标越界了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3013 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 13:58 · PVG 21:58 · LAX 05:58 · JFK 08:58
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.