Page 1 of 1

Unable to start SABnzbd "no module named utils" Linux

Posted: October 27th, 2008, 9:10 am
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.

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

Posted: October 27th, 2008, 9:39 am
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.

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

Posted: October 27th, 2008, 10:42 am
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!