zabbix-cachet icon indicating copy to clipboard operation
zabbix-cachet copied to clipboard

(MainThread) list indices must be integers or slices, not str

Open thyspir opened this issue 5 years ago • 1 comments

I got error "(MainThread) list indices must be integers or slices, not str" when use ./zabbix-cachet.py .

root@cachetindo:/var/www/html/integrator/zabbix-cachet# ./zabbix-cachet.py 
2019-08-01 07:40:10 WIB INFO: (MainThread) Zabbix Cachet v.1.3.6 started
2019-08-01 07:40:10 WIB INFO: (MainThread) JSON-RPC Server Endpoint: https://zabbix.wowrack.com/zabbix/api_jsonrpc.php
/usr/lib/python3/dist-packages/urllib3/connectionpool.py:794: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
  InsecureRequestWarning)
2019-08-01 07:40:11 WIB INFO: (MainThread) Zabbix ver: 3.2.11. Cachet ver: 2.3.14-dev
2019-08-01 07:40:12 WIB ERROR: (MainThread) list indices must be integers or slices, not str

I have cloned the script twice and still get same error. Could you let me know how to fix this error? Thank you

thyspir avatar Aug 01 '19 01:08 thyspir

same here.

sysmso avatar Aug 25 '20 09:08 sysmso