On Sat, 2007-05-12 at 13:29 -0700, Mark Phillips wrote: > Thank you, Don. I understand what Malcolm wrote. I didn't include the > trace back and that was indeed a mistake. > > After walking through the set up and making some adjustments > to .htaccess, I stopped getting a trace back in the browser. Thus, I > didn't have much to share with Malcolm. > > This morning, with a fresh mind, I reviewed everything again. I have > posted another note where I try to provide more useful information, > including bits from the error log. > > "Stubborn fool" is not one of my life goals, although I qualify from > time to time, so I ran the fcgi script on the server, not via apache, > as follows: > > molu:/Library/WebServer/CGI-Executables root# python django.fcgi > Traceback (most recent call last): > File "/Library/WebServer/CGI-Executables/django.fcgi", line 17, in ? > runfastcgi(method="threaded", daemonize="false") > TypeError: runfastcgi() got an unexpected keyword argument 'method' > > Any ideas?
Hmmm... which version of Django are you using? I know that the interface for runfastcgi() was different in 0.95 to what it is today (today's version is the same as 0.96, from memory). Have a look in django/core/servers/fastcgi.py at the runfastcgi() method. It will either say def runfastcgi(argset): ... or def runfastcgi(argset=[], **kwargs): ... It sounds like you are using the latest documentation, which is based on the second (current) function signature, but if you are using, say, Django 0.95, you would have to code to the first signature. This could be as simple as a mismatch between documentation and code version. Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---