[Python.NET] DLL Processor compatibility

2020-03-04 Thread Govil Nag
hallo,

pythonnet dll work either x64 bit processor or x86 processor ..is it
possible to run it in visual Studio with "Any CPU"
___
PythonNet mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/pythonnet.python.org/


[Python.NET] Re: Accessing a list that is a read-only property?

2020-03-04 Thread mark
Victor,

Thank you for the help.  I can see in that issue, fartsmajeure gave pretty much 
the same example on June 5, 2019.  I'll have a method added to work around it.  

Cheers,
Mark
___
PythonNet mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/pythonnet.python.org/


[Python.NET] Re: DLL Processor compatibility

2020-03-04 Thread Victor “LOST” Milovanov
AnyCPU assemblies can use x86 and x64 assemblies, as long as they run with corresponding architecture (check Prefer 32-bit setting if you are experiencing issue with x64 assembly). You need a pythonnet dll matching your Python architecture. Regards,Victor  From: Govil NagSent: Wednesday, March 4, 2020 1:51 AMTo: [email protected]: [Python.NET] DLL Processor compatibility hallo, pythonnet dll work either x64 bit processor or x86 processor ..is it possible to run it in visual Studio with "Any CPU"  ___
PythonNet mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/pythonnet.python.org/


[Python.NET] [NuGet Gallery] Recent changes to your organization's email

2020-03-04 Thread NuGet Gallery
The email address associated with your NuGet Gallery organization was recently 
changed from [email protected] to [email protected].

Thanks,
The NuGet Gallery Team

