这是一个创建于 4590 天前的主题,其中的信息可能已经有所发展或是发生改变。
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 1042, in _execute
getattr(self, self.request.method.lower())(*args, **kwargs)
File "/www/v2ex/galaxy/handlers/web/notifications.py", line 56, in get
self.finalize('n.xml')
File "/www/v2ex/galaxy/handlers/feed/__init__.py", line 45, in finalize
self.write(template.render(self.values))
File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 894, in render
return self.environment.handle_exception(exc_info, True)
File "/www/v2ex/galaxy/templates/feed/n.xml", line 25, in top-level template code
{{ n.payload|es|nlink|tlink|sinaimg|youtube|youku|tudou|gist|mentions|autolink|nl2br }}
File "/www/v2ex/galaxy/filters/__init__.py", line 55, in es
value = value.replace('<', '<')
AttributeError: 'NoneType' object has no attribute 'replace'
8 条回复 • 1970-01-01 08:00:00 +08:00
 |
|
2
Livid 2013 年 6 月 26 日
多谢反馈。
这个异常已经修复。
|
 |
|
3
ohhe 2013 年 6 月 26 日
@ Livid bug: 昨天我的未读提醒显示:21条未读提醒,其实只有1条
|
 |
|
4
loading 2013 年 6 月 26 日 via iPhone
我想知道如何在出错后不显示这个给客户。
|
 |
|
5
bcxx 2013 年 6 月 26 日
|
 |
|
6
cj1324 2013 年 6 月 26 日
关掉debug显示500 就行~
|
 |
|
8
Livid 2013 年 6 月 26 日
@ loading V2EX 的普通页面上是看不到这个异常的。 是我们的一个 RSS Feed 出错时的异常。
|