From slide.o.mix at gmail.com Sun Nov 1 12:07:12 2015 From: slide.o.mix at gmail.com (Slide) Date: Sun, 01 Nov 2015 17:07:12 +0000 Subject: [Ironpython-users] Accessing Windows 8.1 Runtime API In-Reply-To: References: Message-ID: Its most likely because the WinRT stuff is done via Winmd files, which I don't think are currently supported by the clr module for loading and referencing. I haven't looked at the code, but that is my guess. It probably something that needs to be looked into. On Sun, Nov 1, 2015, 09:28 Wayne Keenan wrote: > Hi, > > I'm trying to access the WIndows 8.1 'Windows.Devices.*' API for > communication with a Bluetooth LE device. I have functional C# code and > would like todo the same in Python. > > I've posted a question on stack here: > http://stackoverflow.com/questions/33242927/how-to-import-and-call-net-deviceinformation-findallasync-from-ironpython > > > In addition to the info on the stack post I've tried compiling IronPython > from source, adding > 8.1 > to various PropoertyGroup's of the *.csproj files, but with no luck. > > I was hoping someone on the list might help me by pointing me in the right > direction please? > > > Thanks > Wayne > _______________________________________________ > Ironpython-users mailing list > Ironpython-users at python.org > https://mail.python.org/mailman/listinfo/ironpython-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From slide.o.mix at gmail.com Sun Nov 1 13:24:40 2015 From: slide.o.mix at gmail.com (Slide) Date: Sun, 01 Nov 2015 18:24:40 +0000 Subject: [Ironpython-users] Attracting new developers Message-ID: It seems like there has been a general lack of development on IronPython for the past little while. I know I have been super busy and I'm sure other developers have as well. Does anyone have any ideas on attracting new developers to start working on 1) fixing issues in the 2.7 line 2) get IP3.0 out the door? -------------- next part -------------- An HTML attachment was scrubbed... URL: From slide.o.mix at gmail.com Mon Nov 2 10:57:55 2015 From: slide.o.mix at gmail.com (Slide) Date: Mon, 02 Nov 2015 15:57:55 +0000 Subject: [Ironpython-users] Accessing Windows 8.1 Runtime API In-Reply-To: References: Message-ID: In looking at this more, it looks like there is quite a bit of magic that needs to happen behind the scenes in order to support Winmd files. They don't contain any code themselves, just type and method definitions. I'm trying to find more information about the language projections that are required. On Sun, Nov 1, 2015 at 10:07 AM Slide wrote: > Its most likely because the WinRT stuff is done via Winmd files, which I > don't think are currently supported by the clr module for loading and > referencing. I haven't looked at the code, but that is my guess. It > probably something that needs to be looked into. > > On Sun, Nov 1, 2015, 09:28 Wayne Keenan wrote: > >> Hi, >> >> I'm trying to access the WIndows 8.1 'Windows.Devices.*' API for >> communication with a Bluetooth LE device. I have functional C# code and >> would like todo the same in Python. >> >> I've posted a question on stack here: >> http://stackoverflow.com/questions/33242927/how-to-import-and-call-net-deviceinformation-findallasync-from-ironpython >> >> >> In addition to the info on the stack post I've tried compiling IronPython >> from source, adding >> 8.1 >> to various PropoertyGroup's of the *.csproj files, but with no luck. >> >> I was hoping someone on the list might help me by pointing me in the >> right direction please? >> >> >> Thanks >> Wayne >> _______________________________________________ >> Ironpython-users mailing list >> Ironpython-users at python.org >> https://mail.python.org/mailman/listinfo/ironpython-users >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wayne.keenan at gmail.com Mon Nov 2 11:44:38 2015 From: wayne.keenan at gmail.com (Wayne Keenan) Date: Mon, 2 Nov 2015 16:44:38 +0000 Subject: [Ironpython-users] Accessing Windows 8.1 Runtime API In-Reply-To: References: Message-ID: <0BB5CADD-A28A-4804-9953-1C28E8837D3F@gmail.com> Hiya, Thanks for taking a look into this. All the best Wayne > On 2 Nov 2015, at 15:57, Slide wrote: > > In looking at this more, it looks like there is quite a bit of magic that needs to happen behind the scenes in order to support Winmd files. They don't contain any code themselves, just type and method definitions. I'm trying to find more information about the language projections that are required. > >> On Sun, Nov 1, 2015 at 10:07 AM Slide wrote: >> Its most likely because the WinRT stuff is done via Winmd files, which I don't think are currently supported by the clr module for loading and referencing. I haven't looked at the code, but that is my guess. It probably something that needs to be looked into. >> >> >>> On Sun, Nov 1, 2015, 09:28 Wayne Keenan wrote: >>> Hi, >>> >>> I'm trying to access the WIndows 8.1 'Windows.Devices.*' API for communication with a Bluetooth LE device. I have functional C# code and would like todo the same in Python. >>> >>> I've posted a question on stack here: http://stackoverflow.com/questions/33242927/how-to-import-and-call-net-deviceinformation-findallasync-from-ironpython >>> >>> >>> In addition to the info on the stack post I've tried compiling IronPython from source, adding >>> 8.1 >>> to various PropoertyGroup's of the *.csproj files, but with no luck. >>> >>> I was hoping someone on the list might help me by pointing me in the right direction please? >>> >>> >>> Thanks >>> Wayne >>> _______________________________________________ >>> Ironpython-users mailing list >>> Ironpython-users at python.org >>> https://mail.python.org/mailman/listinfo/ironpython-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdhardy at gmail.com Mon Nov 2 23:04:36 2015 From: jdhardy at gmail.com (Jeff Hardy) Date: Mon, 2 Nov 2015 20:04:36 -0800 Subject: [Ironpython-users] Accessing Windows 8.1 Runtime API In-Reply-To: References: Message-ID: It should be possible to use the C# language projections from IronPython, but I think there are still issues with IronPython itself that prevent it from targeting WinRT (like generating code at runtime). I believe UWP is supposed to offer the same libraries with more CLR features but to be honest the whole Windows/.NET platform is a mess right now and I have no idea what the best option is. - Jeff On Mon, Nov 2, 2015 at 7:57 AM, Slide wrote: > In looking at this more, it looks like there is quite a bit of magic that > needs to happen behind the scenes in order to support Winmd files. They > don't contain any code themselves, just type and method definitions. I'm > trying to find more information about the language projections that are > required. > > On Sun, Nov 1, 2015 at 10:07 AM Slide wrote: > >> Its most likely because the WinRT stuff is done via Winmd files, which I >> don't think are currently supported by the clr module for loading and >> referencing. I haven't looked at the code, but that is my guess. It >> probably something that needs to be looked into. >> >> On Sun, Nov 1, 2015, 09:28 Wayne Keenan wrote: >> >>> Hi, >>> >>> I'm trying to access the WIndows 8.1 'Windows.Devices.*' API for >>> communication with a Bluetooth LE device. I have functional C# code and >>> would like todo the same in Python. >>> >>> I've posted a question on stack here: >>> http://stackoverflow.com/questions/33242927/how-to-import-and-call-net-deviceinformation-findallasync-from-ironpython >>> >>> >>> In addition to the info on the stack post I've tried compiling >>> IronPython from source, adding >>> 8.1 >>> to various PropoertyGroup's of the *.csproj files, but with no luck. >>> >>> I was hoping someone on the list might help me by pointing me in the >>> right direction please? >>> >>> >>> Thanks >>> Wayne >>> _______________________________________________ >>> Ironpython-users mailing list >>> Ironpython-users at python.org >>> https://mail.python.org/mailman/listinfo/ironpython-users >>> >> > _______________________________________________ > Ironpython-users mailing list > Ironpython-users at python.org > https://mail.python.org/mailman/listinfo/ironpython-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ticotimo at gmail.com Wed Nov 4 16:21:51 2015 From: ticotimo at gmail.com (Tim Orling) Date: Wed, 4 Nov 2015 13:21:51 -0800 Subject: [Ironpython-users] Attracting new developers In-Reply-To: References: Message-ID: I have no suggestions, but completely agree with the sentiment. In particular, I would love to see some traction on PEP-380 , since that is the first thing that came up when I tried to use IP3. I had a look at the code , but it's not obvious how to proceed, even after looking at the cpython code . (Hence why jdhardy labels that issue "hard "). I at least am willing to step in and help. On Sun, Nov 1, 2015 at 10:24 AM, Slide wrote: > It seems like there has been a general lack of development on IronPython > for the past little while. I know I have been super busy and I'm sure other > developers have as well. Does anyone have any ideas on attracting new > developers to start working on 1) fixing issues in the 2.7 line 2) get > IP3.0 out the door? > > _______________________________________________ > Ironpython-users mailing list > Ironpython-users at python.org > https://mail.python.org/mailman/listinfo/ironpython-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.schaber at codesys.com Thu Nov 5 03:02:53 2015 From: m.schaber at codesys.com (Markus Schaber) Date: Thu, 5 Nov 2015 08:02:53 +0000 Subject: [Ironpython-users] Attracting new developers In-Reply-To: References: Message-ID: <727D8E16AE957149B447FE368139F2B58EF5B4ED@SERVER10> Hi, Maybe some of the transformation techniques applied for async/await in C# could be helpful, it looks like a similar problem. The Roslyn Source is open now, so maybe it?s worth a look. Best regards Markus Schaber CODESYS? a trademark of 3S-Smart Software Solutions GmbH Inspiring Automation Solutions ________________________________ 3S-Smart Software Solutions GmbH Dipl.-Inf. Markus Schaber | Product Development Core Technology Memminger Str. 151 | 87439 Kempten | Germany Tel. +49-831-54031-979 | Fax +49-831-54031-50 E-Mail: m.schaber at codesys.com | Web: codesys.com | CODESYS store: store.codesys.com CODESYS forum: forum.codesys.com Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915 ________________________________ This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. Von: Ironpython-users [mailto:ironpython-users-bounces+m.schaber=codesys.com at python.org] Im Auftrag von Tim Orling Gesendet: Donnerstag, 5. November 2015 01:38 An: Slide Cc: ironpython-users at python.org Betreff: Re: [Ironpython-users] Attracting new developers I have no suggestions, but completely agree with the sentiment. In particular, I would love to see some traction on PEP-380, since that is the first thing that came up when I tried to use IP3. I had a look at the code, but it's not obvious how to proceed, even after looking at the cpython code. (Hence why jdhardy labels that issue "hard"). I at least am willing to step in and help. On Sun, Nov 1, 2015 at 10:24 AM, Slide > wrote: It seems like there has been a general lack of development on IronPython for the past little while. I know I have been super busy and I'm sure other developers have as well. Does anyone have any ideas on attracting new developers to start working on 1) fixing issues in the 2.7 line 2) get IP3.0 out the door? _______________________________________________ Ironpython-users mailing list Ironpython-users at python.org https://mail.python.org/mailman/listinfo/ironpython-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From kuno.meyer at gmx.ch Thu Nov 5 03:55:13 2015 From: kuno.meyer at gmx.ch (Kuno Meyer) Date: Thu, 5 Nov 2015 09:55:13 +0100 Subject: [Ironpython-users] Attracting new developers In-Reply-To: References: Message-ID: An HTML attachment was scrubbed... URL: From vano at mail.mipt.ru Thu Nov 5 04:06:57 2015 From: vano at mail.mipt.ru (Ivan Pozdeev) Date: Thu, 5 Nov 2015 12:06:57 +0300 Subject: [Ironpython-users] Attracting new developers In-Reply-To: References: Message-ID: <1302692969.20151105120657@mail.mipt.ru> An HTML attachment was scrubbed... URL: From jdhardy at gmail.com Fri Nov 6 00:06:34 2015 From: jdhardy at gmail.com (Jeff Hardy) Date: Thu, 5 Nov 2015 21:06:34 -0800 Subject: [Ironpython-users] Attracting new developers In-Reply-To: References: Message-ID: On Wed, Nov 4, 2015 at 1:21 PM, Tim Orling wrote: > I have no suggestions, but completely agree with the sentiment. In > particular, I would love to see some traction on PEP-380 > , since that is > the first thing that came up when I tried to use IP3. > > I had a look at the code > , > but it's not obvious how to proceed, even after looking at the cpython > code > . > (Hence why jdhardy labels that issue "hard > "). > > I at least am willing to step in and help. > Dino had a patch the implements this already; hopefully he still has it somewhere. I thought he had sent it to me but I can't find it. Loosely speaking, Markus is on the right track; IronPython has a system for rewriting ASTs that is already used to implement normal generators and can be re-used for yield from (and also the async/await stuff in PEP-492). - Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdhardy at gmail.com Fri Nov 6 00:14:55 2015 From: jdhardy at gmail.com (Jeff Hardy) Date: Thu, 5 Nov 2015 21:14:55 -0800 Subject: [Ironpython-users] Attracting new developers In-Reply-To: References: Message-ID: On Thu, Nov 5, 2015 at 12:55 AM, Kuno Meyer wrote: > First, I would start processing pending pull requests and react to bug > reports on Github (merge / give feedback). A project that has virtually > lost all active core developers and that nobody feels responsible to create > roadmaps and to drive releases is not very likely to attract new developers. > > Then, and maybe I've missed that, there should be an official statement > about the healthiness of the 3.0 branch (compared to the 2.7 branch) and > about where checkins should go. > > And finally, it would be very helpful if some "official" test suite > results would be accessible somewhere, so that any developer can easily see > which of the red tests are actually due to his changes. > > Just my 2 cents. I am using IronPython on a daily basis, but the current > situation makes it hard to recommend it to anybody else. > Agree with all of this. I'll try to be better about checking on PRs within a couple of days instead of letting them linger. I have a half-written blog post on IronPython status to remind people that it's not dead. :) Posting the test suite results is a good idea, and the teamcity server used to have them, but the test suite also needs a lot of work to pass cleanly. Still, I know it's frustrating to only have radio silence form the core devs, but I can only say "sorry, to busy with real life" so many times before it starts to lose all meaning. It's been a very busy year for me; next year should be better, hopefully. - Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdhardy at gmail.com Fri Nov 6 00:26:37 2015 From: jdhardy at gmail.com (Jeff Hardy) Date: Thu, 5 Nov 2015 21:26:37 -0800 Subject: [Ironpython-users] Attracting new developers In-Reply-To: <1302692969.20151105120657@mail.mipt.ru> References: <1302692969.20151105120657@mail.mipt.ru> Message-ID: On Thu, Nov 5, 2015 at 1:06 AM, Ivan Pozdeev wrote: > Sunday, November 1, 2015, 21:24:40 Slide: > > > > It seems like there has been a general lack of development on IronPython > for the past little while. I know I have been super busy and I'm sure other > developers have as well. Does anyone have any ideas on attracting new > developers to start working on 1) fixing issues in the 2.7 line 2) get > IP3.0 out the door? > > > > The only idea I have is: the primary candidate for fixing a bug is someone > who is suffering from it. > As much as I agree with that idea of, IronPython + DLR is about 300 000 lines of C# code, and not always implemented in a straightforward way (for good and not-so-good reasons). The set of people who know C#, Python, and all of the background knowledge to implement a compiler is pretty small. > Even if they can't fix it themselves (setting up a dev env is nontrivial, > and IPy doesn't come with debug symbols to debug the stock instance), they > can, at least, track the cause or be asked to provide a reproducible > example. > Simple test cases are the best thing, because they make it very easy to check if something is fixed. Actually debugging IronPython, though, is a bit of an interesting skill. The Python code is converted to DLR trees which are then converted to interpreter instruction and finally to IL and JITted. There's no straightforward code to step through most of the time, unfortunately, so one has to get proficient at reading interpreter instructions and following it around. I really need to link to http://aosabook.org/en/ironlang.html more because it describes philosophy of IronPython quite well (if I may say so myself). Finally, it shouldn't be that complex to set up an environment: clone it with git, `cd` into the directory and type `make`. This should build IronPython to all supported platforms and put them in bin. You can then run it using `bin/Debug/ipy.exe`. - Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From ticotimo at gmail.com Fri Nov 6 00:41:00 2015 From: ticotimo at gmail.com (Tim Orling) Date: Thu, 5 Nov 2015 21:41:00 -0800 Subject: [Ironpython-users] Attracting new developers In-Reply-To: References: Message-ID: > On Nov 5, 2015, at 9:14 PM, Jeff Hardy wrote: > >> On Thu, Nov 5, 2015 at 12:55 AM, Kuno Meyer wrote: >> First, I would start processing pending pull requests and react to bug reports on Github (merge / give feedback). A project that has virtually lost all active core developers and that nobody feels responsible to create roadmaps and to drive releases is not very likely to attract new developers. >> >> Then, and maybe I've missed that, there should be an official statement about the healthiness of the 3.0 branch (compared to the 2.7 branch) and about where checkins should go. >> >> And finally, it would be very helpful if some "official" test suite results would be accessible somewhere, so that any developer can easily see which of the red tests are actually due to his changes. >> >> Just my 2 cents. I am using IronPython on a daily basis, but the current situation makes it hard to recommend it to anybody else. > > Agree with all of this. I'll try to be better about checking on PRs within a couple of days instead of letting them linger. > > I have a half-written blog post on IronPython status to remind people that it's not dead. :) Posting the test suite results is a good idea, and the teamcity server used to have them, but the test suite also needs a lot of work to pass cleanly. > How about having CI and the tests running on AppVeyor? I'll help with that. > Still, I know it's frustrating to only have radio silence form the core devs, but I can only say "sorry, to busy with real life" so many times before it starts to lose all meaning. It's been a very busy year for me; next year should be better, hopefully. > Sounds like my life. How did we get so busy? > - Jeff > _______________________________________________ > Ironpython-users mailing list > Ironpython-users at python.org > https://mail.python.org/mailman/listinfo/ironpython-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdhardy at gmail.com Mon Nov 9 17:40:50 2015 From: jdhardy at gmail.com (Jeff Hardy) Date: Mon, 9 Nov 2015 14:40:50 -0800 Subject: [Ironpython-users] Attracting new developers In-Reply-To: References: Message-ID: On Thu, Nov 5, 2015 at 9:41 PM, Tim Orling wrote: > > > On Nov 5, 2015, at 9:14 PM, Jeff Hardy wrote: > > On Thu, Nov 5, 2015 at 12:55 AM, Kuno Meyer wrote: > >> First, I would start processing pending pull requests and react to bug >> reports on Github (merge / give feedback). A project that has virtually >> lost all active core developers and that nobody feels responsible to create >> roadmaps and to drive releases is not very likely to attract new developers. >> >> Then, and maybe I've missed that, there should be an official statement >> about the healthiness of the 3.0 branch (compared to the 2.7 branch) and >> about where checkins should go. >> >> And finally, it would be very helpful if some "official" test suite >> results would be accessible somewhere, so that any developer can easily see >> which of the red tests are actually due to his changes. >> >> Just my 2 cents. I am using IronPython on a daily basis, but the current >> situation makes it hard to recommend it to anybody else. >> > > Agree with all of this. I'll try to be better about checking on PRs within > a couple of days instead of letting them linger. > > I have a half-written blog post on IronPython status to remind people that > it's not dead. :) Posting the test suite results is a good idea, and the > teamcity server used to have them, but the test suite also needs a lot of > work to pass cleanly. > > > How about having CI and the tests running on AppVeyor? I'll help with that. > If you can get it running that would be great. I looked at it a while back it seemed simple enough. > > Still, I know it's frustrating to only have radio silence form the core > devs, but I can only say "sorry, to busy with real life" so many times > before it starts to lose all meaning. It's been a very busy year for me; > next year should be better, hopefully. > > Sounds like my life. How did we get so busy? > In my case, family, friends, work - I think it's what old people call "growing up". :) - Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From Sven.Prevrhal at philips.com Tue Nov 10 12:25:57 2015 From: Sven.Prevrhal at philips.com (Prevrhal, Sven) Date: Tue, 10 Nov 2015 17:25:57 +0000 Subject: [Ironpython-users] Adding Python packages to a DLL Message-ID: I would like to include a Python package, such as unittest, to a DLL. How do I do this with pyc? Thanks and Cheers, Sven ________________________________ The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdhardy at gmail.com Thu Nov 12 00:57:53 2015 From: jdhardy at gmail.com (Jeff Hardy) Date: Wed, 11 Nov 2015 21:57:53 -0800 Subject: [Ironpython-users] Upcoming Release 2.7.6 Message-ID: It's been a while (too long) since the last release so it's probably time for another one. There's a few changes already as well as some new PRs to include, and I have a few changes I'm working on as well. Things will be quite busy for me the first few months of next year, so this will probably be a shorter release cycle to get things ready either before Christmas or early January. If you have any particular issue you want looked at, +1 it on the GitHub issues page. The main one outstanding is the issue with weakrefs (such as #1173) which I'm going to try to take care of. It's probably also time to resync the stdlib, which is a pretty major task in and of itself. The other major issue is getting IronPython 3 in a state where people can work on it. I'll pick away at that, but priority is getting 2.7.6 out. - Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From ticotimo at gmail.com Mon Nov 16 16:08:47 2015 From: ticotimo at gmail.com (Tim Orling) Date: Mon, 16 Nov 2015 13:08:47 -0800 Subject: [Ironpython-users] Attracting new developers In-Reply-To: References: Message-ID: On Mon, Nov 9, 2015 at 2:40 PM, Jeff Hardy wrote: > > > On Thu, Nov 5, 2015 at 9:41 PM, Tim Orling wrote: > >> >> >> On Nov 5, 2015, at 9:14 PM, Jeff Hardy wrote: >> >> On Thu, Nov 5, 2015 at 12:55 AM, Kuno Meyer wrote: >> >>> First, I would start processing pending pull requests and react to bug >>> reports on Github (merge / give feedback). A project that has virtually >>> lost all active core developers and that nobody feels responsible to create >>> roadmaps and to drive releases is not very likely to attract new developers. >>> >>> Then, and maybe I've missed that, there should be an official statement >>> about the healthiness of the 3.0 branch (compared to the 2.7 branch) and >>> about where checkins should go. >>> >>> And finally, it would be very helpful if some "official" test suite >>> results would be accessible somewhere, so that any developer can easily see >>> which of the red tests are actually due to his changes. >>> >>> Just my 2 cents. I am using IronPython on a daily basis, but the current >>> situation makes it hard to recommend it to anybody else. >>> >> >> Agree with all of this. I'll try to be better about checking on PRs >> within a couple of days instead of letting them linger. >> >> I have a half-written blog post on IronPython status to remind people >> that it's not dead. :) Posting the test suite results is a good idea, and >> the teamcity server used to have them, but the test suite also needs a lot >> of work to pass cleanly. >> >> >> How about having CI and the tests running on AppVeyor? I'll help with >> that. >> > > If you can get it running that would be great. I looked at it a while back > it seemed simple enough. > First crack at it: https://ci.appveyor.com/project/moto-timo/ironpython3 The appveyor.yml is dead simple: build_script: - .\make.cmd Note that this required a pending PR ( https://github.com/IronLanguages/ironpython3/pull/58). This doesn't run any tests nor try to deploy. AppVeyor has a hard limit of 30 minutes per build (50 minutes for enterprise). I will be working on getting tests running next and see if we break the time limit. For deploying, it gets more complicated because you must have admin rights to the github project in order to set at least one global environment variable. I'll also add the "badges" to my fork's Readme so you can see how that works. I also plan to go back to IronPython 2.7 branch for the same... although I would rather we spend our energy to push forward on IronPython 3 :) > > >> >> Still, I know it's frustrating to only have radio silence form the core >> devs, but I can only say "sorry, to busy with real life" so many times >> before it starts to lose all meaning. It's been a very busy year for me; >> next year should be better, hopefully. >> >> Sounds like my life. How did we get so busy? >> > > In my case, family, friends, work - I think it's what old people call > "growing up". :) > Indeed. --Tim -------------- next part -------------- An HTML attachment was scrubbed... URL: From ticotimo at gmail.com Mon Nov 16 16:26:59 2015 From: ticotimo at gmail.com (Tim Orling) Date: Mon, 16 Nov 2015 13:26:59 -0800 Subject: [Ironpython-users] Attracting new developers In-Reply-To: References: Message-ID: On Mon, Nov 16, 2015 at 1:08 PM, Tim Orling wrote: > > > On Mon, Nov 9, 2015 at 2:40 PM, Jeff Hardy wrote: > >> >> >> On Thu, Nov 5, 2015 at 9:41 PM, Tim Orling wrote: >> >>> >>> >>> On Nov 5, 2015, at 9:14 PM, Jeff Hardy wrote: >>> >>> On Thu, Nov 5, 2015 at 12:55 AM, Kuno Meyer wrote: >>> >>>> First, I would start processing pending pull requests and react to bug >>>> reports on Github (merge / give feedback). A project that has virtually >>>> lost all active core developers and that nobody feels responsible to create >>>> roadmaps and to drive releases is not very likely to attract new developers. >>>> >>>> Then, and maybe I've missed that, there should be an official statement >>>> about the healthiness of the 3.0 branch (compared to the 2.7 branch) and >>>> about where checkins should go. >>>> >>>> And finally, it would be very helpful if some "official" test suite >>>> results would be accessible somewhere, so that any developer can easily see >>>> which of the red tests are actually due to his changes. >>>> >>>> Just my 2 cents. I am using IronPython on a daily basis, but the >>>> current situation makes it hard to recommend it to anybody else. >>>> >>> >>> Agree with all of this. I'll try to be better about checking on PRs >>> within a couple of days instead of letting them linger. >>> >>> I have a half-written blog post on IronPython status to remind people >>> that it's not dead. :) Posting the test suite results is a good idea, and >>> the teamcity server used to have them, but the test suite also needs a lot >>> of work to pass cleanly. >>> >>> >>> How about having CI and the tests running on AppVeyor? I'll help with >>> that. >>> >> >> If you can get it running that would be great. I looked at it a while >> back it seemed simple enough. >> > > First crack at it: > https://ci.appveyor.com/project/moto-timo/ironpython3 > > The appveyor.yml is dead simple: > build_script: - .\make.cmd > > Note that this required a pending PR ( > https://github.com/IronLanguages/ironpython3/pull/58). > > This doesn't run any tests nor try to deploy. AppVeyor has a hard limit of > 30 minutes per build (50 minutes for enterprise). I will be working on > getting tests running next and see if we break the time limit. > > For deploying, it gets more complicated because you must have admin rights > to the github project in order to set at least one global environment > variable. > > I'll also add the "badges" to my fork's Readme so you can see how that > works. > > I also plan to go back to IronPython 2.7 branch for the same... although I > would rather we spend our energy to push forward on IronPython 3 :) > I also got Travis CI building with mono: https://travis-ci.org/moto-timo/ironpython3 The .travis.yml is likewise dead simple: language: csharpscript: - make > > >> >> >>> >>> Still, I know it's frustrating to only have radio silence form the core >>> devs, but I can only say "sorry, to busy with real life" so many times >>> before it starts to lose all meaning. It's been a very busy year for me; >>> next year should be better, hopefully. >>> >>> Sounds like my life. How did we get so busy? >>> >> >> In my case, family, friends, work - I think it's what old people call >> "growing up". :) >> > > Indeed. > > --Tim > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From heyx at evget.com Sun Nov 15 21:27:47 2015 From: heyx at evget.com (=?GBK?B?us7TzvbO?=) Date: Mon, 16 Nov 2015 10:27:47 +0800 (CST) Subject: [Ironpython-users] How to watch the variables(global and local variable) value embedding in c# Code ? Message-ID: <3c740831.5dca.1510e1ea167.Coremail.heyx@evget.com> Hi, I'm using IronPython embedding in vs2012 with c# code. and I need to watch the Var's Value when the script is debugging? is the current Version IronPython support this ? if it suppord ,Is there any method which I can use ?or when the IronPython can support it ? Could you please give me some help ? you can see my project there:[https://github.com/heyxEvget/IronPython-Debugger/tree/master/SoftWare] I use this code: engine.SetTrace(OnTraceback); private void OnTraceback(TraceBackFrame frame, string result, object payload) { switch (result) { case "call": TracebackCall(); break; case "line": TracebackLine(); break; case "return": TracebackReturn(); break; } } -------------- next part -------------- An HTML attachment was scrubbed... URL: From issworld2000 at yahoo.com Mon Nov 16 07:00:19 2015 From: issworld2000 at yahoo.com (Djordje Spasic) Date: Mon, 16 Nov 2015 12:00:19 +0000 (UTC) Subject: [Ironpython-users] PINVOKE exception from loaded .NET assembly References: <1852754810.5579254.1447675219441.JavaMail.yahoo.ref@mail.yahoo.com> Message-ID: <1852754810.5579254.1447675219441.JavaMail.yahoo@mail.yahoo.com> Hello to IronPython community, I am trying call a method from loaded .NET assembly in python, but for some reason, I am getting a PINVOKE exception. Is there some way to print what is the reason for that exception? This is the code: import clr clr.AddReferenceToFileAndPath("c:/gdal/gdal2bb/gdal_csharp.dll") import OSGeo.GDAL as gdalc gdalc.Gdal.AllRegister() The last line raises: The type initializer for 'OSGeo.GDAL.GdalPINVOKE' threw an exception. I am essentially trying to open the file by replicating this c++ example. What is the reason for the raised PINVOKE exception? I have a 32 bit windows XP SP3 operating system and loaded gdal_csharp.dll is 32 bit compiled, download?ed from gisinternals.com. I attached gdal_csharp.dll and all other its .dlls in here. I am using IronPython 2.7, which is what Rhino 5 application is shipped with (basically, I am using IronPython 2.7 interpreter inside Rhino 5 application). This is the gdal documentation page. I tried looking for an answer at Gdal's mailing list too, but without success. Any help would be appreciated. Thank you in advance, Kind regards, Djordje Spasic -------------- next part -------------- An HTML attachment was scrubbed... URL: From issworld2000 at yahoo.com Tue Nov 17 05:12:55 2015 From: issworld2000 at yahoo.com (Djordje Spasic) Date: Tue, 17 Nov 2015 10:12:55 +0000 (UTC) Subject: [Ironpython-users] PINVOKE exception from loaded .NET assembly In-Reply-To: <727D8E16AE957149B447FE368139F2B58EF8BB09@SERVER10> References: <727D8E16AE957149B447FE368139F2B58EF8BB09@SERVER10> Message-ID: <1729618507.6123825.1447755175609.JavaMail.yahoo@mail.yahoo.com> Hi Markus, Thank you for the reply. How can I access the inner exception in ironpython? I tried this: import clr clr.AddReferenceToFileAndPath("c:/gdal/gdal2bb/gdal_csharp.dll") import OSGeo.GDAL as gdalc try: gdalc.Gdal.AllRegister() except System.Exception as e: print e.Message But it raises the same message: The type initializer for 'OSGeo.GDAL.GdalPINVOKE' threw an exception. So this is not an inner exception? Regards, Djordje From: Markus Schaber To: Djordje Spasic Sent: Tuesday, November 17, 2015 7:57 AM Subject: RE: [Ironpython-users] PINVOKE exception from loaded .NET assembly Hello, From: Djordje > I am trying call a method from loaded .NET assembly in python, but for some reason, I am getting a PINVOKE exception. Is there some way to print what is the reason for that exception? Maybe you could try to access the inner exception? Best regards Markus Schaber CODESYS? a trademark of 3S-Smart Software Solutions GmbH Inspiring Automation Solutions ________________________________________ 3S-Smart Software Solutions GmbH Dipl.-Inf. Markus Schaber | Product Development Core Technology Memminger Str. 151 | 87439 Kempten | Germany Tel. +49-831-54031-979 | Fax +49-831-54031-50 E-Mail: m.schaber at codesys.com | Web: codesys.com | CODESYS store: store.codesys.com CODESYS forum: forum.codesys.com Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915 ________________________________________ This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. -------------- next part -------------- An HTML attachment was scrubbed... URL: From issworld2000 at yahoo.com Tue Nov 17 05:43:12 2015 From: issworld2000 at yahoo.com (Djordje Spasic) Date: Tue, 17 Nov 2015 10:43:12 +0000 (UTC) Subject: [Ironpython-users] PINVOKE exception from loaded .NET assembly In-Reply-To: <727D8E16AE957149B447FE368139F2B58EF8BC83@SERVER10> References: <727D8E16AE957149B447FE368139F2B58EF8BC83@SERVER10> Message-ID: <824287498.6188758.1447756992443.JavaMail.yahoo@mail.yahoo.com> Thank you. I am not a programmer myself. How would either InnerException or AggregateException be used in this case?I tried:try: gdalc.Gdal.AllRegister() except System.AggregateException as e: print "exception: ", e.InnerExceptions ? But that didn't seem to be correct. From: Markus Schaber To: Djordje Spasic ; "ironpython-users at python.org" Sent: Tuesday, November 17, 2015 11:31 AM Subject: RE: [Ironpython-users] PINVOKE exception from loaded .NET assembly #yiv9011599688 #yiv9011599688 -- _filtered #yiv9011599688 {font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv9011599688 {font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv9011599688 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;} _filtered #yiv9011599688 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;} _filtered #yiv9011599688 {font-family:Consolas;panose-1:2 11 6 9 2 2 4 3 2 4;} _filtered #yiv9011599688 {font-family:Verdana;panose-1:2 11 6 4 3 5 4 4 2 4;}#yiv9011599688 #yiv9011599688 p.yiv9011599688MsoNormal, #yiv9011599688 li.yiv9011599688MsoNormal, #yiv9011599688 div.yiv9011599688MsoNormal {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;}#yiv9011599688 a:link, #yiv9011599688 span.yiv9011599688MsoHyperlink {color:blue;text-decoration:underline;}#yiv9011599688 a:visited, #yiv9011599688 span.yiv9011599688MsoHyperlinkFollowed {color:purple;text-decoration:underline;}#yiv9011599688 code {}#yiv9011599688 pre {margin:0cm;margin-bottom:.0001pt;font-size:10.0pt;}#yiv9011599688 p.yiv9011599688MsoAcetate, #yiv9011599688 li.yiv9011599688MsoAcetate, #yiv9011599688 div.yiv9011599688MsoAcetate {margin:0cm;margin-bottom:.0001pt;font-size:8.0pt;}#yiv9011599688 span.yiv9011599688HTMLVorformatiertZchn {font-family:Consolas;}#yiv9011599688 span.yiv9011599688E-MailFormatvorlage20 {color:windowtext;font-weight:normal;font-style:normal;}#yiv9011599688 span.yiv9011599688SprechblasentextZchn {}#yiv9011599688 .yiv9011599688MsoChpDefault {font-size:10.0pt;} _filtered #yiv9011599688 {margin:70.85pt 70.85pt 2.0cm 70.85pt;}#yiv9011599688 div.yiv9011599688WordSection1 {}#yiv9011599688 Hi, ? The inner exception (if present) can be accessed via the InnerException property of the ?outer? exception: ? https://msdn.microsoft.com/de-de/library/system.exception.innerexception%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396 ? (This is a .NET feature, not an IronPython specific one.) ? There?s also an AggregateException which is used in some cases: https://msdn.microsoft.com/de-de/library/system.aggregateexception%28v=vs.110%29.aspx ? ? Gr??e, Markus ? From: Djordje Spasic [mailto:issworld2000 at yahoo.com] Sent: Tuesday, November 17, 2015 11:16 AM To: Markus Schaber; ironpython-users at python.org Subject: Re: [Ironpython-users] PINVOKE exception from loaded .NET assembly ? Hi Markus, Thank you for the reply. How can I access the inner exception in ironpython? I tried this: ? import clr clr.AddReferenceToFileAndPath("c:/gdal/gdal2bb/gdal_csharp.dll") ? import OSGeo.GDAL as gdalc ? try: ??? gdalc.Gdal.AllRegister() except System.Exception as e: ??? print e.Message ? But it raises the same message: ? The type initializer for 'OSGeo.GDAL.GdalPINVOKE' threw an exception. So this is not an inner exception? Regards, Djordje ? From: Markus Schaber To: Djordje Spasic Sent: Tuesday, November 17, 2015 7:57 AM Subject: RE: [Ironpython-users] PINVOKE exception from loaded .NET assembly Hello, From: Djordje ? > I am trying call a method from loaded .NET assembly in python, but for some reason, I am getting a PINVOKE exception. Is there some way to print what is the reason for that exception? Maybe you could try to access the inner exception? Best regards Markus Schaber CODESYS? a trademark of 3S-Smart Software Solutions GmbH Inspiring Automation Solutions ________________________________________ 3S-Smart Software Solutions GmbH Dipl.-Inf. Markus Schaber | Product Development Core Technology Memminger Str. 151 | 87439 Kempten | Germany Tel. +49-831-54031-979 | Fax +49-831-54031-50 E-Mail: m.schaber at codesys.com | Web: codesys.com | CODESYS store: store.codesys.com CODESYS forum: forum.codesys.com Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915 ________________________________________ This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. ? ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.schaber at codesys.com Tue Nov 17 05:31:48 2015 From: m.schaber at codesys.com (Markus Schaber) Date: Tue, 17 Nov 2015 10:31:48 +0000 Subject: [Ironpython-users] PINVOKE exception from loaded .NET assembly In-Reply-To: <1729618507.6123825.1447755175609.JavaMail.yahoo@mail.yahoo.com> References: <727D8E16AE957149B447FE368139F2B58EF8BB09@SERVER10> <1729618507.6123825.1447755175609.JavaMail.yahoo@mail.yahoo.com> Message-ID: <727D8E16AE957149B447FE368139F2B58EF8BC83@SERVER10> Hi, The inner exception (if present) can be accessed via the InnerException property of the ?outer? exception: https://msdn.microsoft.com/de-de/library/system.exception.innerexception%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396 (This is a .NET feature, not an IronPython specific one.) There?s also an AggregateException which is used in some cases: https://msdn.microsoft.com/de-de/library/system.aggregateexception%28v=vs.110%29.aspx Gr??e, Markus From: Djordje Spasic [mailto:issworld2000 at yahoo.com] Sent: Tuesday, November 17, 2015 11:16 AM To: Markus Schaber; ironpython-users at python.org Subject: Re: [Ironpython-users] PINVOKE exception from loaded .NET assembly Hi Markus, Thank you for the reply. How can I access the inner exception in ironpython? I tried this: import clr clr.AddReferenceToFileAndPath("c:/gdal/gdal2bb/gdal_csharp.dll") import OSGeo.GDAL as gdalc try: gdalc.Gdal.AllRegister() except System.Exception as e: print e.Message But it raises the same message: The type initializer for 'OSGeo.GDAL.GdalPINVOKE' threw an exception. So this is not an inner exception? Regards, Djordje ________________________________ From: Markus Schaber > To: Djordje Spasic > Sent: Tuesday, November 17, 2015 7:57 AM Subject: RE: [Ironpython-users] PINVOKE exception from loaded .NET assembly Hello, From: Djordje > I am trying call a method from loaded .NET assembly in python, but for some reason, I am getting a PINVOKE exception. Is there some way to print what is the reason for that exception? Maybe you could try to access the inner exception? Best regards Markus Schaber CODESYS? a trademark of 3S-Smart Software Solutions GmbH Inspiring Automation Solutions ________________________________________ 3S-Smart Software Solutions GmbH Dipl.-Inf. Markus Schaber | Product Development Core Technology Memminger Str. 151 | 87439 Kempten | Germany Tel. +49-831-54031-979 | Fax +49-831-54031-50 E-Mail: m.schaber at codesys.com | Web: codesys.com | CODESYS store: store.codesys.com CODESYS forum: forum.codesys.com Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915 ________________________________________ This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.schaber at codesys.com Tue Nov 17 05:52:00 2015 From: m.schaber at codesys.com (Markus Schaber) Date: Tue, 17 Nov 2015 10:52:00 +0000 Subject: [Ironpython-users] PINVOKE exception from loaded .NET assembly In-Reply-To: <824287498.6188758.1447756992443.JavaMail.yahoo@mail.yahoo.com> References: <727D8E16AE957149B447FE368139F2B58EF8BC83@SERVER10> <824287498.6188758.1447756992443.JavaMail.yahoo@mail.yahoo.com> Message-ID: <727D8E16AE957149B447FE368139F2B58EF8BCDF@SERVER10> Hi, it seems, in your case, it?s not an aggregate exception, so you just need to access the InnerException property (without an ?s? at the end) of your System.Exception Best regards Markus Schaber CODESYS? a trademark of 3S-Smart Software Solutions GmbH Inspiring Automation Solutions ________________________________ 3S-Smart Software Solutions GmbH Dipl.-Inf. Markus Schaber | Product Development Core Technology Memminger Str. 151 | 87439 Kempten | Germany Tel. +49-831-54031-979 | Fax +49-831-54031-50 E-Mail: m.schaber at codesys.com | Web: codesys.com | CODESYS store: store.codesys.com CODESYS forum: forum.codesys.com Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915 ________________________________ This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From: Djordje Spasic [mailto:issworld2000 at yahoo.com] Sent: Tuesday, November 17, 2015 11:46 AM To: Markus Schaber; ironpython-users at python.org Subject: Re: [Ironpython-users] PINVOKE exception from loaded .NET assembly Thank you. I am not a programmer myself. How would either InnerException or AggregateException be used in this case? I tried: try: gdalc.Gdal.AllRegister() except System.AggregateException as e: print "exception: ", e.InnerExceptions But that didn't seem to be correct. ________________________________ From: Markus Schaber > To: Djordje Spasic >; "ironpython-users at python.org" > Sent: Tuesday, November 17, 2015 11:31 AM Subject: RE: [Ironpython-users] PINVOKE exception from loaded .NET assembly Hi, The inner exception (if present) can be accessed via the InnerException property of the ?outer? exception: https://msdn.microsoft.com/de-de/library/system.exception.innerexception%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396 (This is a .NET feature, not an IronPython specific one.) There?s also an AggregateException which is used in some cases: https://msdn.microsoft.com/de-de/library/system.aggregateexception%28v=vs.110%29.aspx Gr??e, Markus From: Djordje Spasic [mailto:issworld2000 at yahoo.com] Sent: Tuesday, November 17, 2015 11:16 AM To: Markus Schaber; ironpython-users at python.org Subject: Re: [Ironpython-users] PINVOKE exception from loaded .NET assembly Hi Markus, Thank you for the reply. How can I access the inner exception in ironpython? I tried this: import clr clr.AddReferenceToFileAndPath("c:/gdal/gdal2bb/gdal_csharp.dll") import OSGeo.GDAL as gdalc try: gdalc.Gdal.AllRegister() except System.Exception as e: print e.Message But it raises the same message: The type initializer for 'OSGeo.GDAL.GdalPINVOKE' threw an exception. So this is not an inner exception? Regards, Djordje ________________________________ From: Markus Schaber > To: Djordje Spasic > Sent: Tuesday, November 17, 2015 7:57 AM Subject: RE: [Ironpython-users] PINVOKE exception from loaded .NET assembly Hello, From: Djordje > I am trying call a method from loaded .NET assembly in python, but for some reason, I am getting a PINVOKE exception. Is there some way to print what is the reason for that exception? Maybe you could try to access the inner exception? Best regards Markus Schaber CODESYS? a trademark of 3S-Smart Software Solutions GmbH Inspiring Automation Solutions ________________________________________ 3S-Smart Software Solutions GmbH Dipl.-Inf. Markus Schaber | Product Development Core Technology Memminger Str. 151 | 87439 Kempten | Germany Tel. +49-831-54031-979 | Fax +49-831-54031-50 E-Mail: m.schaber at codesys.com | Web: codesys.com | CODESYS store: store.codesys.com CODESYS forum: forum.codesys.com Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915 ________________________________________ This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. -------------- next part -------------- An HTML attachment was scrubbed... URL: From vano at mail.mipt.ru Tue Nov 17 06:01:09 2015 From: vano at mail.mipt.ru (Ivan Pozdeev) Date: Tue, 17 Nov 2015 14:01:09 +0300 Subject: [Ironpython-users] How to watch the variables(global and local variable) value embedding in c# Code ? In-Reply-To: <3c740831.5dca.1510e1ea167.Coremail.heyx@evget.com> References: <3c740831.5dca.1510e1ea167.Coremail.heyx@evget.com> Message-ID: <1786267632.20151117140109@mail.mipt.ru> An HTML attachment was scrubbed... URL: From issworld2000 at yahoo.com Tue Nov 17 06:09:59 2015 From: issworld2000 at yahoo.com (Djordje Spasic) Date: Tue, 17 Nov 2015 11:09:59 +0000 (UTC) Subject: [Ironpython-users] PINVOKE exception from loaded .NET assembly In-Reply-To: <727D8E16AE957149B447FE368139F2B58EF8BCDF@SERVER10> References: <727D8E16AE957149B447FE368139F2B58EF8BCDF@SERVER10> Message-ID: <1784865490.6512088.1447758599597.JavaMail.yahoo@mail.yahoo.com> That worked perfectly and saved my day. Thank you Markus! Kind regards, Djordje From: Markus Schaber To: Djordje Spasic ; "ironpython-users at python.org" Sent: Tuesday, November 17, 2015 11:52 AM Subject: RE: [Ironpython-users] PINVOKE exception from loaded .NET assembly #yiv0525296540 #yiv0525296540 -- _filtered #yiv0525296540 {font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv0525296540 {font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv0525296540 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;} _filtered #yiv0525296540 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;} _filtered #yiv0525296540 {font-family:Consolas;panose-1:2 11 6 9 2 2 4 3 2 4;} _filtered #yiv0525296540 {font-family:Verdana;panose-1:2 11 6 4 3 5 4 4 2 4;}#yiv0525296540 #yiv0525296540 p.yiv0525296540MsoNormal, #yiv0525296540 li.yiv0525296540MsoNormal, #yiv0525296540 div.yiv0525296540MsoNormal {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;}#yiv0525296540 a:link, #yiv0525296540 span.yiv0525296540MsoHyperlink {color:blue;text-decoration:underline;}#yiv0525296540 a:visited, #yiv0525296540 span.yiv0525296540MsoHyperlinkFollowed {color:purple;text-decoration:underline;}#yiv0525296540 code {}#yiv0525296540 pre {margin:0cm;margin-bottom:.0001pt;font-size:10.0pt;}#yiv0525296540 p.yiv0525296540MsoAcetate, #yiv0525296540 li.yiv0525296540MsoAcetate, #yiv0525296540 div.yiv0525296540MsoAcetate {margin:0cm;margin-bottom:.0001pt;font-size:8.0pt;}#yiv0525296540 span.yiv0525296540HTMLVorformatiertZchn {font-family:Consolas;}#yiv0525296540 p.yiv0525296540msoacetate, #yiv0525296540 li.yiv0525296540msoacetate, #yiv0525296540 div.yiv0525296540msoacetate {margin-right:0cm;margin-left:0cm;font-size:12.0pt;}#yiv0525296540 p.yiv0525296540msonormal, #yiv0525296540 li.yiv0525296540msonormal, #yiv0525296540 div.yiv0525296540msonormal {margin-right:0cm;margin-left:0cm;font-size:12.0pt;}#yiv0525296540 p.yiv0525296540msochpdefault, #yiv0525296540 li.yiv0525296540msochpdefault, #yiv0525296540 div.yiv0525296540msochpdefault {margin-right:0cm;margin-left:0cm;font-size:12.0pt;}#yiv0525296540 span.yiv0525296540msohyperlink {}#yiv0525296540 span.yiv0525296540msohyperlinkfollowed {}#yiv0525296540 span.yiv0525296540htmlvorformatiertzchn {}#yiv0525296540 span.yiv0525296540e-mailformatvorlage20 {}#yiv0525296540 p.yiv0525296540msonormal1, #yiv0525296540 li.yiv0525296540msonormal1, #yiv0525296540 div.yiv0525296540msonormal1 {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;}#yiv0525296540 span.yiv0525296540msohyperlink1 {color:blue;text-decoration:underline;}#yiv0525296540 span.yiv0525296540msohyperlinkfollowed1 {color:purple;text-decoration:underline;}#yiv0525296540 p.yiv0525296540msoacetate1, #yiv0525296540 li.yiv0525296540msoacetate1, #yiv0525296540 div.yiv0525296540msoacetate1 {margin:0cm;margin-bottom:.0001pt;font-size:8.0pt;}#yiv0525296540 span.yiv0525296540htmlvorformatiertzchn1 {font-family:Consolas;}#yiv0525296540 span.yiv0525296540e-mailformatvorlage201 {color:windowtext;font-weight:normal;font-style:normal;}#yiv0525296540 p.yiv0525296540msochpdefault1, #yiv0525296540 li.yiv0525296540msochpdefault1, #yiv0525296540 div.yiv0525296540msochpdefault1 {margin-right:0cm;margin-left:0cm;font-size:10.0pt;}#yiv0525296540 span.yiv0525296540E-MailFormatvorlage34 {color:windowtext;font-weight:normal;font-style:normal;}#yiv0525296540 span.yiv0525296540SprechblasentextZchn {}#yiv0525296540 .yiv0525296540MsoChpDefault {font-size:10.0pt;} _filtered #yiv0525296540 {margin:70.85pt 70.85pt 2.0cm 70.85pt;}#yiv0525296540 div.yiv0525296540WordSection1 {}#yiv0525296540 Hi, ? it seems, in your case, it?s not an aggregate exception, so you just need to access the InnerException property (without an ?s? at the end) of your System.Exception ? Best regards Markus Schaber CODESYS?a trademark of 3S-Smart Software Solutions GmbH Inspiring Automation Solutions 3S-Smart Software Solutions GmbH Dipl.-Inf. Markus Schaber | Product Development Core Technology Memminger Str. 151 | 87439 Kempten | Germany Tel. +49-831-54031-979 | Fax +49-831-54031-50 E-Mail: m.schaber at codesys.com | Web: codesys.com | CODESYS store: store.codesys.com CODESYS forum: forum.codesys.com Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From: Djordje Spasic [mailto:issworld2000 at yahoo.com] Sent: Tuesday, November 17, 2015 11:46 AM To: Markus Schaber; ironpython-users at python.org Subject: Re: [Ironpython-users] PINVOKE exception from loaded .NET assembly ? Thank you. I am not a programmer myself. How would either InnerException or AggregateException be used in this case? I tried: try:?? ?gdalc.Gdal.AllRegister() except System.AggregateException as e: ??? print "exception: ", e.InnerExceptions ? ? But that didn't seem to be correct. From: Markus Schaber To: Djordje Spasic ; "ironpython-users at python.org" Sent: Tuesday, November 17, 2015 11:31 AM Subject: RE: [Ironpython-users] PINVOKE exception from loaded .NET assembly ? Hi, ? The inner exception (if present) can be accessed via the InnerException property of the ?outer? exception: ? https://msdn.microsoft.com/de-de/library/system.exception.innerexception%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396 ? (This is a .NET feature, not an IronPython specific one.) ? There?s also an AggregateException which is used in some cases: https://msdn.microsoft.com/de-de/library/system.aggregateexception%28v=vs.110%29.aspx ? ? Gr??e, Markus ? ? From: Djordje Spasic [mailto:issworld2000 at yahoo.com] Sent: Tuesday, November 17, 2015 11:16 AM To: Markus Schaber; ironpython-users at python.org Subject: Re: [Ironpython-users] PINVOKE exception from loaded .NET assembly ? Hi Markus, Thank you for the reply. How can I access the inner exception in ironpython? I tried this: ? import clr clr.AddReferenceToFileAndPath("c:/gdal/gdal2bb/gdal_csharp.dll") ? import OSGeo.GDAL as gdalc ? try: ??? gdalc.Gdal.AllRegister() except System.Exception as e: ??? print e.Message ? But it raises the same message: ? The type initializer for 'OSGeo.GDAL.GdalPINVOKE' threw an exception. So this is not an inner exception? ? ? Regards, Djordje ? From: Markus Schaber To: Djordje Spasic Sent: Tuesday, November 17, 2015 7:57 AM Subject: RE: [Ironpython-users] PINVOKE exception from loaded .NET assembly Hello, From: Djordje ? > I am trying call a method from loaded .NET assembly in python, but for some reason, I am getting a PINVOKE exception. Is there some way to print what is the reason for that exception? Maybe you could try to access the inner exception? Best regards Markus Schaber CODESYS? a trademark of 3S-Smart Software Solutions GmbH Inspiring Automation Solutions ________________________________________ 3S-Smart Software Solutions GmbH Dipl.-Inf. Markus Schaber | Product Development Core Technology Memminger Str. 151 | 87439 Kempten | Germany Tel. +49-831-54031-979 | Fax +49-831-54031-50 E-Mail: m.schaber at codesys.com | Web: codesys.com | CODESYS store: store.codesys.com CODESYS forum: forum.codesys.com Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915 ________________________________________ This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. ? ? ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdhardy at gmail.com Tue Nov 24 01:55:20 2015 From: jdhardy at gmail.com (Jeff Hardy) Date: Mon, 23 Nov 2015 22:55:20 -0800 Subject: [Ironpython-users] Attracting new developers In-Reply-To: References: Message-ID: That's awesome, thanks. I'll steal what I can to set it up for real when I get a chance (sadly, probably not until next year). Tests will be harder, since I want the test infrastructure to be capable of running for Xamarin (iOS/Android) and UWP (or whatever it is by the time I get around to it.) At least for the core language tests. - Jeff On Mon, Nov 16, 2015 at 1:26 PM, Tim Orling wrote: > > On Mon, Nov 16, 2015 at 1:08 PM, Tim Orling wrote: > >> >> >> On Mon, Nov 9, 2015 at 2:40 PM, Jeff Hardy wrote: >> >>> >>> >>> On Thu, Nov 5, 2015 at 9:41 PM, Tim Orling wrote: >>> >>>> >>>> >>>> On Nov 5, 2015, at 9:14 PM, Jeff Hardy wrote: >>>> >>>> On Thu, Nov 5, 2015 at 12:55 AM, Kuno Meyer wrote: >>>> >>>>> First, I would start processing pending pull requests and react to bug >>>>> reports on Github (merge / give feedback). A project that has virtually >>>>> lost all active core developers and that nobody feels responsible to create >>>>> roadmaps and to drive releases is not very likely to attract new developers. >>>>> >>>>> Then, and maybe I've missed that, there should be an official >>>>> statement about the healthiness of the 3.0 branch (compared to the 2.7 >>>>> branch) and about where checkins should go. >>>>> >>>>> And finally, it would be very helpful if some "official" test suite >>>>> results would be accessible somewhere, so that any developer can easily see >>>>> which of the red tests are actually due to his changes. >>>>> >>>>> Just my 2 cents. I am using IronPython on a daily basis, but the >>>>> current situation makes it hard to recommend it to anybody else. >>>>> >>>> >>>> Agree with all of this. I'll try to be better about checking on PRs >>>> within a couple of days instead of letting them linger. >>>> >>>> I have a half-written blog post on IronPython status to remind people >>>> that it's not dead. :) Posting the test suite results is a good idea, and >>>> the teamcity server used to have them, but the test suite also needs a lot >>>> of work to pass cleanly. >>>> >>>> >>>> How about having CI and the tests running on AppVeyor? I'll help with >>>> that. >>>> >>> >>> If you can get it running that would be great. I looked at it a while >>> back it seemed simple enough. >>> >> >> First crack at it: >> https://ci.appveyor.com/project/moto-timo/ironpython3 >> >> The appveyor.yml is dead simple: >> build_script: - .\make.cmd >> >> Note that this required a pending PR ( >> https://github.com/IronLanguages/ironpython3/pull/58). >> >> This doesn't run any tests nor try to deploy. AppVeyor has a hard limit >> of 30 minutes per build (50 minutes for enterprise). I will be working on >> getting tests running next and see if we break the time limit. >> >> For deploying, it gets more complicated because you must have admin >> rights to the github project in order to set at least one global >> environment variable. >> >> I'll also add the "badges" to my fork's Readme so you can see how that >> works. >> >> I also plan to go back to IronPython 2.7 branch for the same... although >> I would rather we spend our energy to push forward on IronPython 3 :) >> > > I also got Travis CI building with mono: > https://travis-ci.org/moto-timo/ironpython3 > > The .travis.yml is likewise dead simple: > > language: csharpscript: - make > > >> >> >>> >>> >>>> >>>> Still, I know it's frustrating to only have radio silence form the core >>>> devs, but I can only say "sorry, to busy with real life" so many times >>>> before it starts to lose all meaning. It's been a very busy year for me; >>>> next year should be better, hopefully. >>>> >>>> Sounds like my life. How did we get so busy? >>>> >>> >>> In my case, family, friends, work - I think it's what old people call >>> "growing up". :) >>> >> >> Indeed. >> >> --Tim >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wayne.keenan at gmail.com Tue Nov 24 10:34:57 2015 From: wayne.keenan at gmail.com (Wayne Keenan) Date: Tue, 24 Nov 2015 15:34:57 +0000 Subject: [Ironpython-users] Accessing Windows 8.1 Runtime API In-Reply-To: References: Message-ID: I've added a request to the IronPython3 git issue tracker. It would be great to have this in IP2 too, I'm having trouble finding the issue list of IP2, or is IP2 unlikely to have the feature added? On Tue, Nov 3, 2015 at 4:04 AM, Jeff Hardy wrote: > It should be possible to use the C# language projections from IronPython, > but I think there are still issues with IronPython itself that prevent it > from targeting WinRT (like generating code at runtime). I believe UWP is > supposed to offer the same libraries with more CLR features but to be > honest the whole Windows/.NET platform is a mess right now and I have no > idea what the best option is. > > - Jeff > > On Mon, Nov 2, 2015 at 7:57 AM, Slide wrote: > >> In looking at this more, it looks like there is quite a bit of magic that >> needs to happen behind the scenes in order to support Winmd files. They >> don't contain any code themselves, just type and method definitions. I'm >> trying to find more information about the language projections that are >> required. >> >> On Sun, Nov 1, 2015 at 10:07 AM Slide wrote: >> >>> Its most likely because the WinRT stuff is done via Winmd files, which I >>> don't think are currently supported by the clr module for loading and >>> referencing. I haven't looked at the code, but that is my guess. It >>> probably something that needs to be looked into. >>> >>> On Sun, Nov 1, 2015, 09:28 Wayne Keenan wrote: >>> >>>> Hi, >>>> >>>> I'm trying to access the WIndows 8.1 'Windows.Devices.*' API for >>>> communication with a Bluetooth LE device. I have functional C# code and >>>> would like todo the same in Python. >>>> >>>> I've posted a question on stack here: >>>> http://stackoverflow.com/questions/33242927/how-to-import-and-call-net-deviceinformation-findallasync-from-ironpython >>>> >>>> >>>> In addition to the info on the stack post I've tried compiling >>>> IronPython from source, adding >>>> 8.1 >>>> to various PropoertyGroup's of the *.csproj files, but with no luck. >>>> >>>> I was hoping someone on the list might help me by pointing me in the >>>> right direction please? >>>> >>>> >>>> Thanks >>>> Wayne >>>> _______________________________________________ >>>> Ironpython-users mailing list >>>> Ironpython-users at python.org >>>> https://mail.python.org/mailman/listinfo/ironpython-users >>>> >>> >> _______________________________________________ >> Ironpython-users mailing list >> Ironpython-users at python.org >> https://mail.python.org/mailman/listinfo/ironpython-users >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdhardy at gmail.com Wed Nov 25 12:25:21 2015 From: jdhardy at gmail.com (Jeff Hardy) Date: Wed, 25 Nov 2015 09:25:21 -0800 Subject: [Ironpython-users] Accessing Windows 8.1 Runtime API In-Reply-To: References: Message-ID: IP2's tracker is at https://github.com/IronLanguages/main/issues, but it's unlikely it'll be added; it's mainly in maintenance mode at this point. I'm still trying to sort it the CLR ecosystem right now myself, but is 8.1 support required if we have UWP support? It looks like Windows 8 doesn't support UWP, but I don't know if Windows 8 is long for the world with Windows 10 upgrades being more-or-less mandatory. If UWP is the future* I'd prefer to focus on that, but until this whole landscape settles I'm not going to make any major decisions. I kind of understand DNX/CoreCLR thanks to http://blog.marcgravell.com/2015/11/the-road-to-dnx-part-1.html, but I have no clue how that relates to UWP, let alone Xamarin (which in my mind is more important than anything else besides plain ol' desktop/server CLR). - Jeff On Tue, Nov 24, 2015 at 7:34 AM, Wayne Keenan wrote: > I've added a request to the IronPython3 git issue tracker. It would be > great to have this in IP2 too, I'm having trouble finding the issue list of > IP2, or is IP2 unlikely to have the feature added? > > On Tue, Nov 3, 2015 at 4:04 AM, Jeff Hardy wrote: > >> It should be possible to use the C# language projections from IronPython, >> but I think there are still issues with IronPython itself that prevent it >> from targeting WinRT (like generating code at runtime). I believe UWP is >> supposed to offer the same libraries with more CLR features but to be >> honest the whole Windows/.NET platform is a mess right now and I have no >> idea what the best option is. >> >> - Jeff >> >> On Mon, Nov 2, 2015 at 7:57 AM, Slide wrote: >> >>> In looking at this more, it looks like there is quite a bit of magic >>> that needs to happen behind the scenes in order to support Winmd files. >>> They don't contain any code themselves, just type and method definitions. >>> I'm trying to find more information about the language projections that are >>> required. >>> >>> On Sun, Nov 1, 2015 at 10:07 AM Slide wrote: >>> >>>> Its most likely because the WinRT stuff is done via Winmd files, which >>>> I don't think are currently supported by the clr module for loading and >>>> referencing. I haven't looked at the code, but that is my guess. It >>>> probably something that needs to be looked into. >>>> >>>> On Sun, Nov 1, 2015, 09:28 Wayne Keenan wrote: >>>> >>>>> Hi, >>>>> >>>>> I'm trying to access the WIndows 8.1 'Windows.Devices.*' API for >>>>> communication with a Bluetooth LE device. I have functional C# code and >>>>> would like todo the same in Python. >>>>> >>>>> I've posted a question on stack here: >>>>> http://stackoverflow.com/questions/33242927/how-to-import-and-call-net-deviceinformation-findallasync-from-ironpython >>>>> >>>>> >>>>> In addition to the info on the stack post I've tried compiling >>>>> IronPython from source, adding >>>>> 8.1 >>>>> to various PropoertyGroup's of the *.csproj files, but with no luck. >>>>> >>>>> I was hoping someone on the list might help me by pointing me in the >>>>> right direction please? >>>>> >>>>> >>>>> Thanks >>>>> Wayne >>>>> _______________________________________________ >>>>> Ironpython-users mailing list >>>>> Ironpython-users at python.org >>>>> https://mail.python.org/mailman/listinfo/ironpython-users >>>>> >>>> >>> _______________________________________________ >>> Ironpython-users mailing list >>> Ironpython-users at python.org >>> https://mail.python.org/mailman/listinfo/ironpython-users >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: