{"action":"created","issue":{"url":"https://api.github.com/repos/Prototype-X/Zabbix-Network-Weathermap/issues/9","repository_url":"https://api.github.com/repos/Prototype-X/Zabbix-Network-Weathermap","labels_url":"https://api.github.com/repos/Prototype-X/Zabbix-Network-Weathermap/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/Prototype-X/Zabbix-Network-Weathermap/issues/9/comments","events_url":"https://api.github.com/repos/Prototype-X/Zabbix-Network-Weathermap/issues/9/events","html_url":"https://github.com/Prototype-X/Zabbix-Network-Weathermap/issues/9","id":189957174,"number":9,"title":"config issues on Create file with map configuration","user":{"login":"crazychengmm","id":23517542,"avatar_url":"https://avatars.githubusercontent.com/u/23517542?v=3","gravatar_id":"","url":"https://api.github.com/users/crazychengmm","html_url":"https://github.com/crazychengmm","followers_url":"https://api.github.com/users/crazychengmm/followers","following_url":"https://api.github.com/users/crazychengmm/following{/other_user}","gists_url":"https://api.github.com/users/crazychengmm/gists{/gist_id}","starred_url":"https://api.github.com/users/crazychengmm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crazychengmm/subscriptions","organizations_url":"https://api.github.com/users/crazychengmm/orgs","repos_url":"https://api.github.com/users/crazychengmm/repos","events_url":"https://api.github.com/users/crazychengmm/events{/privacy}","received_events_url":"https://api.github.com/users/crazychengmm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-17T06:58:12Z","updated_at":"2016-11-17T08:28:54Z","closed_at":null,"body":"Hi i hava stucked on this,can you help me. Thanks\r\n\r\nweathermap.py -s mapname1 mapnameN -z http://zabbix.example.com -l admin -p admin\r\n(has changed the parameta)\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python3.4/dist-packages/pyzabbix/api.py\", line 238, in do_request\r\n    res_json = json.loads(res_str)\r\n  File \"/usr/lib/python3.4/json/__init__.py\", line 318, in loads\r\n    return _default_decoder.decode(s)\r\n  File \"/usr/lib/python3.4/json/decoder.py\", line 343, in decode\r\n    obj, end = self.raw_decode(s, idx=_w(s, 0).end())\r\n  File \"/usr/lib/python3.4/json/decoder.py\", line 361, in raw_decode\r\n    raise ValueError(errmsg(\"Expecting value\", s, err.value)) from None\r\nValueError: Expecting value: line 1 column 1 (char 0)\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"./weathermap.py\", line 121, in <module>\r\n    main()\r\n  File \"./weathermap.py\", line 118, in main\r\n    WeathermapCLI()\r\n  File \"./weathermap.py\", line 55, in __init__\r\n    self._map_scan()\r\n  File \"./weathermap.py\", line 66, in _map_scan\r\n    zbx = ZabbixAgent(self.args.zabbix, self.args.login, self.args.pwd)\r\n  File \"/opt/Zabbix-Network-Weathermap/zabbix.py\", line 23, in __init__\r\n    self.zbx_api = ZabbixAPI(url=url, use_authenticate=False, user=login, password=password)\r\n  File \"/usr/local/lib/python3.4/dist-packages/pyzabbix/api.py\", line 156, in __init__\r\n    self._login(user, password)\r\n  File \"/usr/local/lib/python3.4/dist-packages/pyzabbix/api.py\", line 186, in _login\r\n    self.auth = self.user.login(user=user, password=password)\r\n  File \"/usr/local/lib/python3.4/dist-packages/pyzabbix/api.py\", line 83, in fn\r\n    )['result']\r\n  File \"/usr/local/lib/python3.4/dist-packages/pyzabbix/api.py\", line 240, in do_request\r\n    raise ZabbixAPIException(\"Unable to parse json: %s\" % e.message)\r\nAttributeError: 'ValueError' object has no attribute 'message'\r\n\r\nzabbix:3.2\r\nos:debian 8.5\r\npython:3.4"},"comment":{"url":"https://api.github.com/repos/Prototype-X/Zabbix-Network-Weathermap/issues/comments/261185316","html_url":"https://github.com/Prototype-X/Zabbix-Network-Weathermap/issues/9#issuecomment-261185316","issue_url":"https://api.github.com/repos/Prototype-X/Zabbix-Network-Weathermap/issues/9","id":261185316,"user":{"login":"crazychengmm","id":23517542,"avatar_url":"https://avatars.githubusercontent.com/u/23517542?v=3","gravatar_id":"","url":"https://api.github.com/users/crazychengmm","html_url":"https://github.com/crazychengmm","followers_url":"https://api.github.com/users/crazychengmm/followers","following_url":"https://api.github.com/users/crazychengmm/following{/other_user}","gists_url":"https://api.github.com/users/crazychengmm/gists{/gist_id}","starred_url":"https://api.github.com/users/crazychengmm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crazychengmm/subscriptions","organizations_url":"https://api.github.com/users/crazychengmm/orgs","repos_url":"https://api.github.com/users/crazychengmm/repos","events_url":"https://api.github.com/users/crazychengmm/events{/privacy}","received_events_url":"https://api.github.com/users/crazychengmm/received_events","type":"User","site_admin":false},"created_at":"2016-11-17T08:28:54Z","updated_at":"2016-11-17T08:28:54Z","body":"check  the source, found the url problem, thanks."}}
{"actor":{"display_login":"crazychengmm"}}