Are you using:
WSGIApplicationGroup %{GLOBAL}
See:
http://code.google.com/p/modwsgi/wiki/ApplicationIssues#Python_Simplified_GIL_State_API
Graham
On 23/11/2013, at 5:40 AM, Quin Arnold <[email protected]> wrote:
> import win32com works fine on command line python but fails httpd -> via
> mod_wsgi
>
> some\windows\path\app.wsgi:
>
> print 1
> import win32com
> print 2
>
> ...
>
> Start httpd
> run web GET
>
>
> httpd\error.log:
>
> [Fri Nov 22 10:03:20.624118 2013] [:info] [pid 9220:tid 1248] [client
> 172.30.143.33:58411] mod_wsgi (pid=9220, process='',
> application='somegoofyapp'): Loading WSGI script 'some\windows\path\app.wsgi'.
> [Fri Nov 22 10:03:20.670993 2013] [:error] [pid 9220:tid 1248] 1
>
> *hangs*
>
> The application was tested standalong just fine but uses pyad which requires
> win32com
>
> This is running on Server2003 32 bit.
>
> Does anyone have any idea why this is not working under mod_wsgi?
>
>
> --
> 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.
> 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.
For more options, visit https://groups.google.com/groups/opt_out.