You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could be a noobish question, but iḿ trying to implement this plugin on a docker-compose Zabbix deploy, made all dockerfile modifications for installing python 3.7 inside the container, as official zabbix server image comes with ubuntu 20.04, there is no way of using python27 (the python version i was using on my old raspberry pi install).
How can i execute those scripts with python 3.7?
Getting this with pyrhon 3.7:
File "/usr/lib/zabbix/alertscripts/zbxtg.py", line 307
file_img = "{0}/{1}.png".format(self.tmp_dir,
^
TabError: inconsistent use of tabs and spaces in indentation
I have both version on my old pi and it works fine with 2.7, having the same issue if i invoke the script with python 3.7 binary.
Thanks in advance :)
The text was updated successfully, but these errors were encountered:
Could be a noobish question, but iḿ trying to implement this plugin on a docker-compose Zabbix deploy, made all dockerfile modifications for installing python 3.7 inside the container, as official zabbix server image comes with ubuntu 20.04, there is no way of using python27 (the python version i was using on my old raspberry pi install).
How can i execute those scripts with python 3.7?
Getting this with pyrhon 3.7:
File "/usr/lib/zabbix/alertscripts/zbxtg.py", line 307
file_img = "{0}/{1}.png".format(self.tmp_dir,
^
TabError: inconsistent use of tabs and spaces in indentation
I have both version on my old pi and it works fine with 2.7, having the same issue if i invoke the script with python 3.7 binary.
Thanks in advance :)
The text was updated successfully, but these errors were encountered: