weather applet does not start

Bug #732275 reported by Nekhelesh Ramananthan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Weather Indicator
Invalid
Undecided
Unassigned
python-couchdb (Ubuntu)
New
Undecided
Unassigned

Bug Description

I installed indicator-weather from the Unstable PPA. The version currently installed is 11.02.13+bzr200~maverick1. When I try running it from the terminal I get the following error.

Traceback (most recent call last):
  File "/usr/bin/indicator-weather", line 1529, in <module>
    wi = indicator_weather()
  File "/usr/bin/indicator-weather", line 750, in __init__
    self.settings.prepare_settings_store()
  File "/usr/bin/indicator-weather", line 80, in prepare_settings_store
    self.db.db.compact()
  File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 377, in compact
    resp, data = self.resource.post('_compact')
  File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 985, in post
    **params)
  File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1035, in _request
    raise ServerError((status_code, error))
couchdb.client.ServerError: (415, ('bad_content_type', 'Content-Type must be application/json'))
DEBUG:IndicatorWeather:SingleInstance: deleting /home/krnekhelesh/.cache/indicator-weather.pid

Based on the last line of this error, I searched for /home/krnekhelesh/.cache/indicator-weather.pid however it is not there...although .pid is process so I might be wrong...New to ubuntu...

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

Looks like a problem in python-couchdb.

Please post the output of the following commands:
cat /etc/issue
apt-cache policy couchdb python-couchdb

This will show ubuntu version and couchdb server and client versions

Changed in weather-indicator:
milestone: none → cloudy
status: New → Incomplete
Revision history for this message
Vadim Rutkovsky (roignac) wrote :

Pushed a probable fix in bzr203 version in unstable PPA.
If it will crash, it is supposed to happen on 'Quit' menu action only

Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

Command: cat /etc/issue

OUTPUT
Ubuntu 10.10 \n \l

Command :apt-cache policy couchdb python-couchdbcouchdb:

OUTPUT
  Installed: (none)
  Candidate: 1.0.1-0ubuntu3
  Version table:
     1.0.1-0ubuntu3 0
        500 http://nl.archive.ubuntu.com/ubuntu/ maverick/universe i386 Packages
python-couchdb:
  Installed: 0.6-1
  Candidate: 0.6-1
  Version table:
 *** 0.6-1 0
        500 http://nl.archive.ubuntu.com/ubuntu/ maverick/main i386 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

I tried the bzr203 version and it works...Indicator weather starts up. However when I click the quit menu item it does not quit...but stays on the indicator menu.

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

Yes, it is a problem in python-couchdb - see http://code.google.com/p/couchdb-python/issues/detail?id=141
The only 'real' fix is updating python-couchdb to a more recent version - e.g. 0.8-1. This version is already in Natty repos, hope, soon other repos will be updated.

Please, try 'bzr203' version of Weather Indicator - the crash might occur on Quit only and the only drawback will be possible growth of CouchDB. User may manually compact the database via Apache Futon

Changed in weather-indicator:
status: Incomplete → Invalid
Revision history for this message
Vadim Rutkovsky (roignac) wrote :

Quit issue (bug #597546) has been fixed in the bzr210 package in Unstable PPA

Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

Too worried to check if it works since opening the indicator-weather menu freezes my system. But I will definitely look into this once the freezing bug has been fixed. :)

Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

I still can't quit the indicator using the quit menu button. And I have the bzr210 package installed.

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.