[Python.NET] import failing help needed

2023-02-12 Thread Mark A Gregory
lState = Py.GIL(); using (Py.GIL()) { dynamic pyproj = Py.Import("pyproj"); _geod = pyproj.Geod(ellps: "WGS84"); } } Regards Mark Gregory ___ Python.NET mailing list -- pytho

[Python.NET] Re: BadImageFormatException or FileNotFoundException- pythonnet and AlphaVSS

2022-07-11 Thread Mark Visser
+1 - in the past I've used https://www.dependencywalker.com/ to figure out the problem. On mac you can use otool -L, and on linux you can use ldd. > On Jul 11, 2022, at 9:38 AM, Alex Earl wrote: > > Sometimes the file not found error occurs because a depende

[Python.NET] Working group notes for January 20, 2022

2022-01-20 Thread Mark Visser
Attendees: Victor, Mark Agenda: Review previous action items: Benedikt will review References PR <https://github.com/pythonnet/pythonnet/pull/1603> over weekend If no comments Victor will merge References PR <https://github.com/pythonnet/pythonnet/pull/1603> Benedikt will release a

[Python.NET] Working group notes for September 2, 2021

2021-09-02 Thread Mark Visser
Attendees: Victor, Benedikt, Mark Agenda: Review previous action items: Victor will continue working on PRs for breaking changes that could land for 3.0 Amos will continue working on porting performance improvements to master "We'll try to come up with a concrete roadmap for the 3.0

[Python.NET] Working group notes for July 22, 2021 - no meeting

2021-07-22 Thread Mark Visser
r your time zone) <https://www.google.com/search?q=2%3A00+pm+EST>. Mark Visser Senior Dev Manager, M&E Unity Technologies - www.unity3d.com <http://www.unity3d.com/> ___ PythonNet mailing list -- [email protected] To unsubscribe send

[Python.NET] Re: Support for Python v3.9

2021-07-22 Thread Mark Visser
iated. If you're able to reproduce crashes, please log them as issues at https://github.com/pythonnet/pythonnet/issues <https://github.com/pythonnet/pythonnet/issues>. If you're able to commit development resources to fixing crashes, even better! Pull requests are always welcome! cheers, -

[Python.NET] Working group notes for July 8, 2021

2021-07-08 Thread Mark Visser
Attendees: Amos, Mark, Victor Agenda: Review last week's action items: Victor to make a list of breaking changes in his branch that could land for 3.0 and discuss with Benedikt Victor to update https://github.com/pythonnet/pythonnet/pull/1133 <https://github.com/pythonnet/pythonnet/p

[Python.NET] Working group notes for June 17, 2021

2021-06-21 Thread Mark Visser
Attendees: Amos, Mark, Felix, Victor Agenda: Review last week's action items: Victor to make a list of breaking changes in his branch that could land for 3.0 and discuss with Benedikt Felix to review #1426 <https://github.com/pythonnet/pythonnet/pull/1426> & #1441 <https://gi

[Python.NET] Re: Support for Python v3.9

2021-05-13 Thread Mark Visser
t b664a1d (branch 3.9) <https://github.com/python/cpython/commit/b664a1df4ee71d3760ab937653b10997081b1794> (2020-10-06) So you should be able to address the CVE by upgrading to one of these patch versions. AFAIK we don't have a timeline for 3.9 support in Python for .NET yet. cheers, -Mark

[Python.NET] Working group notes for April 22, 2021

2021-04-22 Thread Mark Visser
Attendees: Victor, Mark, Felix, Benoit Agenda: Review last week's action items: Victor to make a list of breaking changes in his branch that could land for 3.0 and discuss with Benedikt Felix to review #1426 <https://github.com/pythonnet/pythonnet/pull/1426> Victor to update Imp

[Python.NET] Working group notes for April 8, 2021

2021-04-08 Thread Mark Visser
Attendees: Victor, Mark, Felix, Benoit Agenda: Review last week's action items: everyone should look into the finalizer issues if they can PythonException finalizer update Notes: finalizer issues? not sure what this is referencing, Victor will talk to Benedikt PythonException finalizer u

