sogood

Project Picky 无法进入后台

  •  
  •   sogood · Apr 28, 2010 · 14664 views
    This topic created in 6032 days ago, the information mentioned may be changed or developed.
    前阵子有时也会出现这个问题,现在是根本无法进入了,输入密码后就出现下面这个错误,暂时解决不了。

    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/****/1.341522608208796021/writer.py", line 211, in get
    if len(mentions_twitter['results']) > 0:
    KeyError: 'results'
    8 replies  •  1970-01-01 08:00:00 +08:00
    Livid
    Livid
    MOD
    PRO
    Apr 28, 2010
    1
    可以试着把后台里和 mentions_twitter 有关的部分注释掉。

    这个是 Twitter Search API 的问题。
    sogood
    sogood
    OP
    Apr 28, 2010
    2
    thx, it works now.
    Fann
    Fann
    Apr 29, 2010
    3
    我在 writer.py line 211 的地方加了个try..except解决。
    xinzhi
    xinzhi
    Jun 14, 2010
    4
    也有可能是更改了Twitter密码的原因。
    nipao
    nipao
    Sep 16, 2010
    5
    @ 我是菜鸟 实在没明白这个到底怎么加?
    sogood
    sogood
    OP
    Sep 17, 2010
    6
    @nipao 打开 picky 目录,修改里面的 writer.py,里面 211 行 和 212 行注释掉就ok了。

    #if len(mentions_twitter['results']) > 0:
    #template_values['mentions_twitter'] = mentions_twitter['results']
    darkovic
    darkovic
    Dec 9, 2010
    7
    @sogood 太感谢了,对新手太友好了:D
    我也遇到了这个问题。
    ccano
    ccano
    Dec 27, 2010
    8
    期待2.0版本。。。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1368 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 22:10 · PVG 06:10 · LAX 14:10 · JFK 17:10
    ♥ Do have faith in what you're doing.