Bug 702940 - [abrt] gwibber-1:3.0.0.1-1.fc14: urllib2.py:518:http_error_default:HTTPError: HTTP Error 401: Unauthorized
Summary: [abrt] gwibber-1:3.0.0.1-1.fc14: urllib2.py:518:http_error_default:HTTPError:...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gwibber
Version: 14
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:cef986b4
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-08 14:22 UTC by Eman Mostafa
Modified: 2011-05-25 03:27 UTC (History)
1 user (show)

Fixed In Version: gwibber-3.0.0.1-2.fc13
Clone Of:
Environment:
Last Closed: 2011-05-19 04:57:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.24 KB, text/plain)
2011-05-08 14:22 UTC, Eman Mostafa
no flags Details

Description Eman Mostafa 2011-05-08 14:22:17 UTC
abrt version: 1.1.13
architecture: i686
cmdline: /usr/bin/python /usr/bin/gwibber-accounts
component: gwibber
executable: /usr/bin/gwibber-accounts
kernel: 2.6.35.12-90.fc14.i686
package: gwibber-1:3.0.0.1-1.fc14
reason: urllib2.py:518:http_error_default:HTTPError: HTTP Error 401: Unauthorized
release: Fedora release 14 (Laughlin)
time: 1304860078
uid: 500

backtrace
-----
urllib2.py:518:http_error_default:HTTPError: HTTP Error 401: Unauthorized

Traceback (most recent call last):
  File "/usr/share/gwibber/plugins/twitter/gtk/twitter/__init__.py", line 71, in on_twitter_auth_clicked
    tokendata = urllib2.urlopen(request.http_url, request.to_postdata()).read()
  File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 397, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 510, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 435, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 369, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 518, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 401: Unauthorized

Local variables in innermost frame:
fp: <addinfourl at 170902572 whose fp = <socket._fileobject object at 0xa2f846c>>
code: 401
hdrs: <httplib.HTTPMessage instance at 0xa2fc1ec>
self: <urllib2.HTTPDefaultErrorHandler instance at 0xa2f9bec>
req: <urllib2.Request instance at 0xa2f98cc>
msg: 'Unauthorized'

Comment 1 Eman Mostafa 2011-05-08 14:22:21 UTC
Created attachment 497642 [details]
File: backtrace

Comment 2 Tom "spot" Callaway 2011-05-12 16:43:14 UTC
I'm not sure why Twitter responded with a 401 when you tried to get Oauth tokendata, but it shouldn't traceback. I'll add some exception handling here.

Comment 3 Fedora Update System 2011-05-12 19:17:27 UTC
gwibber-3.0.0.1-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/gwibber-3.0.0.1-2.fc14

Comment 4 Fedora Update System 2011-05-12 19:18:12 UTC
gwibber-3.0.0.1-2.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/gwibber-3.0.0.1-2.fc15

Comment 5 Fedora Update System 2011-05-12 19:18:58 UTC
gwibber-3.0.0.1-2.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/gwibber-3.0.0.1-2.fc13

Comment 6 Fedora Update System 2011-05-13 22:56:37 UTC
Package gwibber-3.0.0.1-2.fc13:
* should fix your issue,
* was pushed to the Fedora 13 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gwibber-3.0.0.1-2.fc13'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/gwibber-3.0.0.1-2.fc13
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2011-05-19 04:56:48 UTC
gwibber-3.0.0.1-2.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2011-05-25 02:26:46 UTC
gwibber-3.0.0.1-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2011-05-25 03:27:04 UTC
gwibber-3.0.0.1-2.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.