[Python.NET] Python for Unity 4.0.0-exp.5 now available!

2021-04-06 Thread Mark Visser
oint efforts of Unity, Imaginary Spaces and the Python for .NET developers. Thank you Amos, Felix, Victor, Benedikt, and Benoit! cheers, -Mark Mark Visser Senior Dev Manager, M&E Unity Technologies - www.unity3d.com <http://www.unity3d.com/> ___

[Python.NET] Working group notes for March 25, 2021

2021-03-25 Thread Mark Visser
Attendees: Benedikt, Mark Agenda: Review last week's action items: everyone should look into the finalizer issues if they can PythonException finalizer update Notes: No quorum, meeting canceled Action Items: Mark will check if dev work on existing Unity PRs is still in progress (if not, p

[Python.NET] Working group notes for March 11, 2021

2021-03-11 Thread Mark Visser
Attendees: Felix, Benoit, Mark Agenda: Review last week's action items: Amos will check if _GC_Calloc can be replaced with public function Felix will continue working on PythonException finalizer Notes: Benedikt agrees it's a good idea to get rid of _GC_Calloc, need to be mindful that

[Python.NET] Working group notes for February 11

2021-02-11 Thread Mark Visser
Attendees: Victor, Benedikt, Mark, Felix, Amos Agenda: Review last week's action items: Victor: fix merge conflict and merge PythonDLL PR Victor: create issue for domain reload when .NET objects point to PythonException and/or PyObject Benedikt will check if he can restore perf tests using

[Python.NET] Working group notes for January 14, 2021

2021-01-14 Thread Mark Visser
(I think I forgot to send out the previous meeting notes - you can find them in the Google doc linked at the bottom of this message) Attendees: Benedikt, Mark, Victor, Benoit, Felix, Amos Agenda Review last week's action items: Benedikt will fix 32-bit issues Benedikt to add test that

[Python.NET] Working group notes for November 5, 2020

2020-11-19 Thread Mark Visser
Attendees: Victor, Benedikt, Mark, Amos, Benoit, Felix Agenda Review last week's action items: Felix & Benoit to add tests to master in preparation for the soft reload fix PR - will be ignored for now (or expected to fail - ideal if that's possible) Victor to review these to under

[Python.NET] Working group notes for August 13, 2020

2020-08-13 Thread Mark Visser
Attendees: Mark, Benoit, Felix, Mohamed, Victor, Amos Agenda Review action items from last meeting: Benedikt to confirm WITH_DEBUG builds need to be updated for 3.9 (low priority) and will create issue to document for later Benedikt - Add reference to backports-2.5 branch in README Benedikt

[Python.NET] Working group notes for July 30, 2020

2020-07-30 Thread Mark Visser
Attendees: Amos, Victor, Mark, Benedikt, Mohamed Agenda Review action items from last meeting Benedikt - Check whether we need to change the `WITH_DEBUG` variant of PyObject_TYPE for newer versions of Python (> 3.8?) Benedikt - Add reference to backports-2.5 branch in README Benedikt - Switch

[Python.NET] Working group notes for July 16, 2020

2020-07-16 Thread Mark Visser
Attendees: Benedikt, Mark, Amos Agenda Review action items from last meeting Amos will try to fix soft shutdown 3.8 CI Victor will try to reproduce soft shutdown 3.8 CI failure Since the failure appears to be in codecs tests, Victor will try to check if any codecs fixes were not backported from

[Python.NET] Working group notes for June 4, 2020

2020-06-04 Thread Mark Visser
Attendees: Benedikt, Victor, Mark Agenda Review action items from last meeting Benedikt/Mohamed: extract “Moving files around” PR Benedikt/Mohamed: extract “Support for dotnet SDK” PR Notes PR 1094 reviewed by Amos (thanks!) 2.5 release in progress PR 824 will go into 2.5 RC will be released

[Python.NET] Working group notes for May 21, 2020

