Crashes with couchdb error

Bug #779606 reported by Ralf Hersel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Weather Indicator
Fix Released
Undecided
Unassigned
desktopcouch
New
Undecided
Unassigned

Bug Description

Error message:

Traceback (most recent call last):
  File "/usr/bin/indicator-weather", line 1725, in <module>
    wi = indicator_weather()
  File "/usr/bin/indicator-weather", line 800, in __init__
    self.settings.prepare_settings_store()
  File "/usr/bin/indicator-weather", line 68, in prepare_settings_store
    self.db = CouchDatabase("weatherindicator", create = True)
  File "/usr/lib/pymodules/python2.7/desktopcouch/application/server.py", line 101, in __init__
    oauth_tokens=oauth_tokens, ctx=ctx)
  File "/usr/lib/pymodules/python2.7/desktopcouch/application/server.py", line 75, in __init__
    oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory)
  File "/usr/lib/pymodules/python2.7/desktopcouch/records/database.py", line 123, in __init__
    self._reconnect()
  File "/usr/lib/pymodules/python2.7/desktopcouch/application/server.py", line 85, in _reconnect
    super(DesktopDatabase, self)._reconnect(uri=uri)
  File "/usr/lib/pymodules/python2.7/desktopcouch/records/database.py", line 145, in _reconnect
    self.db = self._server[self._database_name]
  File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 137, in __getitem__
    db.resource.head() # actually make a request to the database
  File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 377, in head
    return self._request('HEAD', path, headers=headers, **params)
  File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request
    credentials=self.credentials)
  File "/usr/lib/pymodules/python2.7/desktopcouch/records/http.py", line 259, in request
    raise ServerError((status, error))
couchdb.http.ServerError: (500, '')

Revision history for this message
Ralf Hersel (ralf.hersel) wrote :

I fixed it by deleting the couchdb 'weatherindicator'.

Revision history for this message
Vadim Rutkovsky (roignac) wrote :

I believe, this has been fixed in the current version in the PPA - desktopcouch will not crash the indicator and will be used in a proper way.

Please, change the bug status if this is still reproducible for you

Changed in weather-indicator:
status: New → Fix Released
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.