发现个炫富页面的 BUG

2012-04-23 22:08:06 +08:00
 disinfeqt
喏,访问 http://neue.v2ex.com/top/rich 然后所有头像的链接都指向「我」的页面。
另外我很爱财的,你们使劲儿回复一下。
6711 次点击
所在节点    Project Babel
11 条回复
brick730
2012-04-23 22:09:20 +08:00
还真是啊
Livid
2012-04-23 22:10:50 +08:00
感谢。

现在修好了。
ipopo
2012-04-23 22:11:47 +08:00
ls速度好快!
leungxh
2012-04-23 22:12:10 +08:00
赏5毛
sun019
2012-04-23 22:12:50 +08:00
UndefinedError: 'member' is undefined
这是问题么?
Ryans
2012-04-23 22:13:02 +08:00
没看懂。

Bug 在哪里?
lfzyx
2012-04-23 22:13:20 +08:00
@Livid Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/tornado/web.py", line 988, in _execute
getattr(self, self.request.method.lower())(*args, **kwargs)
File "/www/v2ex/galaxy/handlers/web/top.py", line 28, in get
self.finalize('top/rich.html')
File "/www/v2ex/galaxy/handlers/web/__init__.py", line 54, in finalize
self.write(template.render(self.values))
File "/usr/lib/python2.6/site-packages/Jinja2-2.6-py2.6.egg/jinja2/environment.py", line 894, in render
return self.environment.handle_exception(exc_info, True)
File "/www/v2ex/galaxy/templates/desktop/top/rich.html", line 1, in top-level template code
{% extends 'desktop/common/layout0.html' %}
File "/www/v2ex/galaxy/templates/desktop/common/layout0.html", line 46, in top-level template code
{% block wrapper %}
File "/www/v2ex/galaxy/templates/desktop/common/layout0.html", line 99, in block "wrapper"
{% block main %}
File "/www/v2ex/galaxy/templates/desktop/top/rich.html", line 25, in block "main"
<td colspan="3" align="center"><span class="fade">{% if member.list_rich == 1 %}你当前已经参与了社区财富排行榜{% endif %}</span></td>
File "/usr/lib/python2.6/site-packages/Jinja2-2.6-py2.6.egg/jinja2/environment.py", line 372, in getattr
return getattr(obj, attribute)
UndefinedError: 'member' is undefined
sun019
2012-04-23 22:14:44 +08:00
@lfzyx oh 知道了 http://neue.v2ex.com 下面 你还没登陆
Livid
2012-04-23 22:16:05 +08:00
现在已经全部修复。

谢谢大家。
sigone
2012-04-23 22:20:26 +08:00
@livid 为什么我 20 - 45 却没有进排行榜呢. 呵呵
Livid
2012-04-23 22:21:53 +08:00
@sigone 排行榜不是默认参与的,如果要参与的话,需要在个人设置中打开。

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

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

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

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

© 2021 V2EX