Re: Setup Help

2008-01-07 Thread kbochert
After much effort, things have progressed to my trying 'python load_data.py' I get an error: "Can't connect to local MySQL server through socket /var/lib/mysql/ mysql.sock" Thinking that the default setting of DATABASE_HOST = "" might be wrong, I asked the host (OCSSolutions) where their

Re: Setup Help

2008-01-06 Thread Brett Parker
On 06 Jan 00:38, kbochert wrote: > I get: > > --sys_path-- > ['/home/ktb/py', (...) , '/opt/python/lib/python2.5/site-packages'] > ... > ImportError: No module named django.core.servers.fastcgi > > > If I do: > ls /home/ktb/py/django/core/servers > > I see the file fastcgi.py (among a few

Re: Setup Help

2008-01-06 Thread kbochert
Never mind. In my month of experience with Python, I never quite grasped that each module on the module path needs a __init__.py Ktb On Jan 6, 12:38 am, kbochert <[EMAIL PROTECTED]> wrote: > I am trying to set up Django on a shared site (OCSSolutions.com) using > FCGI. > Needless to say, it

Setup Help

2008-01-06 Thread kbochert
I am trying to set up Django on a shared site (OCSSolutions.com) using FCGI. Needless to say, it doesn't work. In my public_html directory, I place the file site.fcgi containing: #!/usr/bin/python import sys, os # Add a custom Python path. sys.path.insert(0, "/home/ktb/py/") print