On Wed, Nov 26, 2008 at 6:25 PM, Eric Drechsel <[EMAIL PROTECTED]> wrote: > Are you able to run the script from the root dir? If not you may have > relative paths in settings.py or manage.py. Also if you're using sqlite the > user needs write to both the db file and the containing directory. See this > post [1]. > > [1] > http://groups.google.com/group/pinax-users/browse_thread/thread/92a18c07f5ef60f8/e1b2711fe16e5136#e1b2711fe16e5136 > > Here are the relevant snippets from my standard settings.py and manage.py: > > manage.py: > import sys > > from os.path import abspath, dirname, join > > PROJECT_ROOT = abspath(dirname(__file__)) > sys.path.insert(0, join(PROJECT_ROOT, "apps")) > > settings.py: > DATABASE_ENGINE = 'sqlite3' > DATABASE_NAME = join(dirname(__file__), 'db', 'mysite.db') > >
Thanks Erick, my script has full paths. You can see my script http://dpaste.com/hold/94632/, By the way, the configuration works running manage.py runfastcgi ... etc, the issue is that cherokee doesn't start the script I wrote, giving me a "Connection refused" Error -- Mario César Señoranis Ayala. _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
