Page 1 of 1

Error: import cherrypy?

Posted: July 12th, 2009, 3:48 am
by inkaman
Hello, i have an SUSE 10.2 Root Server running.

I installed everything nececerry of sabnzbd on it but now i get an error like this:

Code: Select all

web19@alpha376:~/html/cbsc/www/sabnzbd> python SABnzbd.py -s localhost:7777
Traceback (most recent call last):
  File "SABnzbd.py", line 42, in <module>
    import cherrypy
  File "/srv/www/web19/html/cbsc/www/sabnzbd/cherrypy/__init__.py", line 10, in <module>
    import config
  File "/srv/www/web19/html/cbsc/www/sabnzbd/cherrypy/config.py", line 7, in <module>
    from cherrypy import _cputil
  File "/srv/www/web19/html/cbsc/www/sabnzbd/cherrypy/_cputil.py", line 9, in <module>
    from cherrypy.lib import httptools
  File "/srv/www/web19/html/cbsc/www/sabnzbd/cherrypy/lib/httptools.py", line 19, in <module>
    from email.Header import Header, decode_header
  File "/srv/www/web19/html/cbsc/www/sabnzbd/email.py", line 25, in <module>
    from utils import ssmtplib
  File "/srv/www/web19/html/cbsc/www/sabnzbd/utils/ssmtplib.py", line 36, in <module>
    import smtplib, socket
  File "/srv/www/web19/html/cbsc/python/lib/python2.6/smtplib.py", line 46, in <module>
    import email.utils
ImportError: No module named utils
What ist this "cherrypy" for and why isn´t it in the last python install pack?

What can i do now? Do i have to import cherrypy? But where can i get it?

Best regardes


inkaman

Re: Error: import cherrypy?

Posted: July 12th, 2009, 4:20 am
by shypike
How did you install SABnzbd?
The cherrypy module is part of the SABnzbd tarball distribution file.

Re: Error: import cherrypy?

Posted: July 12th, 2009, 4:32 am
by switch
The error is not with cherrypy, it is with importing smtplib, which included in a standard install of python. So I'm not sure what is up with your installation of python, but I would reinstall. Python 2.6 is also not supported, use python 2.5

Re: Error: import cherrypy?

Posted: July 13th, 2009, 10:02 am
by inkaman
switch wrote: The error is not with cherrypy, it is with importing smtplib, which included in a standard install of python. So I'm not sure what is up with your installation of python, but I would reinstall. Python 2.6 is also not supported, use python 2.5
Hello, thanks for your Info. Yes you all have been right... my installation was made with python 2.6.x so i think that is the problem... maybe can you tell me where i can find an supported version of python 2.5 for my suse 10.2 root server sytem?

Would it be possible to get an all in one installation for my server system??

Kind regards