Unable to start SABnzbd "no module named utils" Linux

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
LifeTec
Newbie
Newbie
Posts: 2
Joined: October 27th, 2008, 9:03 am

Unable to start SABnzbd "no module named utils" Linux

Post by LifeTec »

I'm trying to run the program on a linux distro (linpus (spin off fedora core 8 ) I installed all the modules via my apt-get installer that was all succesfull. First time I start:

[user@localhost SABnzbd-0.4.4-src]$ python SABnzbd.py
Traceback (most recent call last):
  File "SABnzbd.py", line 42, in
    import cherrypy
ImportError: No module named cherrypy

So I installed cherrypy manualy then i get:

[user@localhost SABnzbd-0.4.4-src]$ python SABnzbd.py
Traceback (most recent call last):
  File "SABnzbd.py", line 42, in
    import cherrypy
  File "/usr/lib/python2.5/site-packages/cherrypy/__init__.py", line 10, in
    import config
  File "/usr/lib/python2.5/site-packages/cherrypy/config.py", line 7, in
    from cherrypy import _cputil
  File "/usr/lib/python2.5/site-packages/cherrypy/_cputil.py", line 9, in
    from cherrypy.lib import httptools
  File "/usr/lib/python2.5/site-packages/cherrypy/lib/httptools.py", line 19, in
    from email.Header import Header, decode_header
  File "/mnt/home/Downloads/SABnzbd-0.4.4-src/email.py", line 25, in
    from utils import ssmtplib
ImportError: No module named utils

I searched a lot on google and the forum it didn't help I hope you can.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Unable to start SABnzbd "no module named utils" Linux

Post by shypike »

Cherrypy is included in the source distribution as a submodule.
It should be located in the sub-folder cherrypy of the folder that contains SABnzbd.py.

If you want to install CherryPy yourself, you will need to install release 2.3.0 and not 3.x.x.
But this is not needed.

How did you get the sources, as a tar.gz file from SF.net
or did you check out a subversion copy?
In the latter case you'll need to unzip the file CherryPy-2.3.0.zip yourself.
LifeTec
Newbie
Newbie
Posts: 2
Joined: October 27th, 2008, 9:03 am

Re: Unable to start SABnzbd "no module named utils" Linux

Post by LifeTec »

I see,

Thanks allot my xarchiver had a error last time i ignored, appartently the error was it unpacked all the files in one map. So I redownload and Reunpacked now I see there is a map cherrypy and futhermore its starts like a charm! thanks for the fast reaction!
Post Reply