[Python.NET] import clr causes windows service script to fail
msutton
msutton at ucsd.edu
Mon Apr 8 08:38:38 CEST 2013
Barton,
You were right about the not finding the DLLs. I placed the clr.pyd and
python.runtime.dll in the pywin32 egg directory and it seems to work
now. Thanks!
On 04/07/2013 10:56 PM, Barton wrote:
> That's usually x86 vs. x64 incompatibility - we need more info from
> you on this.
> Sometimes it's simply a path configuration problem when the caller
> can't find the DLLs required.
>
> On 04/07/2013 10:46 PM, msutton wrote:
>> Import clr causes windows service script to fail.
>> Windows Service script is for Pyramid:
>> https://github.com/Pylons/pyramid_cookbook/blob/master/deployment/windows.rst
>>
>> Without WS script, "import clr" from python works.
>> Without "import clr", WS script works.
>> Together they fail. Setting "import clr" in script, the Windows
>> Service will install but won't start. Setting "import clr" in any of
>> the Pyramid views and the Pyramid application fails when the view is
>> called.
>> _________________________________________________
>> Python.NET mailing list - PythonDotNet at python.org
>> http://mail.python.org/mailman/listinfo/pythondotnet
>>
>
More information about the PythonDotNet
mailing list