** Changed in: weather-indicator/3.0
       Status: Fix Committed => Won't Fix

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to indicator-weather in Ubuntu.
https://bugs.launchpad.net/bugs/769842

Title:
  Weather Indicator should clear up corrupted DB

Status in Indicator-Weather:
  Fix Committed
Status in Weather Indicator 2.0 series:
  Fix Released
Status in Weather Indicator 3.0 series:
  Won't Fix
Status in “indicator-weather” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: indicator-weather

  I installed indicator-weather today.
  After starting it and choosing my settings, it hanged during confirmation; so 
I terminated the program.
  I made some retries, with no success. Now the program does not start.

  Traceback from terminal:
  _________________________________________________
  igor@igor-NattyTest:~$ indicator-weather
  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 77, in prepare_settings_store
      self.db.add_view("get_setting", self.settings_view, None, 
self.settings_design_doc)
    File "/usr/lib/pymodules/python2.7/desktopcouch/records/database.py", line 
430, in add_view
      view.sync(self.db)
    File "/usr/lib/pymodules/python2.7/couchdb/design.py", line 139, in sync
      type(self).sync_many(db, [self])
    File "/usr/lib/pymodules/python2.7/couchdb/design.py", line 195, in 
sync_many
      db.update(docs)
    File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 733, in update
      _, _, data = self.resource.post_json('_bulk_docs', body=content)
    File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 399, in post_json
      status, headers, data = self.post(*a, **k)
    File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 381, in post
      **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 238, 
in request
      data = couchdbjson.decode(data)
    File "/usr/lib/pymodules/python2.7/couchdb/json.py", line 52, in decode
      return _decode(string)
    File "/usr/lib/pymodules/python2.7/couchdb/json.py", line 111, in <lambda>
      _decode = lambda string, loads=simplejson.loads: loads(string)
    File "/usr/lib/python2.7/dist-packages/simplejson/__init__.py", line 384, 
in loads
      return _default_decoder.decode(s)
    File "/usr/lib/python2.7/dist-packages/simplejson/decoder.py", line 402, in 
decode
      obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  TypeError: expected string or buffer

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: indicator-weather 11.04.10+repack-0ubuntu2
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic i686
  Architecture: i386
  Date: Sun Apr 24 13:31:47 2011
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta i386 (20110413)
  PackageArchitecture: all
  ProcEnviron:
   LANGUAGE=it_IT:en
   LANG=it_IT.UTF-8
   SHELL=/bin/bash
  SourcePackage: indicator-weather
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/weather-indicator/+bug/769842/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to