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

Twitter client bug 一枚

  •  
  •   vayn · 2010-08-04 21:20:13 +08:00 · 3029 次点击
    这是一个创建于 5261 天前的主题,其中的信息可能已经有所发展或是发生改变。
    如果访问受限用户的 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/v2ex/1.343845329585225780/t.py", line 287, in get
    statuses = twitter.GetUserTimeline(user=screen_name, count = 50)
    File "/base/data/home/apps/v2ex/1.343845329585225780/twitter/twitter.py", line 1539, in GetUserTimeline
    json = self._FetchUrl(url, parameters=parameters)
    File "/base/data/home/apps/v2ex/1.343845329585225780/twitter/oauthtwitter.py", line 101, in _FetchUrl
    url_data = opener.open(url).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 401: Unauthorized
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2528 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 15:32 · PVG 23:32 · LAX 07:32 · JFK 10:32
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.