Page 1 of 1

python2 not found

Posted: Tue Jul 01, 2014 5:20 am
by ho66es
After update to latest release of ADM I noticed that downloaded shows didn't make it in to sickbeard, a look at logs showed what appeared to be a python issue

Code: Select all

DeleteSamples: env: can't execute 'python2': No such file or directory
I looked for python 2 but unable to find it, I tried changing the first line of the relevant scripts from

Code: Select all

#!/usr/bin/env python2
to

Code: Select all

#!/usr/bin/env python
re processed from nzbget and it all worked fine. So I guess something got broken in the update in respect of pythons, should I try uninstall and reinstall, or is there something I could simply link or edit?

Re: python2 not found

Posted: Tue Jul 01, 2014 5:57 am
by clinton.hall
No.. The change was in my nzbToMedia scripts.... These changed from python to python2 since many other systems are coming with python default being python3.
This only impacts the dev branch of my scripts and not the master... I have submitted an nzbget (and SABnzbd) app update to app Central. These both link python2 to python2.7 (usually all should exist, python, python2 and python2.7).

Anyway, next update should fix it... I'll try and post the link here shortly so that you can manually install. I was hoping to have the update out before I merged my scripts to master.... But clearly you are running dev ;)

Re: python2 not found

Posted: Tue Jul 01, 2014 6:20 am
by ho66es
no probs, its working again for now :)