V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
clowwindy
V2EX  ›  反馈

MOVE 时异常

  •  
  •   clowwindy · 2012-04-21 13:35:13 +08:00 · 2833 次点击
    这是一个创建于 4393 天前的主题,其中的信息可能已经有所发展或是发生改变。
    第一次 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 成功了。
    1 条回复    1970-01-01 08:00:00 +08:00
    Livid
        1
    Livid  
    MOD
       2012-04-21 13:43:38 +08:00
    是的,目前 move 操作接受的参数是 node.name,还不支持 node.title。

    我会考虑在 PB3 中支持 node.title。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2288 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 09:59 · PVG 17:59 · LAX 02:59 · JFK 05:59
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.