Error: import cherrypy?

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
inkaman
Newbie
Newbie
Posts: 2
Joined: July 12th, 2009, 3:37 am

Error: import cherrypy?

Post 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
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Error: import cherrypy?

Post by shypike »

How did you install SABnzbd?
The cherrypy module is part of the SABnzbd tarball distribution file.
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: Error: import cherrypy?

Post 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
inkaman
Newbie
Newbie
Posts: 2
Joined: July 12th, 2009, 3:37 am

Re: Error: import cherrypy?

Post 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
Post Reply