blacktwin / JBOPS

Just a Bunch Of Plex Scripts
1.66k stars 308 forks source link

[process exited with code 1 (0x00000001)] #345

Closed Spaatz1402 closed 2 years ago

Spaatz1402 commented 2 years ago

Hi there,

I configured Tautulli to use Killstream and set up a time block for my son between 2300 and 0900 for his specific UserID. The arguments I setup for play any resume are as follows:

--jbop stream --username {username} --sessionId {session_id} --killMessage '{server_name} is unavailable between 11PM and 9AM.'

When his ID plays or resumes, the script fires and I get a visible command prompt window that appears stating:

[process exited with code 1 (0x00000001)]

The stream does not terminate and I can't figure out exactly why. I have Python 310 running in my path variables and don't have any issues elsewhere with Python. I know this script hasn't been updated in two years, any chance its a script issue?

Spaatz1402 commented 2 years ago

Ran --debug on an argument and got this in the log:

Tautulli Notifiers :: Script error: Traceback (most recent call last): File "C:\Users\XXXX\AppData\Local\Tautulli\scripts\killstream\kill_stream.py", line 60, in from requests import Session ModuleNotFoundError: No module named 'requests'