I have these code here http://pastebin.com/YHpZQ9Z9
After a few interval randomly, the error pops out and I cannot debug on what is causing the problem, can any professional help me ?
I encounter these error:
Traceback (most recent call last):
run()
weather_Connection(intervalone)
response = get_response(conn, url)
return json.loads(data)
return _default_decoder.decode(s)
obj, end = self.raw_decode(s)
return self.scan_once(s, idx=_w(s, idx).end())
return _scan_once(string, idx)
raise JSONDecodeError(errmsg, string, idx)
simplejson.scanner.JSONDecodeError: Expecting value: line 1 column 1 (char 0)