回复中的@mention的bug?

2010-07-25 09:13:03 +08:00
 Htom
早上回帖的时候, 用了@user格式, 结果敲错了对方的名字, 那名字不存在,所以点击用户名链接进去, 是一堆错误的信息, livid有空看一下。
6043 次点击
所在节点    Project Babel
4 条回复
Htom
2010-07-25 09:13:46 +08:00
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.343594943101811124/member.py", line 52, 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.343594943101811124/v2ex/templatetags/filters.py", line 11, in timezone
return value + timedelta(hours=offset)
TypeError: cannot concatenate 'str' and 'datetime.timedelta' objects

错误信息奉上。
airwolf
2010-07-25 10:40:27 +08:00
这个帖子为什么支持 Safari Reader ?
Livid
2010-07-25 10:42:10 +08:00
貌似正文足够长,Safari Reader 就会检测出来。

这个问题稍后会解决的。

:)
user
2010-07-25 10:59:26 +08:00
嗯,我是来看看的。

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

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

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

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

© 2021 V2EX