V2上的nearby正常,自己的测试却不行

2010 年 10 月 12 日
 won
错误提示:
Traceback (most recent call last):
File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line 513, in __call__
handler.post(*groups)
File "/base/data/home/apps/v2exv2ex/1.345439595379297693/place.py", line 95, in post
template_values['l10n'] = l10n
NameError: global name 'template_values' is not defined
5578 次点击
所在节点    Project Babel
7 条回复
Feuda
2010 年 10 月 12 日
你不会把语言设置为 English了吧,如果是的话,设置成中文试试...
http://cl.ly/d50a5734f17259e62838
won
2010 年 10 月 12 日
语言 中英全试过了 版本2.13.5
dimlau
2010 年 10 月 12 日
程序没更新完整吧……
won
2010 年 10 月 12 日
编辑回帖时,也会出现类似问题
但编辑主题很正常
local variable 'template_values' referenced before assignment
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/v2exv2ex/1.345439595379297693/topic.py", line 788, in get
template_values['l10n'] = l10n
UnboundLocalError: local variable 'template_values' referenced before assignment
won
2010 年 10 月 12 日
看见了之前的帖子 https://study.congcong.us/t/3203
Feuda
2010 年 10 月 12 日
一楼说反了...
Livid
2010 年 10 月 20 日
试试最新的版本,这个问题已经解决了。

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

https://study.congcong.us/t/3286

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

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

© 2021 V2EX