Re: [Python.NET] mono_os_mutex_destroy issue with Python.NET

2018-05-06 Thread techi eth
I have tried console progmramme (nPython.exe) coming with python.Net source & same is also resulting with above error. Can anybody suggest with which version of mono on Linux ARM target Python.NET will works. Thanks On Fri, May 4, 2018 at 6:35 PM, techi eth wrote: > Hi, > > >

[Python.NET] mono_os_mutex_destroy issue with Python.NET

2018-05-04 Thread techi eth
Hi, I am getting below error when running C# programme with mono on Linux. Please suggest hint for solution. *Mono version : 5.8.1.0* *Pyhton.NET : 2.3.0* mono_os_mutex_destroy: pthread_mutex_destroy failed with "Device or resource busy" (16) Aborted Note : I am able to run only C# pro

Re: [Python.NET] Error in calling Python class method from C#

2018-04-30 Thread techi eth
Dynamic classTest = testClassModule.GetAttr("ClassTest"); Dynamic tmp = classTest(); tmp.Initalize(); tmp.Execute(); } PythonEngine.Shutdown(); return 0; } On Mon, Apr 30, 2018 at 11:35 AM, techi eth wrote: >

Re: [Python.NET] Error in calling Python class method from C#

2018-04-29 Thread techi eth
Iron Python is having way to do the same.Please check below link. https://stackoverflow.com/questions/579272/instantiating-a-python-class-in-c-sharp On Mon, Apr 30, 2018 at 10:36 AM, techi eth wrote: > Thanks for link, I have been through most of pages but not able to found > same

Re: [Python.NET] Error in calling Python class method from C#

2018-04-29 Thread techi eth
wrote: > You may get more feedback on stackoverflow than on this mailing list for > questions like this: > > https://stackoverflow.com/questions/tagged/python.net? > sort=newest&pageSize=50 > > On Fri, Apr 27, 2018 at 3:54 AM, techi eth wrote: > >> Any input on

Re: [Python.NET] Error in calling Python class method from C#

2018-04-27 Thread techi eth
Any input on raised query. I think i am missing something very simple but not able to catch. Thanks On Thu, Apr 26, 2018 at 5:47 PM, techi eth wrote: > Yes,It will work with this way but i need to create multiple instance of > same class.If you see other function (@Execute() ) with stat

Re: [Python.NET] Error in calling Python class method from C#

2018-04-26 Thread techi eth
u missed either @staticmethod decorator or the self argument for the > Initialize method. > > > > Stefan > > > > *From:* PythonDotNet [mailto:pythondotnet-bounces+sschukat= > dspace...@python.org] *On Behalf Of *techi eth > *Se**nt:* Wednesday, April 25, 2018 2:

[Python.NET] Error in calling Python class method from C#

2018-04-25 Thread techi eth
Hi, I am facing issue while calling python class function in C# programme. Can anyone give me hint what is wrong in below programme.While running I am getting error in invoking Initialize() function of class. Python module : def test(): print "Test called" return 1 class ClassTest:

[Python.NET] Garbage collector with Pyhton using PyhtonForNet

2018-04-20 Thread techi eth
I would like to know how the data structure of C# dll defined in python will get cleared from system memory. Any link or detail will be helpful to understand memory leak cased when using dotnet with python. _ Python.NET mailing list - PythonDotNet@py

Re: [Python.NET] How to use C# object[] in python

2018-04-20 Thread techi eth
pythonnet/issues/94 > > On Wed, Apr 18, 2018, 8:20 AM techi eth wrote: > >> Any hint or input on raised query will be helpful. >> >> Thanks >> >> On Mon, Apr 16, 2018 at 9:49 AM, techi eth wrote: >> >>> I am trying to use one of data struct class d

Re: [Python.NET] How to use C# object[] in python

2018-04-18 Thread techi eth
Any hint or input on raised query will be helpful. Thanks On Mon, Apr 16, 2018 at 9:49 AM, techi eth wrote: > I am trying to use one of data struct class defined in c# dll to python > script. I am facing difficulty in adding c# object under payload. Can > anyone give me hint or an

[Python.NET] How to pass Out parameter

2018-04-17 Thread techi eth
Hi I have once class function in C# which is expecting out parameter. How can I pass out parameter from python. Below is signature of function. public void GetOutData(string InputData, out bool isHavingParams, out string Parm1, out int32 Parm2, out object Parm3) _

[Python.NET] Runtime.Py_Main function call

2018-04-16 Thread techi eth
Calling below function resulting thread launch from C# process or it is new process itself. Runtime.Py_Main(cmd.Length, cmd) I am referring console example for nPython.exe. Below is code snippet. public static int Main(string[] args) { // reference the static assemblyLo

[Python.NET] How to use C# object[] in python

2018-04-15 Thread techi eth
I am trying to use one of data struct class defined in c# dll to python script. I am facing difficulty in adding c# object under payload. Can anyone give me hint or any example which will useful for assigning payload under object array. public class TestPayload { public string Req

Re: [Python.NET] crash in pythonnet

2018-04-03 Thread techi eth
ilds of pythonnet on GitHub for the current version of > Mono passing the tests. > > > On Wed, Apr 4, 2018, 12:04 AM techi eth wrote: > >> Initially i tried with default mono (3.8 -> Ubunut14.04 default) version >> but i was not able to build pythonfornet. Later i tried wit

Re: [Python.NET] crash in pythonnet

2018-04-03 Thread techi eth
s mono versions? > > On Tue, Apr 3, 2018 at 11:23 PM, techi eth wrote: > >> Hi, >> >> >> >> I am trying to run python for NET but finding crash while running test. I >> am trying to run test from src/tests/. >> >> >> >> System Setup

[Python.NET] crash in pythonnet

2018-04-03 Thread techi eth
Hi, I am trying to run python for NET but finding crash while running test. I am trying to run test from src/tests/. System Setup : Host : Ubuntu14.04 Python : Python2.7 Mono : Mono JIT compiler version 5.10.1.20 (tarball Thu Mar 29 10:42:14 UTC 2018) Copyright (C) 2002-2014 Novell, Inc,

[Python.NET] Calling Python script from dotnet

2018-03-19 Thread techi eth
Hi, How i can use calling python script from dotnet by using pythondotnet framwork ? I would like to pass some dotnet Object to python script & take return of dotnet object one script execution is over to dotnet code. Thanks _ Python.NET mailing li

[Python.NET] Pythondotnet release for Mono

2018-03-16 Thread techi eth
Hi, I would like to know which is python for dot net release will build & works with mono. I am trying with Mono4.0.0 on Ubuntu14.04 but getting building error. Any link with right version or right build steps will be helpful. Thanks _ Python.NET m