Sonarr version (exact version):
3.0.1.527
Mono version (if Sonarr is not running on Windows):
5.20.1.19
OS:
macOS 10.14.5
Description of issue:
I’m trying to configure the sickbeard_mp4_automator script with Sonarr v3. The scripts perfectly with Sonarr version 2, but fails with a “Script exited with code: 1” in Sonarr v3.
19-7-5 13:34:53.4|Debug|postSonarr.py|Starting /Users/USER/Scripts/sickbeard_mp4_automator/postSonarr.py
19-7-5 13:34:53.5|Error|postSonarr.py|Traceback (most recent call last):
19-7-5 13:34:53.5|Error|postSonarr.py| File "/Users/USER/Scripts/sickbeard_mp4_automator/postSonarr.py", line 5, in <module>
19-7-5 13:34:53.5|Error|postSonarr.py| import requests
19-7-5 13:34:53.5|Error|postSonarr.py|ImportError: No module named requests
19-7-5 13:34:53.5|Debug|CustomScript|Executed external script: /Users/USER/Scripts/sickbeard_mp4_automator/postSonarr.py - Status: 1
19-7-5 13:34:53.5|Debug|CustomScript|Script Output:
7/5/2019 8:34:53 PM - Error - Traceback (most recent call last):
7/5/2019 8:34:53 PM - Error - File "/Users/USER/Scripts/sickbeard_mp4_automator/postSonarr.py", line 5, in <module>
7/5/2019 8:34:53 PM - Error - import requests
7/5/2019 8:34:53 PM - Error - ImportError: No module named requests
19-7-5 13:34:53.6|Warn|SonarrErrorPipeline|Invalid request Validation failed:
-- Script exited with code: 1
19-7-5 13:34:53.6|Debug|Api|[POST] /api/v3/notification/test: 400.BadRequest (228 ms)
I’ve confirmed that python is working correctly and that the requests module is installed properly. And as I said, the script works fine in Sonarr v2. Any ideas or clues as to what’s wrong?