blacktwin / JBOPS

Just a Bunch Of Plex Scripts
1.71k stars 304 forks source link

Tautulli Notifiers :: Failed to run script: [Errno 2] No such file or directory: 'python' #232

Closed coolcat97 closed 4 years ago

coolcat97 commented 4 years ago

I'm getting this on docker setup

06 05:30:07 - DEBUG :: Thread-1 : Tautulli Notifiers :: Trying to run notify script, action: resume, arguments: ['--jbop', 'stream', '--username', 'testing', '--sessionId', '0617ob0pnojqcejcea247ne2', '--killMessage', 'Transcoding streams are not allowed.']

2020-07-06 05:30:07 - DEBUG :: Thread-1 : Tautulli Notifiers :: Full script is: ['python', '/config/scripts/kill_stream.py', '--jbop', 'stream', '--username', 'testing', '--sessionId', '0617ob0pnojqcejcea247ne2', '--killMessage', 'Transcoding streams are not allowed.']

2020-07-06 05:30:07 - DEBUG :: Thread-1 : Tautulli Notifiers :: Executing script in a new thread.

2020-07-06 05:30:07 - ERROR :: Thread-15 : Tautulli Notifiers :: Failed to run script: [Errno 2] No such file or directory: 'python'
coolcat97 commented 4 years ago

Full log:

https://gist.github.com/coolcat97/66f922a7cd4fe1fcd313a9d0e8d4539d

Arcanemagus commented 4 years ago

Our official container shouldn't be giving you this issue. It looks like the linuxserver container only has a python3 executable so you would need to override the executable name if you are going to use their container.

coolcat97 commented 4 years ago

Thanks! Your official image works great!