Re: [Python.NET] Exception at PythhonEngine.Initialize()

2016-12-08 Thread Simunic,Kresimir
://github.com/pythonnet/pythonnet/issues/242 How are you loading the third-party DLL? Did you check assembly binding log viewer for any errors? We can't help much, if you cannot provide a reproducible code with all dependencies. Thanks, Denis On Thu, Dec 8, 2016, 6:21 AM Simunic,Kre

[Python.NET] Exception at PythhonEngine.Initialize()

2016-12-08 Thread Simunic,Kresimir
Hi all, I use one third-party DLL (.NET) and after loading this DLL and then calling PythonEngine.Initialize() following exception will be thrown: 12/8/2016 1:05:34 PM: System.Reflection.ReflectionTypeLoadException Unable to load one or more of the requested types. Retrieve the LoaderExceptions

[Python.NET] Python for .NET advantages

2016-10-18 Thread Simunic,Kresimir
Hello all, I have Python script that basically has 3 functions, two of them I am calling only once in beginning, and one function I call regularly let's say every second. All functions are of type to have some parameters and give back result without some state being saved between call. I real

[Python.NET] PythonEngine.ImportModule(..)

2016-10-18 Thread Simunic,Kresimir
Hello, When using PythonEngine.ImportModule(..) function, the function returns NULL meaning there was some Exception during import. Is there a way to get description of this Error ? Could you point me to good manual and examples for using Python for .NET ? Thank you, Kresimir Simunic. [c

Re: [Python.NET] PythonEngine.Initialize() exception

2016-02-22 Thread Simunic,Kresimir
Hi Denis, Thank you for you answer. Do you think new recompiled version will work on Windows Server 2012 R2 ? Would it be possible you send me Python.Runtime.DLL ? Thanks, Regards, Kresimir. Reifenhäuser Reicofil GmbH & Co. KG Spicher Straße 46, 53844 Troisdorf, Germany Registergericht Sie

Re: [Python.NET] PythonEngine.Initialize() exception

2016-02-22 Thread Simunic,Kresimir
Hi Denis, I followed your instruction with the pip and it seems that it is working ! Thanks a lot ! Regards, Kresimir. Reifenhäuser Reicofil GmbH & Co. KG Spicher Straße 46, 53844 Troisdorf, Germany Registergericht Siegburg, Reg.Nr. HR A 4534 USt-IdNr. DE 814359351, Steuer-Nr. 5220/5760/0426

Re: [Python.NET] PythonEngine.Initialize() exception

2016-02-22 Thread Simunic,Kresimir
Hi Stefan, Thank you for your suggestion. But I tried as Denis suggested me, to download latest Python.Runtime DLL with pip and installed it together with my application on Windows Server 2012 R2 and it worked. Is there any advantage of your approach ? Regards, Kresimir. Reifenhäuser Rei

Re: [Python.NET] PythonEngine.Initialize() exception

2016-02-20 Thread Simunic,Kresimir
Is this the problem with Windows Server 2012 R2 (or .NET 4.5.1) ? Can I download somewhere Python.Runtime DLL where this problem is fixed ? Reifenhäuser Reicofil GmbH & Co. KG Spicher Straße 46, 53844 Troisdorf, Germany Registergericht Siegburg, Reg.Nr. HR A 4534 USt-IdNr. DE 814359351, Steuer

Re: [Python.NET] PythonEngine.Initialize() exception

2016-02-18 Thread Simunic,Kresimir
ch version/branch? On Thursday, February 18, 2016, Simunic,Kresimir mailto:kresimir.simu...@reicofil.com>> wrote: Hi Denis, I have actually 3 different computers, one has Windows 7, one has Windows Server 2008, and one Windows Server 2012 R2. Only Windows Server 2012 R2 is trouble mak

Re: [Python.NET] PythonEngine.Initialize() exception

2016-02-18 Thread Simunic,Kresimir
Hi Denis, Here is the exception stack. Maybe it helps you to know the problem ? 18.02.2016 19:38:02: Initialisation Error : System.ArgumentNullException: Der Wert darf nicht NULL sein. Parametername: key bei System.Collections.Generic.Dictionary`2.FindEntry(TKey key) bei System.Collection

Re: [Python.NET] PythonEngine.Initialize() exception

2016-02-18 Thread Simunic,Kresimir
registered in your path environment variable? If not, then you need to specify PYTHONPATH Cheers, Denis On Thursday, February 18, 2016, Simunic,Kresimir mailto:kresimir.simu...@reicofil.com>> wrote: Hi all, I have a following problem – I installed Python and am calling PythonEngine.Initialize(

[Python.NET] PythonEngine.Initialize() exception

2016-02-18 Thread Simunic,Kresimir
Hi all, I have a following problem - I installed Python and am calling PythonEngine.Initialize() from C#. I get following exception: The value should not be NULL. Parameter name: key. The software is running on Windows Server 2012 R2. Does anybody know what could be the problem ? Thanks ! B

[Python.NET] Versions support

2016-01-27 Thread Simunic,Kresimir
Hi there, Can someone tell me if Python.Net supports some newer Versions of Python (as 3.3) ? The only Python.Runtime DLL I could find was for 2.7 Version. Thanks Regards -- Krešimir Šimunić Automatisierung Reifenhäuser Reicofil GmbH & Co. KG Spicher Straße 46, 53844 Troisdorf, Germany R