Opened 8 years ago

#4636 new defect

Weather don't work on emulator

Reported by: AlanJAS Owned by:
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: activities.sugarlabs.org Version: Unspecified
Severity: Unspecified Keywords:
Cc: Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

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

Change History (0)

Note: See TracTickets for help on using tickets.