Cannot install sabnzbd because of missing cheetah | NSLU2 | unslung

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
Verband
Release Testers
Release Testers
Posts: 21
Joined: August 26th, 2008, 5:03 pm

Cannot install sabnzbd because of missing cheetah | NSLU2 | unslung

Post by Verband »

Hi,

I am trying to install sabnzbd on an NSLU2 with unslung 6.10 Beta running on it.
When I am trying to make it run via python SABnzbd.py i get:

Sorry, requires Python module Cheetah 2.0rc7 or higher.

I entered b4

ipkg update
ipkg install coreutils
ipkg install python
ipkg install py24-cheetah
ipkg install py24-cherrypy
ipkg install py24-elementtree
ipkg install py24-celementtree
ipkg install py24-yenc
ipkg install unrar
ipkg install unzip
ipkg install par2cmdline
ipkg install perl

Thus, it should be installed. Anyways, when trying to import cheetah into python I get:

>>> import cheetah
Traceback (most recent call last):
  File "", line 1, in
ImportError: No module named cheetah

I get the same with cherrypy btw, havent yet tried the other packages. Can anyone tell me what I did wrong so python can't get that stuff importet ?

Thanks 4 help.
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: Cannot install sabnzbd because of missing cheetah | NSLU2 | unslung

Post by switch »

Type "python" into your shell, what version does it say is running?

Try typing "python2.4" into your shell then trying import cheetah
Verband
Release Testers
Release Testers
Posts: 21
Joined: August 26th, 2008, 5:03 pm

Re: Cannot install sabnzbd because of missing cheetah | NSLU2 | unslung

Post by Verband »

Gives me

# python
Python 2.5.2 (r252:60911, Feb 26 2008, 19:39:13)
[GCC 3.3.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>


# python2.4
Python 2.4.5 (#1, Mar 12 2008, 20:24:46)
[GCC 3.3.5] on linux2
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
>>>
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: Cannot install sabnzbd because of missing cheetah | NSLU2 | unslung

Post by switch »

Sorry, forgot a capital letter, try:

Code: Select all

python2.4
import Cheetah
If that works, run sabnzbd like so:

Code: Select all

python2.4 SABnzbd.py -s :8080 -d
(might need the -f flag to point to your sabnzbd.ini too)
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Cannot install sabnzbd because of missing cheetah | NSLU2 | unslung

Post by shypike »

# python
Python 2.5.2 (r252:60911, Feb 26 2008, 19:39:13)
[GCC 3.3.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
You have Python 2.5 installed, which is the default Python for your system.

But you installed packages for Python 2.4:
ipkg install py24-cheetah
ipkg install py24-cherrypy
ipkg install py24-elementtree
ipkg install py24-celementtree
ipkg install py24-yenc

Install the 2.5 packages also or use "python2.4" to start SABnzbd.
Verband
Release Testers
Release Testers
Posts: 21
Joined: August 26th, 2008, 5:03 pm

Re: Cannot install sabnzbd because of missing cheetah | NSLU2 | unslung

Post by Verband »

Its working, thanks for your help.
Importing Cheetah on python2.4 worked, so I went back installing the python2.5 packages.

awesone ;)
Post Reply