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

Project Picky的twitter问题

  •  
  •   hanfeizi · 2010-08-13 17:01:08 +08:00 · 5503 次点击
    这是一个创建于 4976 天前的主题,其中的信息可能已经有所发展或是发生改变。
    今天刚在GAE上架设了Picky并把writer.py里面201++行有关twitter的语句注释掉了不然进后台就报错..现在可以进后台了 但是点击twitter出现了下面错误
    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/imnotebook/2.344050858468440949/twitter.py", line 42, in get
    lists = api.GetLists()
    File "/base/data/home/apps/imnotebook/2.344050858468440949/v2ex/picky/ext/twitter.py", line 1546, in GetLists
    json = self._FetchUrl(url)
    File "/base/data/home/apps/imnotebook/2.344050858468440949/v2ex/picky/ext/twitter.py", line 2180, in _FetchUrl
    url_data = opener.open(url, encoded_post_data).read()
    File "/base/python_runtime/python_dist/lib/python2.5/urllib2.py", line 387, in open
    response = meth(req, response)
    File "/base/python_runtime/python_dist/lib/python2.5/urllib2.py", line 498, in http_response
    'http', request, response, code, msg, hdrs)
    File "/base/python_runtime/python_dist/lib/python2.5/urllib2.py", line 425, in error
    return self._call_chain(*args)
    File "/base/python_runtime/python_dist/lib/python2.5/urllib2.py", line 360, in _call_chain
    result = func(*args)
    File "/base/python_runtime/python_dist/lib/python2.5/urllib2.py", line 506, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
    HTTPError: HTTP Error 404: Not Found
    5 条回复    1970-01-01 08:00:00 +08:00
    hanfeizi
        1
    hanfeizi  
    OP
       2010-08-13 17:01:59 +08:00
    请作者和高手们解决一下吧.
    Livid
        2
    Livid  
    MOD
       2010-08-13 17:02:14 +08:00
    8.16 接近,这块功能很快就需要重写了。
    hanfeizi
        3
    hanfeizi  
    OP
       2010-08-13 17:04:22 +08:00
    哦 那我就不管他了....反正twitter不是经常用 嘿嘿
    Livid
        4
    Livid  
    MOD
       2010-08-13 17:08:11 +08:00
    Twitter 会在 8 月 31 之前彻底关闭 Basic Auth,算是一种技术进步,同时也会带来不小的折腾。

    目前可以用 V2EX 本身的 Twitter 功能代替。
    guokb
        5
    guokb  
       2010-08-13 17:39:28 +08:00
    @hanfeizi 我也曾經遇上一樣的問題,但一直不知道怎麼解決,只好放棄了這塊功能。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   963 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 20:39 · PVG 04:39 · LAX 13:39 · JFK 16:39
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.