Page 1 of 1
SABnzbd-0.4.12 not working after trying 0.5.2
Posted: June 19th, 2010, 4:23 am
by ghostcorps
Hi Guys,
I have tried to install 0.5.2 on my Freebsd machine with no luck. I have not given up but I figure I should re-enable my old installation in the mean-time. However, with 0.4.12 I get the following error:
Code: Select all
#SABnzbd.py -d
Sorry, requires Python module Cheetah 2.0rc7 or higher.
Which is odd because 0.5.2, while still failing, gets further than the Cheetah check.
As soon as 5.0.2 didn't work, I reinstalled 0.4.12 and this error came up, so I moved ahead with the upgrade to 0.5.2. I have since gotten frustrated enough with the upgrade that I am happy to move back for the time being, but now I'm stuck with neither!
What would have been changed from simply running the startup script?
Thanks guys
Re: SABnzbd-0.4.12 not working after trying 0.5.2
Posted: June 19th, 2010, 6:09 am
by shypike
Did you somehow mix modules from both versions?
Remove SABnzbd completely before installing it again.
Re: SABnzbd-0.4.12 not working after trying 0.5.2
Posted: June 19th, 2010, 10:23 pm
by ghostcorps
Thanks
I'm not sure how they could have mixed modules as I needed to use entirely different installation methods for the different versions. Regarding uninstalation, i only really have one option...
I installed 0.4.12 through the Freebsd ports system by running 'make install clean' in the ports folder and I uninstall it with 'make deinstall clean'.
As 0.5.2 is not in the Freebsd 7.0 Stable port tree, I downloaded the source and installed it as per the readme, with a couple path changes to bring it in line with the directory structure in Freebsd: I use /usr/bin instead of /usr/local/bin and /usr/src instead of /usr/bin/src.
Perhaps I am taking a 'too simplistic' approach?
Re: SABnzbd-0.4.12 not working after trying 0.5.2
Posted: June 20th, 2010, 1:54 pm
by shypike
You need to preserve the directory structure.
Especially, do not move SABnzbd.py to another location.
The best way is to unpack the tar.gz file into a folder in /usr/bin/src.
If you want to have it in the path, create a simple script in /usr/bin.
Re: SABnzbd-0.4.12 not working after trying 0.5.2
Posted: June 20th, 2010, 8:18 pm
by ghostcorps
Thanks,
But thats just it, there is no directory '/usr/bin/src' in Freebsd it is just '/usr/src'. What if I just make a new directory '/usr/bin/src' and symlink the directory SABnzbd into it?
Re: SABnzbd-0.4.12 not working after trying 0.5.2
Posted: June 20th, 2010, 8:35 pm
by ghostcorps
Nevermind... I've decided it's time to upgrade to Freebsd 8.0, hopefully I will have more luck with that.
Thanks for your time so far.
Be well
Re: SABnzbd-0.4.12 not working after trying 0.5.2
Posted: June 21st, 2010, 5:24 am
by shypike
You can put the SABnzbd folder anywhere.
The essential part is to preserve the sub-folder structure.
Using a symlink to SABnzbd.py will not work, because the program
will think it is in the wrong location.
You need to use a wrapper script.