Gwibber stops refreshing after waking up from sleep state

Bug #611823 reported by David Erosa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gwibber (Ubuntu)
New
Low
Unassigned

Bug Description

Binary package hint: gwibber

Every time I wake up my system from sleep state, I have to kill the gwibber process and start it again because it doesn't refresh my accounts anymore (it doesn't even quit the program)
This is wat I get from console when suspending->waking up:

****************************
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/util/couch.py", line 62, in run
    self.curl.perform()
error: (18, 'transfer closed with outstanding read data remaining')

INFO:Gwibber GNOME Client:Setting to Online
INFO:Gwibber GNOME Client:Setting to Offline
INFO:Gwibber GNOME Client:Setting to Online

****************************
*** HERE I TRY TO REFRESH MANUALLY ***
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 263, in on_refresh
    self.service.Refresh()
  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.AttributeError: 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 407, in Refresh
    self.refresh()
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/dispatcher.py", line 540, in refresh
    operations = list(self.collector.get_operations())
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/dispatcher.py", line 161, in get_operations
    for acct 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 168, in with_reconnects
    self._reconnect()
  File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server_base.py", line 176, in _reconnect
    if self._database_name not in self._server:
  File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 124, in __contains__
    self.resource.head(validate_dbname(name))
  File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 981, in head
    return self._request('HEAD', 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 871, in _conn_request
    response = conn.getresponse()
  File "/usr/lib/python2.6/httplib.py", line 984, in getresponse
    method=self._method)
  File "/usr/lib/python2.6/httplib.py", line 330, in __init__
    self.fp = sock.makefile('rb', 0)
AttributeError: 'NoneType' object has no attribute 'makefile'

****************************
*** AND HERE I TRY TO QUIT ***
INFO:Gwibber GNOME Client:Gwibber Client quit
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 308, in on_quit
    self.on_window_close()
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 301, in on_window_close
    self.save_window_settings()
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 294, in save_window_settings
    self.model.settings.save()
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/util/couch.py", line 87, in save
    data = self.database.get_record(self.id)._data
  File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server_base.py", line 192, in get_record
    couch_record = self.with_reconnects(self.db.__getitem__, record_id)
  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
socket.error: [Errno 111] Conexión rechazada (Rejected connection)

****************************
I'm using gwibber 2.30.1-0ubuntu1 from Ubuntu Lucid.up-to-date

Revision history for this message
Omer Akram (om26er) wrote :

Thanks for the bug report. This particular bug has already been reported and is a duplicate of bug 522538, so is being marked as such. Any further discussion regarding the bug should occur in the other report. Feel free to report any other bugs you may find.

Changed in gwibber (Ubuntu):
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.