MOVE 时异常

2012-04-21 13:35:13 +08:00
 clowwindy
第一次 MOVE,填了节点的中文名(奇思妙想),结果抛出下面的异常:

Traceback (most recent call last):
File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/_webapp25.py", line 703, in __call__
handler.post(*groups)
File "/base/data/home/apps/v2ex/1.358339468135439170/backstage.py", line 1662, in post
node_new = GetKindByName('Node', destination)
File "/base/data/home/apps/v2ex/1.358339468135439170/v2ex/babel/da/__init__.py", line 37, in GetKindByName
one = memcache.get(K + '::' + str(name))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-3: ordinal not in range(128)

然后填了 ideas 就 MOVE 成功了。
2898 次点击
所在节点    反馈
1 条回复
Livid
2012-04-21 13:43:38 +08:00
是的,目前 move 操作接受的参数是 node.name,还不支持 node.title。

我会考虑在 PB3 中支持 node.title。

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

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

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

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

© 2021 V2EX