Hi Graham
Thank you for your reply. I have a Django app that query the Active
Directory using pyad(https://pypi.python.org/pypi/pyad). If I run the same
code, for example just getting a user, in command line it never fail,
however in the Django app, every so often it give me an
win32Exception(below) until I restart the server. Would you know if it is
related to mod_wsgi at all? Thank you very much.
Cheers,
Terry
File "build\bdist.win32\egg\pyad\pyad.py", line 7, in from_cn
q = ADObject.from_cn(common_name, search_base, options)
File "build\bdist.win32\egg\pyad\adobject.py", line 76, in from_cn
return cls(adsearch.by_cn(cn, search_base, options), None, options)
File "build\bdist.win32\egg\pyad\adobject.py", line 43, in __init__
pyadutils.pass_up_com_exception(excpt, additional_info)
File "build\bdist.win32\egg\pyad\pyadutils.py", line 44, in
pass_up_com_exception
raise WIN32_ERRORS.get(info['error_num'],
win32Exception)(error_info=info, additional_info=additional_info)
On Wednesday, 6 March 2013 17:16:09 UTC, Graham Dumpleton wrote:
>
> The differences between mod_wsgi 3.3 and 3.4 for Windows are probably
> small enough that you don't strictly need 3.4. So use the precompiled
> Python 2.7 32 bit binary from:
>
>
> http://code.google.com/p/modwsgi/wiki/DownloadTheSoftware?tm=2#Windows_Binary_Downloads
>
> Graham
>
>
> On 6 March 2013 03:40, Terry <[email protected] <javascript:>> wrote:
>
>> Dear all,
>>
>> I am trying to compile 32bit mod_wsgi.so for Python2.7 Apache2.2 for
>> Windows, I downloaded the source code from (
>> https://code.google.com/p/modwsgi/downloads/detail?name=mod_wsgi-3.4.tar.gz)
>> and try compiling below accordingly to documentation but not been
>> successful. I looked at win32-ap22py27mk, the path is for 64bits VC, could
>> that be the problem?
>>
>> C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC>nmake /f
>> "c:\Users\teng\Downloads\mod_wsgi-3.4\win32-ap22py27.mk"
>>
>> Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
>> Copyright (C) Microsoft Corporation. All rights reserved.
>>
>> NMAKE : fatal error U1073: don't know how to make 'mod_wsgi.c'
>> Stop.
>>
>> Thank you so much for your help :)
>> Cheers,
>> Terry
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "modwsgi" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> Visit this group at http://groups.google.com/group/modwsgi?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>
--
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.