Malcolm Tredinnick wrote: > On Tue, 2009-01-06 at 19:40 -0800, Bradley wrote: > >> I'm having a strange problem in that I can make any change that I want >> to the .fcgi file, short of deleting it and I get the same django >> error about seymourherald.settings not found. I can delete the entire >> contents of the file so all it has in it is #!/path/to/python and it >> still gives me this error message. How on earth is it still loading >> django? Error message looks like >> >> ImportError: Could not import settings 'seymourherald.settings' (Is it >> on sys.path? Does it have syntax errors?): No module named >> seymourherald.settings >> >> So I've been trying to troubleshoot why it can't find >> seymourherald.settings and I guess I've determined it doesn't have to >> do with my .fcgi file. I've checked and rechecked my PYTHONPATH, any >> other ideas? >> > > The obvious guess would be permission problems. You have different > access permissions to the webserver. Does the webserver (the user that > is executing the fastcgi script) have permission to read the file? And > the directories leading down to the file (the latter will need "execute" > permission set for the "other" section on Unix-like systems). > > Regards, > Malcolm > > Thanks for your help. I finally found the problem after hours of banging my head against the wall. It was simply the fastcgi script was always running. I have to kill the fastcgi script after making changes to the .fcgi file or else the changes will never take effect.
--~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---