I have a werid issue with a Python script. I already asked the developer of that script, unfortunately he did not gave any helpful answer besides telling me that it "should work fine".
The script is this one and is also importing this one.
When I try to use it (filled my data in) it runs for a sec and then:
-> postArgs['timestamp'] = self.timestamp()
Traceback (most recent call last):
File "nginx_stubstatus.py", line 139, in <module>
File "/opt/monitis_nginx_monitoring/sdk/monitisserver.py", line 129, in addResult
monitorId = self.requestMonitorId(monitorTag)
File "/opt/monitis_nginx_monitoring/sdk/monitisserver.py", line 40, in requestMonitorId
AttributeError: 'NoneType' object has no attribute 'text'
Line 83 of monitisserver.py:
import pdb; pdb.set_trace().
This causes python to break into the debugger (pdb) on this line.
Tell the maintainer about this. This should not be in production code without any condition (i.e debug mode)