Twitter plugin doesn't work with OAuth
Bug #645213 reported by
LogicalDash
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kupfer |
Incomplete
|
Wishlist
|
Unassigned |
Bug Description
Twitter implemented a new authentication scheme called OAuth recently. The old one no longer works.
Until the Twitter plugin works with OAuth, it won't be able to send anything to Twitter.
Changed in kupfer: | |
status: | New → Confirmed |
To post a comment you must log in.
I hope this helps:
Traceback (most recent call last): kupfer/ kupfer/ ui/browser. py", line 1314, in _activate data_controller .activate( ) kupfer/ kupfer/ core/data. py", line 752, in activate kupfer/ kupfer/ commandexec. py", line 249, in run action( obj, action, iobj) kupfer/ kupfer/ commandexec. py", line 74, in activate_action action_ single( obj, action, iobj) kupfer/ kupfer/ commandexec. py", line 82, in _activate_ action_ single activate( obj) kupfer/ kupfer/ plugin/ twitter/ __init_ _.py", line 199, in activate PostUpdate( trunc_message( leaf.object) ) pymodules/ python2. 6/twitter. py", line 1492, in PostUpdate pymodules/ python2. 6/twitter. py", line 2016, in _FetchUrl post_data) .read() python2. 6/urllib2. py", line 397, in open python2. 6/urllib2. py", line 510, in http_response python2. 6/urllib2. py", line 435, in error chain(* args) python2. 6/urllib2. py", line 369, in _call_chain python2. 6/urllib2. py", line 518, in http_error_default req.get_ full_url( ), code, msg, hdrs, fp)
File "/usr/share/
self.
File "/usr/share/
res, ret = ctx.run(leaf, action, sobject)
File "/usr/share/
ret = activate_
File "/usr/share/
return _activate_
File "/usr/share/
ret = action.
File "/usr/share/
api.
File "/usr/lib/
json = self._FetchUrl(url, post_data=data)
File "/usr/lib/
url_data = opener.open(url, encoded_
File "/usr/lib/
response = meth(req, response)
File "/usr/lib/
'http', request, response, code, msg, hdrs)
File "/usr/lib/
return self._call_
File "/usr/lib/
result = func(*args)
File "/usr/lib/
raise HTTPError(
urllib2.HTTPError: HTTP Error 401: Unauthorized