So I "fixed" it but killing gwibber and gwibber-service and then starting gwibber again. Then, after hitting authorize, the oAuth box came up and it worked. However, I have the something similar happen now whenever I try to use gwibber after waking from hibernate. I think the problem has something to do with hibernation. I got the following traceback after trying to start gwibber after hibernate:
Traceback (most recent call last):
File "/usr/bin/gwibber", line 67, in <module>
client.Client()
File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 448, in __init__
self.w = GwibberClient()
File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 42, in __init__
if len(json.loads(self.service.GetAccounts())) == 0:
File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in __call__
**keywords)
File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.socket.error: Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/dbus/service.py", line 702, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "/usr/lib/python2.6/dist-packages/gwibber/microblog/dispatcher.py", line 491, in GetAccounts
for account in self.accounts.get_records(COUCH_TYPE_ACCOUNT, True):
File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server_base.py", line 482, in get_records
exists = self.view_exists(view_name, design_doc)
File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server_base.py", line 429, in view_exists
self.with_reconnects(self.db.__getitem__, doc_id)["views"]
File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server_base.py", line 164, in with_reconnects
return func(*args, **kwargs)
File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 316, in __getitem__
resp, data = self.resource.get(id)
File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 978, in get
return self._request('GET', path, headers=headers, **params)
File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1014, in _request
resp, data = _make_request()
File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1009, in _make_request
body=body, headers=headers)
File "/usr/lib/pymodules/python2.6/httplib2/__init__.py", line 1129, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/usr/lib/pymodules/python2.6/httplib2/__init__.py", line 901, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "/usr/lib/pymodules/python2.6/httplib2/__init__.py", line 875, in _conn_request
conn.connect()
File "/usr/lib/pymodules/python2.6/httplib2/__init__.py", line 750, in connect
raise socket.error, msg
error: [Errno 111] Connection refused
So I "fixed" it but killing gwibber and gwibber-service and then starting gwibber again. Then, after hitting authorize, the oAuth box came up and it worked. However, I have the something similar happen now whenever I try to use gwibber after waking from hibernate. I think the problem has something to do with hibernation. I got the following traceback after trying to start gwibber after hibernate:
Traceback (most recent call last): python2. 6/dist- packages/ gwibber/ client. py", line 448, in __init__ python2. 6/dist- packages/ gwibber/ client. py", line 42, in __init__ loads(self. service. GetAccounts( ))) == 0: pymodules/ python2. 6/dbus/ proxies. py", line 140, in __call__ pymodules/ python2. 6/dbus/ connection. py", line 620, in call_blocking .DBusException: org.freedesktop .DBus.Python. socket. error: Traceback (most recent call last): pymodules/ python2. 6/dbus/ service. py", line 702, in _message_cb method( self, *args, **keywords) python2. 6/dist- packages/ gwibber/ microblog/ dispatcher. py", line 491, in GetAccounts get_records( COUCH_TYPE_ ACCOUNT, True): python2. 6/dist- packages/ desktopcouch/ records/ server_ base.py" , line 482, in get_records exists( view_name, design_doc) python2. 6/dist- packages/ desktopcouch/ records/ server_ base.py" , line 429, in view_exists with_reconnects (self.db. __getitem_ _, doc_id)["views"] python2. 6/dist- packages/ desktopcouch/ records/ server_ base.py" , line 164, in with_reconnects pymodules/ python2. 6/couchdb/ client. py", line 316, in __getitem__ get(id) pymodules/ python2. 6/couchdb/ client. py", line 978, in get 'GET', path, headers=headers, **params) pymodules/ python2. 6/couchdb/ client. py", line 1014, in _request pymodules/ python2. 6/couchdb/ client. py", line 1009, in _make_request pymodules/ python2. 6/httplib2/ __init_ _.py", line 1129, in request pymodules/ python2. 6/httplib2/ __init_ _.py", line 901, in _request request( conn, request_uri, method, body, headers) pymodules/ python2. 6/httplib2/ __init_ _.py", line 875, in _conn_request pymodules/ python2. 6/httplib2/ __init_ _.py", line 750, in connect
File "/usr/bin/gwibber", line 67, in <module>
client.Client()
File "/usr/lib/
self.w = GwibberClient()
File "/usr/lib/
if len(json.
File "/usr/lib/
**keywords)
File "/usr/lib/
message, timeout)
dbus.exceptions
File "/usr/lib/
retval = candidate_
File "/usr/lib/
for account in self.accounts.
File "/usr/lib/
exists = self.view_
File "/usr/lib/
self.
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
resp, data = self.resource.
File "/usr/lib/
return self._request(
File "/usr/lib/
resp, data = _make_request()
File "/usr/lib/
body=body, headers=headers)
File "/usr/lib/
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/usr/lib/
(response, content) = self._conn_
File "/usr/lib/
conn.connect()
File "/usr/lib/
raise socket.error, msg
error: [Errno 111] Connection refused
I then killed gwibber and gwibber service and started it back up and it worked. So the problem appears to be localized to post-hibernate. That would make this bug a dup of https:/ /bugs.launchpad .net/ubuntu/ +source/ desktopcouch/ +bug/522538.