[modwsgi] win32 modwsgi error: ImportError: DLL load failed

2009-04-15 Thread chunlin
Apache Version :Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6 OpenSSL/ 0.9.8e mod_autoindex_color mod_auth_sspi/1.0.4 SVN/1.4.3 mod_wsgi/2.4 Python/2.6.1 PHP/5.2.4 the mod_wsgi I am using is this one: http://code.google.com/p/modwsgi/downloads/detail?name=mod_wsgi-win32-ap22py26-2.4.so I have add

[modwsgi] Re: Django virtualenv mod_wsgi, can't import django.*

2009-04-15 Thread Graham Dumpleton
2009/4/15 Alen Ribic alen.ri...@gmail.com: I've seen a few posts related to Django, virtualenv and mod_wsgi however still can't solve my problem. I keep getting ImportError: No module named django.core.handlers.wsgi in my apache error log no matter what I try. Read:

[modwsgi] Re: win32 modwsgi error: ImportError: DLL load failed

2009-04-15 Thread Graham Dumpleton
Hmmm, I tell a lie. SInce Python 2.6.2 only just got released, the Apache module must have been compiled against Python 2.6.1. Can't be bothered starting up Windows at the moment to check. Anyway, would suggest your problem is therefore likely to be due to Python not being installed so as to be

[modwsgi] Re: win32 modwsgi error: ImportError: DLL load failed

2009-04-15 Thread chunlin
I just check my python installation,found the directory is C: \Documents and Settings\All Users\...\Python 2.6,so I chose All Users. And I always using a Administrator privilege account(a windows user's usual habbit...). So I had better turn back to python 2.5...:( On Apr 15, 7:21 pm, Graham

[modwsgi] Re: Django virtualenv mod_wsgi, can't import django.*

2009-04-15 Thread Alen Ribic
Thank you Graham for your reply. You are definitely right about the permissions. Apache User and Group directives are both set to 'apache'. My wsgi (django) application is in the /home/intrack which is the 'intrack' user. I added the WSGIDaemonProcess directive: # WSGIDaemonProcess user=intrack

[modwsgi] Re: Intermittent NoReverseMatch errors

2009-04-15 Thread Alex Robbins
I am seeing this same error. I tried a little bit of experimentation. Does this give you any clues as to what might be happening? I wrote a script that runs through the same list of urls (58) on my site. Every run produces different errors and different numbers of errors, but some setups seem

[modwsgi] Re: win32 modwsgi error: ImportError: DLL load failed

2009-04-15 Thread Graham Dumpleton
2009/4/15 chunlin zhangchun...@gmail.com: I just check my python installation,found the directory is C: \Documents and Settings\All Users\...\Python 2.6,so I chose All Users. That isn't necessarily sufficient indication as there are registry entries as well and is is those which are more of

[modwsgi] Re: Intermittent NoReverseMatch errors

2009-04-15 Thread Alex Robbins
Also, I get no errors if I remove the maximum-requests On Apr 15, 3:45 pm, Alex Robbins alexander.j.robb...@gmail.com wrote: I am seeing this same error. I tried a little bit of experimentation. Does this give you any clues as to what might be happening? I wrote a script that runs through

[modwsgi] Re: Intermittent NoReverseMatch errors

2009-04-15 Thread Ariel Mauricio Nunez Gomez
Pete, That could happen if you are using GeoDjango, unhandled exceptions would come up now and then if you are using multiple threads but they would be masked out by reverse url errors in templates. I cannot tell for sure because you masked out your site name with ServerName project.com But

[modwsgi] Re: Intermittent NoReverseMatch errors

2009-04-15 Thread Ariel Mauricio Nunez Gomez
Bah, I didn't realize it was an old thread, the OP must have solved his issue by now. Alex, are you using any library that is not thread safe? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups modwsgi group. To post

[modwsgi] Re: Django virtualenv mod_wsgi, can't import django.*

2009-04-15 Thread Graham Dumpleton
2009/4/16 Alen Ribic alen.ri...@gmail.com: Thank you Graham for your reply. You are definitely right about the permissions. Apache User and Group directives are both set to 'apache'. My wsgi (django) application is in the /home/intrack which is the 'intrack' user. I added the

[modwsgi] Re: Need help with basic auth for WHM/cpanel server

2009-04-15 Thread David
That did the trick. Thanks very much! To clarify for others, I ended up with: Directory /PATH/TO/DIRECTORY_CONTAINING_WSGI_HANDLER_SCRIPT AuthType Basic AuthName AuthUserFile /PATH/TO/FILE_WITH_PASSWORDS_FOR_APACHE Satisfy All require valid-user /Directory On Apr 3, 4:10 pm, Graham Dumpleton

[modwsgi] Re: win32 modwsgi error: ImportError: DLL load failed

2009-04-15 Thread Chunlin Zhang
On Thu, Apr 16, 2009 at 4:56 AM, Graham Dumpleton graham.dumple...@gmail.com wrote: 2009/4/15 chunlin zhangchun...@gmail.com: I just check my python installation,found the directory is C: \Documents and Settings\All Users\...\Python 2.6,so I chose All Users. That isn't necessarily

[modwsgi] Re: win32 modwsgi error: ImportError: DLL load failed

2009-04-15 Thread Graham Dumpleton
2009/4/16 Chunlin Zhang zhangchun...@gmail.com: On Thu, Apr 16, 2009 at 4:56 AM, Graham Dumpleton graham.dumple...@gmail.com wrote: 2009/4/15 chunlin zhangchun...@gmail.com: I just check my python installation,found the directory is C: \Documents and Settings\All Users\...\Python 2.6,so I

[modwsgi] Re: win32 modwsgi error: ImportError: DLL load failed

2009-04-15 Thread Chunlin Zhang
It is OK now! I reinstall with python 2.6.2 and now works. Thank you very much! On Thu, Apr 16, 2009 at 9:33 AM, Graham Dumpleton graham.dumple...@gmail.com wrote: 2009/4/16 Chunlin Zhang zhangchun...@gmail.com: On Thu, Apr 16, 2009 at 4:56 AM, Graham Dumpleton graham.dumple...@gmail.com