Here is the log, but it looks like it is running python from the /python dir, not the /python34 dir:
7/9/2020 5:11:03 PM Script File: prtg_twilio.py
7/9/2020 5:11:03 PM Script Parameters: {"tlsexplicit_pop3":"","fastcount":"0","esxpassword":"","hostv6":"","blockedsens":"","secretaccesskeyid":"","tlsexplicit_default":"","isexesensor":"0","windowsloginpassword":"","privatekey":"","secret":"","resttoken":"","reboot":"44020.7072764931","pop3password":"","pythonscript":"prtg_twilio.py","tlsexplicit_port":"","inerror":"1","smspassword":"","params":"","host":"www.twilio.com","mailpassword":"","tlsexplicit_ftp":"","timeout":"299","elevationpass":"","momopersistent":"","notonpod":"0","linuxloginpassword":"","smtppassword2":"","smtppassword":"","lastuptime":"0","writeresult":"1","reqmsginterval":"300","socksproxypass":"","prtg_linuxpassword":"","tlsexplicit_imap":"","sshelevationpass":"","uptimecount":"0","canlinux":"0","proxypassword":"","proxypass":"","mutexname":"","snmpencpass":"","authuserpwd":"","usednstime":"0","restpassword":"","httppassword":"","addomainpass":"","authtoken":"","oauthrefreshtoken":"","evapassword":"","oauthtoken":"","snmpcommv1":"","sensorid":"7374","ipversion":"0","accesskey":"","xmlhttppassword":"","tlsexplicit_smtp":"","password":"","snmpcommv2":"","snmpauthpass":"","awssk":"","dbpassword":"","pingdompassword":"","prtg_windowspassword":"","usewindowsauthentication":"0","simulate":"0","lastmsg":"#Y2 Structural error in xml file, 3 open items. @#O231[Invalid JSON.]","imappassword":"","ftppassword":""}
7/9/2020 5:11:03 PM Script Parameters (escaped): {\"tlsexplicit_pop3\":\"\",\"fastcount\":\"0\",\"esxpassword\":\"\",\"hostv6\":\"\",\"blockedsens\":\"\",\"secretaccesskeyid\":\"\",\"tlsexplicit_default\":\"\",\"isexesensor\":\"0\",\"windowsloginpassword\":\"\",\"privatekey\":\"\",\"secret\":\"\",\"resttoken\":\"\",\"reboot\":\"44020.7072764931\",\"pop3password\":\"\",\"pythonscript\":\"prtg_twilio.py\",\"tlsexplicit_port\":\"\",\"inerror\":\"1\",\"smspassword\":\"\",\"params\":\"\",\"host\":\"www.twilio.com\",\"mailpassword\":\"\",\"tlsexplicit_ftp\":\"\",\"timeout\":\"299\",\"elevationpass\":\"\",\"momopersistent\":\"\",\"notonpod\":\"0\",\"linuxloginpassword\":\"\",\"smtppassword2\":\"\",\"smtppassword\":\"\",\"lastuptime\":\"0\",\"writeresult\":\"1\",\"reqmsginterval\":\"300\",\"socksproxypass\":\"\",\"prtg_linuxpassword\":\"\",\"tlsexplicit_imap\":\"\",\"sshelevationpass\":\"\",\"uptimecount\":\"0\",\"canlinux\":\"0\",\"proxypassword\":\"\",\"proxypass\":\"\",\"mutexname\":\"\",\"snmpencpass\":\"\",\"authuserpwd\":\"\",\"usednstime\":\"0\",\"restpassword\":\"\",\"httppassword\":\"\",\"addomainpass\":\"\",\"authtoken\":\"\",\"oauthrefreshtoken\":\"\",\"evapassword\":\"\",\"oauthtoken\":\"\",\"snmpcommv1\":\"\",\"sensorid\":\"7374\",\"ipversion\":\"0\",\"accesskey\":\"\",\"xmlhttppassword\":\"\",\"tlsexplicit_smtp\":\"\",\"password\":\"\",\"snmpcommv2\":\"\",\"snmpauthpass\":\"\",\"awssk\":\"\",\"dbpassword\":\"\",\"pingdompassword\":\"\",\"prtg_windowspassword\":\"\",\"usewindowsauthentication\":\"0\",\"simulate\":\"0\",\"lastmsg\":\"#Y2 Structural error in xml file, 3 open items. @#O231[Invalid JSON.]\",\"imappassword\":\"\",\"ftppassword\":\"\"}
7/9/2020 5:11:03 PM Script Path: C:\Program Files (x86)\PRTG Network Monitor\custom sensors\python\prtg_twilio.py
7/9/2020 5:11:03 PM Command Line: "C:\Program Files (x86)\PRTG Network Monitor\python\python.exe" -E "C:\Program Files (x86)\PRTG Network Monitor\custom sensors\python\prtg_twilio.py" "{\"tlsexplicit_pop3\":\"\",\"fastcount\":\"0\",\"esxpassword\":\"\",\"hostv6\":\"\",\"blockedsens\":\"\",\"secretaccesskeyid\":\"\",\"tlsexplicit_default\":\"\",\"isexesensor\":\"0\",\"windowsloginpassword\":\"\",\"privatekey\":\"\",\"secret\":\"\",\"resttoken\":\"\",\"reboot\":\"44020.7072764931\",\"pop3password\":\"\",\"pythonscript\":\"prtg_twilio.py\",\"tlsexplicit_port\":\"\",\"inerror\":\"1\",\"smspassword\":\"\",\"params\":\"\",\"host\":\"www.twilio.com\",\"mailpassword\":\"\",\"tlsexplicit_ftp\":\"\",\"timeout\":\"299\",\"elevationpass\":\"\",\"momopersistent\":\"\",\"notonpod\":\"0\",\"linuxloginpassword\":\"\",\"smtppassword2\":\"\",\"smtppassword\":\"\",\"lastuptime\":\"0\",\"writeresult\":\"1\",\"reqmsginterval\":\"300\",\"socksproxypass\":\"\",\"prtg_linuxpassword\":\"\",\"tlsexplicit_imap\":\"\",\"sshelevationpass\":\"\",\"uptimecount\":\"0\",\"canlinux\":\"0\",\"proxypassword\":\"\",\"proxypass\":\"\",\"mutexname\":\"\",\"snmpencpass\":\"\",\"authuserpwd\":\"\",\"usednstime\":\"0\",\"restpassword\":\"\",\"httppassword\":\"\",\"addomainpass\":\"\",\"authtoken\":\"\",\"oauthrefreshtoken\":\"\",\"evapassword\":\"\",\"oauthtoken\":\"\",\"snmpcommv1\":\"\",\"sensorid\":\"7374\",\"ipversion\":\"0\",\"accesskey\":\"\",\"xmlhttppassword\":\"\",\"tlsexplicit_smtp\":\"\",\"password\":\"\",\"snmpcommv2\":\"\",\"snmpauthpass\":\"\",\"awssk\":\"\",\"dbpassword\":\"\",\"pingdompassword\":\"\",\"prtg_windowspassword\":\"\",\"usewindowsauthentication\":\"0\",\"simulate\":\"0\",\"lastmsg\":\"#Y2 Structural error in xml file, 3 open items. @#O231[Invalid JSON.]\",\"imappassword\":\"\",\"ftppassword\":\"\"}"
7/9/2020 5:11:03 PM Script Output (OEMCP Encoding): Traceback (most recent call last):[CR][LF] File "C:\Program Files (x86)\PRTG Network Monitor\custom sensors\python\prtg_twilio.py", line 5, in <module>[CR][LF] from twilio.rest import Client[CR][LF] File "C:\Program Files (x86)\PRTG Network Monitor\python\lib\twilio\rest\__init__.py", line 18, in <module>[CR][LF] from twilio.http.http_client import TwilioHttpClient[CR][LF] File "C:\Program Files (x86)\PRTG Network Monitor\python\lib\twilio\http\http_client.py", line 1, in <module>[CR][LF] from requests import Request, Session, hooks[CR][LF]ModuleNotFoundError: No module named 'requests'[CR][LF]
7/9/2020 5:11:03 PM Exit Code: 1
7/9/2020 5:11:03 PM RawStream Size: 565
7/9/2020 5:11:03 PM OutputStream Size: 565
7/9/2020 5:11:03 PM Script Output (UTF8 Encoding): Traceback (most recent call last):[CR][LF] File "C:\Program Files (x86)\PRTG Network Monitor\custom sensors\python\prtg_twilio.py", line 5, in <module>[CR][LF] from twilio.rest import Client[CR][LF] File "C:\Program Files (x86)\PRTG Network Monitor\python\lib\twilio\rest\__init__.py", line 18, in <module>[CR][LF] from twilio.http.http_client import TwilioHttpClient[CR][LF] File "C:\Program Files (x86)\PRTG Network Monitor\python\lib\twilio\http\http_client.py", line 1, in <module>[CR][LF] from requests import Request, Session, hooks[CR][LF]ModuleNotFoundError: No module named 'requests'[CR][LF]
Add comment