Gwibber fails to start: AttributeError: 'NoneType' object has no attribute 'makefile'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gwibber |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Gwibber now fails to start, reporting the following:
** (gwibber:13038): WARNING **: Trying to register gtype 'WnckWindowState' as enum when in fact it is of type 'GFlags'
** (gwibber:13038): WARNING **: Trying to register gtype 'WnckWindowActions' as enum when in fact it is of type 'GFlags'
** (gwibber:13038): WARNING **: Trying to register gtype 'WnckWindowMove
Updating...
Traceback (most recent call last):
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/
self.
File "/usr/lib/
if self._database_name not in self._server:
File "/usr/lib/
self.
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/
response = conn.getresponse()
File "/usr/lib/
method=
File "/usr/lib/
self.fp = sock.makefile('rb', 0)
AttributeError: 'NoneType' object has no attribute 'makefile'
Gwibber used to work without problems so I expect it is an Ubuntu update which has caused the problem, unfortunately I don't know which (I always accept them all). I am running Ubuntu Lucid, uname -a gives:
Linux xxxxx 2.6.32-22-generic #33-Ubuntu SMP Wed Apr 28 13:27:30 UTC 2010 i686 GNU/Linux
Also affected. Also Lucid, same uname.
Gwibber 2.30.0.1-0ubuntu1, Python 2.6.5-0ubuntu1
Killing and restarting gwibber-service fixed this for me, so this might be caused by gwibber-service not gracefully handling network outage and/or (laptop) suspends.