indicator-weather crashed with ValueError in raw_decode(): No JSON object could be decoded

Bug #1190763 reported by Julien
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Weather Indicator
Fix Committed
High
Joshua Tasker

Bug Description

When launch indicator, i get this error :

Traceback (most recent call last):
  File "/usr/bin/indicator-weather", line 2782, in <module>
    wi = indicator_weather()
  File "/usr/bin/indicator-weather", line 1585, in __init__
    self.places = json.loads(self.places)
  File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

Problem solved when reset the key to default value in dconf-editor : apps > indicatos > weathers

ProblemType: Crash
DistroRelease: elementary OS 0.2
Package: indicator-weather 13.05.28.1 [origin: LP-PPA-weather-indicator-team]
ProcVersionSignature: Ubuntu 3.2.0-45.70-generic 3.2.44
Uname: Linux 3.2.0-45-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.2+elementary3~precise1
Architecture: amd64
CrashCounter: 1
CrashDB: indicator_weather
Date: Fri Jun 14 00:06:37 2013
ExecutablePath: /usr/bin/indicator-weather
InstallationMedia: elementary OS 0.2 "Luna" - Beta 2 amd64 (20130506)
InterpreterPath: /usr/bin/python2.7
MarkForUpload: True
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/indicator-weather
ProcEnviron:
 PATH=(custom, no user)
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/indicator-weather']
SourcePackage: indicator-weather
ThirdParty: True
Title: indicator-weather crashed with ValueError in raw_decode(): No JSON object could be decoded
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
Julien (m-postmaster-lyokoweb-fr) wrote :
information type: Private → Public
Revision history for this message
Joshua Tasker (jtasker) wrote :

A temporary workaround is to run this script to manually update the database to the newer format.
https://launchpad.net/weather-indicator/2.0/13.05.28/+download/upgrade-weather-indicator.py

Alternately, you can get the latest unstable version, which does this automatically.
https://launchpad.net/~weather-indicator-team/+archive/unstable

Changed in weather-indicator:
importance: Undecided → High
assignee: nobody → Joshua Tasker (jtasker)
milestone: none → 13.05.29
status: New → Fix Committed
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.