2020-05-21 Thread Mark Visser
Attendees: Victor, Amos, Mark Agenda Review action items from last meeting Amos to review PR 1094 Benedikt/Mohamed: extract “Moving files around” PR Benedikt/Mohamed: extract “Support for dotnet SDK” PR Notes Benedikt has been preparing for a release of 2.5 basically ready Python 3.8 support has

[Python.NET] Re: Working group notes for May 7, 2020

2020-05-21 Thread Mark Visser
FYI, I had to regenerate the Zoom link: https://unity3d.zoom.us/j/96545674848?pwd=REc5bTVYSGt0UTdMdXRIRFVXMTlHdz09 <https://unity3d.zoom.us/j/96545674848?pwd=REc5bTVYSGt0UTdMdXRIRFVXMTlHdz09> > On May 7, 2020, at 12:22 PM, Mark Visser wrote: > > Attendees: Victor, Amos, M

[Python.NET] Working group notes for May 7, 2020

2020-05-07 Thread Mark Visser
Attendees: Victor, Amos, Mark Agenda Review action items from last meeting Victor: clean 2.x milestones Benedikt/Mohamed: extract “Moving files around” PR Benedikt/Mohamed: extract “Support for dotnet SDK” PR Add new items to 2.x milestones. If no new items are added, we start cutting release

[Python.NET] Re: intermittent importerror unknown location, module imported as namespace, import from clr works

2020-04-09 Thread Mark Mikofski
Visual Studio. Anyway, for the meantime this workaround seems to work: ``` from clr import pv ``` so I guess I'll have to do that or do as you did and just switch the project to a .NET Framework. thanks! On Thu, Apr 9, 2020 at 4:17 PM Emmanuel Rutovic wrote: > Hi Mark, > > My understan

[Python.NET] Re: intermittent importerror unknown location, module imported as namespace, import from clr works

2020-04-09 Thread Dr. Mark Alexander Mikofski PhD
to work consistently: ``` from clr import pv ``` so I guess I'll have to do that or do as you did and just switch the project to a .NET Framework. Thanks! On Thu, Apr 9, 2020 at 4:17 PM Emmanuel Rutovic wrote: > Hi Mark, > > My understanding (and I might be wrong) is Pythonne

[Python.NET] intermittent importerror unknown location, module imported as namespace, import from clr works

2020-04-09 Thread Mark Mikofski
it doesn't have AssemblyInfo.cs or a very big csproj file, but since I'm compiling from the command line using csc in the Makefile (see repo) I didn't think that would matter. Also, I tried an older project that I started using .Net Framework-4.5 and it also seems to work intermittently, inconsistently. My suspicion is that I somehow screwed up my .NET configuration, but not sure how or what. Anyway, if anyone has ever encountered this, or has any ideas, please let me know. I'm going a little crazy. thanks, 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] Working group notes for March 26, 2020

2020-03-27 Thread Mark Visser
Attendees: Victor, Benedikt, Amos, Mohamed, Mark Agenda Review action items from last meeting: [x] Mohamed will work on list and action codec PRs [x] Victor will ask Benedikt about older solution files/create an issue [x] Victor will look again at Mohamed’s issue with VS 2019 [ ] Continue

[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 unsubs

[Python.NET] How do you add an element to a List in a read-only property?

2020-03-03 Thread mark
n access the list, but he assures me that this is a common C# pattern that I will encounter frequently. I can't just create an instance of ServiceInformation and add the hosts to that, ServiceAPI has no method for getting or setting m_ServiceInformation. Any help in setting me in the right direction would be appreciated. Thanks, Mark Brighton ___ PythonNet mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/pythonnet.python.org/

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

2020-03-03 Thread Mark Brighton
st, but he assures me that this is a common C# pattern that I will encounter frequently. I can't just create an instance of ServiceInformation and add the hosts to that, ServiceAPI has no method for getting or setting m_ServiceInformation. Any help in setting me in the right direction would be appreciated. Thanks, Mark Brighton ___ PythonNet mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/pythonnet.python.org/