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,
>
>
>
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
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:
>
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
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
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
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:
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:
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
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
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
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)
_
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
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
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
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
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,
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
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
19 matches
Mail list logo