[Python.NET] Python.NET + Apache

Wan, Ronald rwan at ea.com
Tue Sep 16 01:05:42 CEST 2008


Thanks for the reply Maksim.  I'm still getting the same error even when
I granted Full Trust to Local Intranet... don't know why...

 

Thanks,

 

Ronald

 

From: Maksim Kozyarchuk [mailto:mkozyarchuk at hedgeserv.com] 
Sent: Monday, September 15, 2008 3:49 PM
To: Wan, Ronald; pythondotnet at python.org
Subject: Re: [Python.NET] Python.NET + Apache

 

I've seen a similar error when running from the network, and it was due
to a .NET Security policy.

To isolate, you could try to change .NET Security Policy and grant Local
Intranet a  "Full Trust"

Maksim
On 9/15/08 6:17 PM, "Wan, Ronald" <rwan at ea.com> wrote:

Hi, 

Has any had any success with integrating Python.NET with Apache?
Python.NET works very well locally, say if I run the most basic thing
like

import clr

in the python command line.  However, when I try to do the same thing
through apache, python always dumps out

SystemError: dynamic module not initialized properly

Currently, I'm running...

Windows XP

Apache

Python 2.5

.NET Framework 2.0

The latest Python.NET release

Does any have any suggestions of what I can do to fix this?  Thanks!

Thanks in advance,

Ronald

________________________________

_________________________________________________
Python.NET mailing list - PythonDotNet at python.org
http://mail.python.org/mailman/listinfo/pythondotnet

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythondotnet/attachments/20080915/60b84f32/attachment.htm>


More information about the PythonDotNet mailing list