[Bugs] #4636 activities.sugarlabs.org UNSP: Weather don't work on emulator

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Mon Oct 7 17:09:46 EDT 2013


#4636: Weather don't work on emulator
---------------------------------------------+--------------------------
       Reporter:  AlanJAS                    |       Owner:
           Type:  defect                     |      Status:  new
       Priority:  Unspecified by Maintainer  |   Milestone:  Unspecified
      Component:  activities.sugarlabs.org   |     Version:  Unspecified
       Severity:  Unspecified                |    Keywords:
Distribution/OS:  Unspecified                |  Bug Status:  Unconfirmed
---------------------------------------------+--------------------------
\
\
 When I try to use the activity I get this:

 Traceback (most recent call last):
   File "/home/broot/sugar-build/activities/Weather.activity/weather.py",
 line 282, in download_complete
     if self.read_file(file_path)['cod'] == '200':
   File "/home/broot/sugar-build/activities/Weather.activity/weather.py",
 line 242, in read_file
     dict = json.loads(text)
   File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
     return _default_decoder.decode(s)
   File "/usr/lib/python2.7/json/decoder.py", line 365, in decode
     obj, end = self.raw_decode(s, idx=_w(s, 0).end())
   File "/usr/lib/python2.7/json/decoder.py", line 383, in raw_decode
     raise ValueError("No JSON object could be decoded")
 ValueError: No JSON object could be decoded
\
\
\

--
Ticket URL: <http://bugs.sugarlabs.org/ticket/4636>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list