SABnzbd-0.4.12 not working after trying 0.5.2

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
ghostcorps
Newbie
Newbie
Posts: 47
Joined: September 10th, 2009, 6:39 pm

SABnzbd-0.4.12 not working after trying 0.5.2

Post 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
Version: 0.4.12_2
OS: FreeBSD 7.0 Rel
Install-type: Install from Ports
Firewall: On router
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: SABnzbd-0.4.12 not working after trying 0.5.2

Post by shypike »

Did you somehow mix modules from both versions?
Remove SABnzbd completely before installing it again.
ghostcorps
Newbie
Newbie
Posts: 47
Joined: September 10th, 2009, 6:39 pm

Re: SABnzbd-0.4.12 not working after trying 0.5.2

Post 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?
Last edited by ghostcorps on June 20th, 2010, 8:21 pm, edited 1 time in total.
Version: 0.4.12_2
OS: FreeBSD 7.0 Rel
Install-type: Install from Ports
Firewall: On router
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: SABnzbd-0.4.12 not working after trying 0.5.2

Post 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.
ghostcorps
Newbie
Newbie
Posts: 47
Joined: September 10th, 2009, 6:39 pm

Re: SABnzbd-0.4.12 not working after trying 0.5.2

Post 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?
Version: 0.4.12_2
OS: FreeBSD 7.0 Rel
Install-type: Install from Ports
Firewall: On router
ghostcorps
Newbie
Newbie
Posts: 47
Joined: September 10th, 2009, 6:39 pm

Re: SABnzbd-0.4.12 not working after trying 0.5.2

Post 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
Version: 0.4.12_2
OS: FreeBSD 7.0 Rel
Install-type: Install from Ports
Firewall: On router
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: SABnzbd-0.4.12 not working after trying 0.5.2

Post 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.
Post Reply