Startup Failure After Upgrade - requires Python module Cheetah 2.0rc7 or higher

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
User avatar
silkie
Newbie
Newbie
Posts: 6
Joined: February 4th, 2009, 3:36 am
Location: Sevenoaks, UK
Contact:

Startup Failure After Upgrade - requires Python module Cheetah 2.0rc7 or higher

Post by silkie »

Guys,

Looking through your forums your a friendly bunch so I thought I'd try my luck asking for help up here.

Running FreeBSD 7.0. Recently upgraded my ports catalog. "Recursive using portupgrade"

Now I get "Sorry, requires Python module Cheetah 2.0rc7 or higher." when I issue my normal start up command.

I've been running SABnzbd+ for years and love it so I hope you can help me fix.

I was running 0.4.6 fine for about a month so think this is a Python environment error.

Reading through previous posts I hope this information is useful

# python
Python 2.5.2 (r252:60911, Feb  2 2009, 19:23:09)
[GCC 4.2.1 20070719  [FreeBSD]] on freebsd7
Type "help", "copyright", "credits" or "license" for more information.
>>> import Cheetah
Traceback (most recent call last):
  File "", line 1, in
ImportError: No module named Cheetah
>>> Cheetah.Version
Traceback (most recent call last):
  File "", line 1, in
NameError: name 'Cheetah' is not defined
>>>

HOWEVER: -

BSSS# pkg_version -v | grep -i sab
sabnzbdplus-0.4.6                  =  up-to-date with port
BSSS# pkg_version -v | grep -i py
py25-cElementTree-1.0.5_1          =  up-to-date with port
py25-cairo-1.8.2                    =  up-to-date with port
py25-chardet-1.0.1                  =  up-to-date with port
py25-cheetah-2.0.1                  =  up-to-date with port
py25-cherrypy-old-2.3.0,1          =  up-to-date with port
py25-dbus-0.83.0_1                  =  up-to-date with port
py25-elementtree-1.2.6              =  up-to-date with port
py25-feedparser-4.1_2              =  up-to-date with port
py25-gnome-2.22.3                  =  up-to-date with port
py25-gobject-2.16.0                =  up-to-date with port
py25-gtk-2.13.0_1                  =  up-to-date with port
py25-libxml2-2.7.2                  =  up-to-date with port
py25-numeric-24.2_3                =  up-to-date with port
py25-openssl-0.8                    =  up-to-date with port
py25-orbit-2.24.0                  =  up-to-date with port
py25-setuptools-0.6c9              =  up-to-date with port
py25-utils-0.3.0                    =  up-to-date with port
py25-xml-0.8.4                      =  up-to-date with port
python25-2.5.2_3                    =  up-to-date with port
qt-copy-3.3.8_9                    =  up-to-date with port
xdpyinfo-1.0.2                      <  needs updating (port has 1.0.3)

Take it easy peeps.... hope you can help.

Jon
FreeBSD 7.2-RELEASE GENERIC  i386
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Startup Failure After Upgrade - requires Python module Cheetah 2.0rc7 or higher

Post by shypike »

Your Python check says it all.
Cheetah isn't installed properly or not at all.
Blame the package maintainer.

You can install it manually, it's quite portable.

# cheetah-2.0.1
wget http://mesh.dl.sourceforge.net/sourcefo ... 0.1.tar.gz
tar zxf Cheetah-2.0.1.tar.gz
cd Cheetah-2.0.1
sudo python setup.py install
cd

You do need to have GCC and Python-Dev support installed.
User avatar
silkie
Newbie
Newbie
Posts: 6
Joined: February 4th, 2009, 3:36 am
Location: Sevenoaks, UK
Contact:

Re: Startup Failure After Upgrade - requires Python module Cheetah 2.0rc7 or higher

Post by silkie »

shypike - It worked perfectly! Can I have your babies!!!  ;D

Back to the awesome downloading.......

Contribution on it's way. This app is brilliant.

Thanks,
Jon
FreeBSD 7.2-RELEASE GENERIC  i386
ghostcorps
Newbie
Newbie
Posts: 47
Joined: September 10th, 2009, 6:39 pm

Re: Startup Failure After Upgrade - requires Python module C

Post by ghostcorps »

Hi Guys,

I had the same problem but rather than manually installing py27-cheetah I used #portmaster py27-cheetah which also worked and in my case is alot neater as I prefer to use portmaster to manage my ports if I have a choice.

Thanks for putting me on the right track. :)
Post Reply