我在这里有这些代码http://pastebin.com/YHpZQ9Z9
随机间隔几次后,错误弹出,我无法调试导致问题的原因,任何专业人士可以帮助我吗?
我遇到这些错误:
回溯(最近一次通话最后):
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)