Privacy Statement (https://go.microsoft.com/fwlink/?LinkId=521839)
Microsoft Corporation
One Microsoft Way
Redmond, WA 98052 USA___
PythonNet mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/pythonnet.python.org/


[Python.NET] Re: DLL Processor compatibility

2020-03-04 Thread Govil Nag
tried the 32-bit Setting but got the same error an i tried changing the
python Version also to 32-bit. but got the below
*Error*:Assistent für verwaltetes Debuggen "PInvokeStackImbalance" : "Ein
Aufruf an die PInvoke-Funktion
"Python.Runtime!Python.Runtime.Runtime::PyDict_GetItemString" hat das
Gleichgewicht des Stapels gestört. Wahrscheinlich stimmt die verwaltete
PInvoke-Signatur nicht mit der nicht verwalteten Zielsignatur überein.
Überprüfen Sie, ob die Aufrufkonvention und die Parameter der
PInvoke-Signatur mit der nicht verwalteten Zielsignatur übereinstimmen."


On Wed, Mar 4, 2020 at 7:02 PM Victor “LOST” Milovanov <
[email protected]> wrote:

> AnyCPU assemblies can use x86 and x64 assemblies, as long as they run with
> corresponding architecture (check Prefer 32-bit setting
> 
> if you are experiencing issue with x64 assembly).
>
>
>
> You need a pythonnet dll matching your Python architecture.
>
>
>
> Regards,
>
> Victor
>
>
>
>
>
> *From: *Govil Nag 
> *Sent: *Wednesday, March 4, 2020 1:51 AM
> *To: *[email protected]
> *Subject: *[Python.NET] DLL Processor compatibility
>
>
>
> hallo,
>
>
>
> pythonnet dll work either x64 bit processor or x86 processor ..is it
> possible to run it in visual Studio with "Any CPU"
>
>
> ___
> PythonNet mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> https://mail.python.org/mailman3/lists/pythonnet.python.org/
>
___
PythonNet mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/pythonnet.python.org/


[Python.NET] Re: DLL Processor compatibility

2020-03-04 Thread Govil Nag
tried the 32-bit Setting but got the same error an i tried changing the
python Version also to 32-bit. but got the below
*Error*:
Managed Debugging Assistant "PInvokeStackImbalance": "A call to the PInvoke
function" Python.Runtime! Python.Runtime.Runtime :: PyDict_GetItemString
"has disturbed the balance of the batch. The managed PInvoke signature
probably does not match the unmanaged target signature Verify that the
calling convention and parameters of the PInvoke signature match the
unmanaged target signature. "

On Wed, Mar 4, 2020 at 8:10 PM Govil Nag  wrote:

> tried the 32-bit Setting but got the same error an i tried changing the
> python Version also to 32-bit. but got the below
> *Error*:Assistent für verwaltetes Debuggen "PInvokeStackImbalance" : "Ein
> Aufruf an die PInvoke-Funktion
> "Python.Runtime!Python.Runtime.Runtime::PyDict_GetItemString" hat das
> Gleichgewicht des Stapels gestört. Wahrscheinlich stimmt die verwaltete
> PInvoke-Signatur nicht mit der nicht verwalteten Zielsignatur überein.
> Überprüfen Sie, ob die Aufrufkonvention und die Parameter der
> PInvoke-Signatur mit der nicht verwalteten Zielsignatur übereinstimmen."
>
>
> On Wed, Mar 4, 2020 at 7:02 PM Victor “LOST” Milovanov <
> [email protected]> wrote:
>
>> AnyCPU assemblies can use x86 and x64 assemblies, as long as they run
>> with corresponding architecture (check Prefer 32-bit setting
>> 
>> if you are experiencing issue with x64 assembly).
>>
>>
>>
>> You need a pythonnet dll matching your Python architecture.
>>
>>
>>
>> Regards,
>>
>> Victor
>>
>>
>>
>>
>>
>> *From: *Govil Nag 
>> *Sent: *Wednesday, March 4, 2020 1:51 AM
>> *To: *[email protected]
>> *Subject: *[Python.NET] DLL Processor compatibility
>>
>>
>>
>> hallo,
>>
>>
>>
>> pythonnet dll work either x64 bit processor or x86 processor ..is it
>> possible to run it in visual Studio with "Any CPU"
>>
>>
>> ___
>> PythonNet mailing list -- [email protected]
>> To unsubscribe send an email to [email protected]
>> https://mail.python.org/mailman3/lists/pythonnet.python.org/
>>
>
___
PythonNet mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/pythonnet.python.org/


[Python.NET] Re: DLL Processor compatibility

2020-03-04 Thread Victor “LOST” Milovanov
This sounds like a bug. Can you providefull stack tracefull OS name and versionPython version and architecturePython.NET versionthe source of Python.NET (e.g. NuGet or pip package, manual build, or pip installed from source) Regards,Victor From: Govil NagSent: Wednesday, March 4, 2020 11:16 AMTo: A list for users and developers of Python.NETSubject: [Python.NET] Re: DLL Processor compatibility tried the 32-bit Setting but got the same error an i tried changing the python Version also to 32-bit. but got the below Error:Managed Debugging Assistant "PInvokeStackImbalance": "A call to the PInvoke function" Python.Runtime! Python.Runtime.Runtime :: PyDict_GetItemString "has disturbed the balance of the batch. The managed PInvoke signature probably does not match the unmanaged target signature Verify that the calling convention and parameters of the PInvoke signature match the unmanaged target signature. " On Wed, Mar 4, 2020 at 8:10 PM Govil Nag  wrote:tried the 32-bit Setting but got the same error an i tried changing the python Version also to 32-bit. but got the below Error:Assistent für verwaltetes Debuggen "PInvokeStackImbalance" : "Ein Aufruf an die PInvoke-Funktion "Python.Runtime!Python.Runtime.Runtime::PyDict_GetItemString" hat das Gleichgewicht des Stapels gestört. Wahrscheinlich stimmt die verwaltete PInvoke-Signatur nicht mit der nicht verwalteten Zielsignatur überein. Überprüfen Sie, ob die Aufrufkonvention und die Parameter der PInvoke-Signatur mit der nicht verwalteten Zielsignatur übereinstimmen."  On Wed, Mar 4, 2020 at 7:02 PM Victor “LOST” Milovanov  wrote:AnyCPU assemblies can use x86 and x64 assemblies, as long as they run with corresponding architecture (check Prefer 32-bit setting if you are experiencing issue with x64 assembly). You need a pythonnet dll matching your Python architecture. Regards,Victor  From: Govil NagSent: Wednesday, March 4, 2020 1:51 AMTo: [email protected]: [Python.NET] DLL Processor compatibility hallo, pythonnet dll work either x64 bit processor or x86 processor ..is it possible to run it in visual Studio with "Any CPU"  ___PythonNet mailing list -- [email protected] unsubscribe send an email to [email protected]://mail.python.org/mailman3/lists/pythonnet.python.org/ ___
PythonNet mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/pythonnet.python.org/


[Python.NET] Re: DLL Processor compatibility

2020-03-04 Thread Denis Akhiyarov
Stack imbalance is usually due to mismatch in calling convention which was
fixed around 2018 in pythonnet repo.

On Wed, Mar 4, 2020 at 1:20 PM Victor “LOST” Milovanov <
[email protected]> wrote:

> This sounds like a bug. Can you provide
>
>- full stack trace
>- full OS name and version
>- Python version and architecture
>- Python.NET version
>- the source of Python.NET (e.g. NuGet or pip package, manual build,
>or pip installed from source)
>
>
>
> Regards,
>
> Victor
>
>
>
> *From: *Govil Nag 
> *Sent: *Wednesday, March 4, 2020 11:16 AM
> *To: *A list for users and developers of Python.NET 
> *Subject: *[Python.NET] Re: DLL Processor compatibility
>
>
>
> tried the 32-bit Setting but got the same error an i tried changing the
> python Version also to 32-bit. but got the below
>
> *Error*:
>
> Managed Debugging Assistant "PInvokeStackImbalance": "A call to the
> PInvoke function" Python.Runtime! Python.Runtime.Runtime ::
> PyDict_GetItemString "has disturbed the balance of the batch. The managed
> PInvoke signature probably does not match the unmanaged target signature
> Verify that the calling convention and parameters of the PInvoke signature
> match the unmanaged target signature. "
>
>
>
> On Wed, Mar 4, 2020 at 8:10 PM Govil Nag  wrote:
>
> tried the 32-bit Setting but got the same error an i tried changing the
> python Version also to 32-bit. but got the below
>
> *Error*:Assistent für verwaltetes Debuggen "PInvokeStackImbalance" : "Ein
> Aufruf an die PInvoke-Funktion
> "Python.Runtime!Python.Runtime.Runtime::PyDict_GetItemString" hat das
> Gleichgewicht des Stapels gestört. Wahrscheinlich stimmt die verwaltete
> PInvoke-Signatur nicht mit der nicht verwalteten Zielsignatur überein.
> Überprüfen Sie, ob die Aufrufkonvention und die Parameter der
> PInvoke-Signatur mit der nicht verwalteten Zielsignatur übereinstimmen."
>
>
>
>
>
> On Wed, Mar 4, 2020 at 7:02 PM Victor “LOST” Milovanov <
> [email protected]> wrote:
>
> AnyCPU assemblies can use x86 and x64 assemblies, as long as they run with
> corresponding architecture (check Prefer 32-bit setting
> 
> if you are experiencing issue with x64 assembly).
>
>
>
> You need a pythonnet dll matching your Python architecture.
>
>
>
> Regards,
>
> Victor
>
>
>
>
>
> *From: *Govil Nag 
> *Sent: *Wednesday, March 4, 2020 1:51 AM
> *To: *[email protected]
> *Subject: *[Python.NET] DLL Processor compatibility
>
>
>
> hallo,
>
>
>
> pythonnet dll work either x64 bit processor or x86 processor ..is it
> possible to run it in visual Studio with "Any CPU"
>
>
>
> ___
> PythonNet mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> https://mail.python.org/mailman3/lists/pythonnet.python.org/
>
>
> ___
> PythonNet mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> https://mail.python.org/mailman3/lists/pythonnet.python.org/
>
___
PythonNet mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/pythonnet.python.org/