Import cherry.py problems

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
Hitman9921
Newbie
Newbie
Posts: 6
Joined: November 9th, 2009, 8:30 pm

Import cherry.py problems

Post by Hitman9921 »

test.py its an exact copy of the beginning of sabnzbd's startup script and it STILL DOESN'T WORK. Any suggestions/solutions?

Error: According to several forum posts all you need to do run run cherrypy from the source directory is import cherrypy? Even if I am in the cherrypy folder when you call import cherrypy it wont find it


it will give the error: Traceback (most recent call last): File "./tutorial/tut01_helloworld.py", line 8, in import cherrypy ImportError: No module named cherrypy

There are __init__.py files in every folder in the source folder so they should all be viewed as modules

Can someone please help? Thanks,
hitman9921
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Import cherry.py problems

Post by sander »

First of all: this does not sound like a SABnzbd problem, so maybe this post / thread will get locked or deleted.

Is your test.py in the same directory as SABnzbd.py? It works for me that way.

Oh, and which OS are you using?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply