clowwindy
V2EX  ›  反馈

MOVE 时异常

  •  
  •   clowwindy · Apr 21, 2012 · 3446 views
    This topic created in 5148 days ago, the information mentioned may be changed or developed.
    第一次 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 replies    1970-01-01 08:00:00 +08:00
    Livid
        1
    Livid  
    MOD
    PRO
       Apr 21, 2012
    是的,目前 move 操作接受的参数是 node.name,还不支持 node.title。

    我会考虑在 PB3 中支持 node.title。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5243 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 09:04 · PVG 17:04 · LAX 02:04 · JFK 05:04
    ♥ Do have faith in what you're doing.