[Python.NET] Python.NET + Apache

Maksim Kozyarchuk mkozyarchuk at hedgeserv.com
Tue Sep 16 00:48:40 CEST 2008


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/7cd00246/attachment.htm>


More information about the PythonDotNet mailing list