-
Notifications
You must be signed in to change notification settings - Fork 234
Description
When run in debug mode, this error is displayed
Traceback (most recent call last):
File "./zbxtg.py", line 398, in
main()
File "./zbxtg.py", line 295, in main
print_message(tg.get_me())
File "./zbxtg.py", line 35, in get_me
me = self.http_get(url)
File "./zbxtg.py", line 21, in http_get
answer_json = json.loads(answer)
File "/usr/lib64/python2.7/json/init.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/lib64/python2.7/json/decoder.py", line 365, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib64/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
According the google, can be the encoding from JSON, using Zabbix 3.0.1
Python 2.7