November 25, 201312 yr Hi guys, Very much new at this, as you will probably be able to tell. I'm using unraid 5.0 btw. I'm trying to run a python pkg or application on unraid. I did get it to work for a little while, but now I can't get it to work at all. Ok here is what I did. Via telnet I installed the the Sickbeard TPB version with the following: cd /mnt/cache/appdata/ git clone https://github.com/mr-orange/Sick-Beard.git Then I installed the python-cheetah pkg with the following: wget http://connie.slackware.com/~alien/slackbuilds/python-cheetah/pkg/13.37/python-cheetah-2.4.4-i486-1alien.tgz installpkg python-cheetah-2.4.4-i486-1alien.tgz Then I ran the pkg with, /usr/bin/python /mnt/cache/appdata/Sick-Beard/SickBeard.py -d -p 8084 It worked perfectly, I was able to set up sickbeard to grab torrents and send them to transmissions to download. However it wouldn't persist through reboot, I had to re-run the wget python-cheetah and installpkg again to get sickbeard TPB to work. That when I tryed to added this to the end of my Go script. while ! test -d /mnt/disk1;do sleep 5;done;sleep 10 /usr/bin/python /mnt/cache/appdata/Sick-Beard/SickBeard.py -d -p 8040 I thought that didn't work because the python-cheetah pkg wasn't installed. Then I noticed that unmenu had a python-cheetah pkg, it's pkg python-cheetah-2.4.2 however and the one i was installing previously is python-cheetah-2.4.4. I thought that with each reboot the package needs to be re-installed, so i didn't think it would matter if the other was a previous version. This is incorrect isn't it? When i tired to install the unmenu pkg i saw this error "Installed, but version is different. Current version='sh: /usr/bin/cheetah: /usr/bin/python: bad interpreter: No such file or directory' expected '2.4.2.1''", and now i can't get sickbeard TPB to run at all. When I run this, as I did previously wget http://connie.slackware.com/~alien/slackbuilds/python-cheetah/pkg/13.37/python-cheetah-2.4.4-i486-1alien.tgz installpkg python-cheetah-2.4.4-i486-1alien.tgz It seems to install correctly, however when I ran "/usr/bin/python /mnt/cache/appdata/Sick-Beard/SickBeard.py" or "python /mnt/cache/appdata/Sick-Beard/SickBeard.py", I got "no such file or directory". If anyone has any idea what would work I would be really appreciated it.
November 30, 201312 yr Author So I figured out my problem, as with seemingly all my unraid issues it was down to user error. I was mistaken to think that the "python-cheetah-2.4.4-i486-1alien.tgz" installed both python and cheetah, and the reason it was previously stopped working was because I uninstalled influencers couchpotato_V2 plugin, which was the the only plugin of his I use which was installing python 2.6.6. Since I re-installed couchpotato, added "python-cheetah-2.4.4-i486-1alien.tgz" to the /boot/packages folder of my unraid flash drive, and added the following to my go script everything is working as intended. # determine if cache drive online, retry upto 7 times for i in 0 1 2 3 4 5 6 7 do if [ ! -d /mnt/cache ] then sleep 15 fi done # If Cache drive is online, install python-cheetah and start Sickbeard TPB if [ -d /mnt/cache ]; then cd /mnt/cache/appdata installpkg /boot/packages/python-cheetah-2.4.4-i486-1alien.tgz python /mnt/cache/appdata/Sick-Beard/SickBeard.py -d -p 8084 fi I'm not exactly sure if that is the best way to do it (comment more then welcome), but it is working so for the time being I will just leave it as is.
Archived
This topic is now archived and is closed to further replies.