Thanks for the help!  I think I got it working now, but I need to get
a user-name and password for MySQL set up properly.

On 07/03/07, akonsu <[EMAIL PROTECTED]> wrote:
>
> hello,
>
> your error output shows that it did find django installation in the
> egg in site-packages. do you mean that you have a separate
> installation that you want to use?
>
> konstantin
>
> On Mar 7, 10:56 am, "Ryan Alexander" <[EMAIL PROTECTED]> wrote:
> > I've gotten pretty much everything else done, but I can't figure out
> > how to tell mod_python where my django install directory is.
> >
> > The current directory is /opt/perfmanager but I can't figure out what
> > to do past that.  I've tried changing the path to contain those
> > directories but it's still not finding it.
> >
> > I've put the line:
> > PythonPath "sys.path + ['/opt/', '/opt/perfmanager/']"
> >
> > in the httpd.conf file as well.  but I get this error:
> >
> > ---
> > Mod_python error: "PythonHandler django.core.handlers.modpython"
> >
> > Traceback (most recent call last):
> >
> >   File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line
> > 299, in HandlerDispatch
> >     result = object(req)
> >
> >   File 
> > "/usr/lib/python2.4/site-packages/Django-0.95.1-py2.4.egg/django/core/handl­ers/modpython.py",
> > line 163, in handler
> >     return ModPythonHandler()(req)
> >
> >   File 
> > "/usr/lib/python2.4/site-packages/Django-0.95.1-py2.4.egg/django/core/handl­ers/modpython.py",
> > line 125, in __call__
> >     if settings.ENABLE_PSYCO:
> >
> >   File 
> > "/usr/lib/python2.4/site-packages/Django-0.95.1-py2.4.egg/django/conf/__ini­t__.py",
> > line 27, in __getattr__
> >     self._import_settings()
> >
> >   File 
> > "/usr/lib/python2.4/site-packages/Django-0.95.1-py2.4.egg/django/conf/__ini­t__.py",
> > line 54, in _import_settings
> >     self._target = Settings(settings_module)
> >
> >   File 
> > "/usr/lib/python2.4/site-packages/Django-0.95.1-py2.4.egg/django/conf/__ini­t__.py",
> > line 82, in __init__
> >     raise EnvironmentError, "Could not import settings '%s' (Is it on
> > sys.path? Does it have syntax errors?): %s" % (self.SETTINGS_MODULE,
> > e)
> >
> > EnvironmentError: Could not import settings 'perftest.settings' (Is it
> > on sys.path? Does it have syntax errors?): No module named settings
> > ---
> >
> > Help please?  What am I doing wrong?
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to