> On Thu, Mar 29, 2007 at 02:26:32PM +0200, Lukas Kolbe wrote:
> > 
> > Hi!
> > 
> > I have a problem I came across for a while now.
> > 
> > To start the fcgi-instance, I use manage.py as follows:
> > 
> > su -c "DJANGO_DB_NAME=dbname DJANGO_DB_PASS=dbpass \
> >   DJANGO_DB_USER=dbuser DJANGO_SECRET_KEY=secret \
> >   /srv/vhosts/myhost/site/manage.py runfcgi daemonize=false \
> >   socket=/srv/sockets/django-einfachkaffee.de.socket" \
> >   webuser
> > 

> Try...
> 
>  su -c "PYTHONPATH=/srv/vhosts/mysite/site \
>    DJANGO_DB_NAME=dbname DJANGO_DB_PASS=dbpass \
>    DJANGO_DB_USER=dbuser DJANGO_SECRET_KEY=secret \
>    /srv/vhosts/myhost/site/manage.py runfcgi daemonize=false \
>    socket=/srv/sockets/django-einfachkaffee.de.socket" \
>    webuser

I tried. If I set PYTHONPATH to /srv/vhosts/mysite, I get:

Traceback (most recent call last):
  File "/srv/vhosts/mysite/site/manage.py", line 2, in ?
    from django.core.management import execute_manager
ImportError: No module named django.core.management

If I set PYTHONPATH to /srv/vhosts/mysite/site, I get the same error as
if I don't set PYTHONPATH.


> Cheers,

Thanks,
Lukas



--~--~---------~--~----~------------~-------~--~----~
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