帖子发重, 因为报错

2010-05-04 13:50:33 +08:00
 henryhuang
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
5095 次点击
所在节点    V2EX
1 条回复
Starry
2010-05-04 14:50:05 +08:00
下标越界了

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/282

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX