Re: [IronPython] Working towards IronPython 2.7 RTM

2011-01-20 Thread yngipy hernan
I would like to get my hands wet with IronPython as well but it is not straight forward where to start. I am no expert but I can hack around code so I would need guidance where to start. ___ Users mailing list Users@lists.ironpython.com

Re: [IronPython] IronPython 2.7B1 non-default install location not working

2011-01-10 Thread yngipy hernan
On Sat, Jan 8, 2011 at 10:45 PM, Jeff Hardy jdha...@gmail.com wrote: On Sat, Jan 8, 2011 at 7:19 PM, yngipy hernan yng...@gmail.com wrote: Hi All, I seem to remember that this was already reported in CodePlex but I can't find it. Anyway, what I have observed was that if I install

[IronPython] IronPython 2.7B1 non-default install location not working

2011-01-08 Thread yngipy hernan
Hi All, I seem to remember that this was already reported in CodePlex but I can't find it. Anyway, what I have observed was that if I install IronPython 2.7B1 in a non-default location, some of the files are still dropped in C:\Program Files\IronPython 2.7. Can anyone please confirm that was

Re: [IronPython] Chasing memory leak in IronPython scripts

2010-08-19 Thread yngipy hernan
Thanks for the input Dino. I will to try to track GC Heap. In the meantime, I tried -X:MTA and got this error: TypeError: Specified cast is not valid. Works fine without -X:MTA switch. -Yngipy ___ Users mailing list Users@lists.ironpython.com

[IronPython] Chasing memory leak in IronPython scripts

2010-08-17 Thread yngipy hernan
Hi All, I have an IronPython script that is using/talking to COM server. I am not sure if I have a memory leak but the IronPython Private Byte keeps on growing. I haven't seen it run of memory but I might be leaking memory. Essential I am using an interop dll to connect to the COM server. Call

Re: [IronPython] Calling COM method returns generic System.__ComObject?

2010-08-12 Thread yngipy hernan
', opc_grp_object.ClientHandle) *From:* users-boun...@lists.ironpython.com [mailto: users-boun...@lists.ironpython.com] *On Behalf Of *yngipy hernan *Sent:* Wednesday, August 11, 2010 7:21 PM *To:* Discussion of IronPython *Subject:* [IronPython] Calling COM method returns generic System.__ComObject

[IronPython] Calling COM method returns generic System.__ComObject?

2010-08-11 Thread yngipy hernan
Hi All, I have been playing around IronPython + COM + OPC (COM not the .Net). One of the calls in OPC is (pseudocode): item = opc_items_object.AddItem('OPC path here', opc_grp_object.ClientHandle) The issue is that item is returned as System.__ComObject. All methods that are available for

Re: [IronPython] IronPython / DLR Direction

2010-08-09 Thread yngipy hernan
I completely agree with IPy being Microsoft-supported lowers the barrier of entry to enterprise use. I have this problem long time back using Python as the company is a Microsoft shop (mostly). But IronPython being Microsoft pretty much is approved already, no question ask. I am hoping to hear

Re: [IronPython] IronPython / DLR Direction

2010-08-07 Thread yngipy hernan
I am hoping that this will not happen to IronPython. I have projects in the pipeline that heavily relies on IronPython :( It would be a tough sell for me to the organization if the language is not officially supported by Microsoft. Please let us know how we can help to prevent this from

Re: [IronPython] dll Assemblies in IronPython 2.7A1

2010-07-22 Thread yngipy hernan
One of my target project for IronPython is to use it to test another software. It would be really nice not to install unsupported software on the target machine as we are qualifying the system for use in a critical environment. Hence, having a portable installation would be really appreciated.

Re: [IronPython] sys._getframe(0).f_lineno always returns 1

2010-07-10 Thread yngipy hernan
but in –X:Frames mode we should hoist that information into the frame. *From:* users-boun...@lists.ironpython.com [mailto: users-boun...@lists.ironpython.com] *On Behalf Of *yngipy hernan *Sent:* Thursday, July 08, 2010 8:24 PM *To:* Discussion of IronPython *Subject:* Re: [IronPython] sys

[IronPython] (no subject)

2010-07-08 Thread yngipy hernan
Hi all, I have observed something that may be an issue, see snippet below import sys #filename is temp.py print 'hello world' print 'hello world' print 'Line : %s'%sys._getframe(0).f_lineno Here is my command line: ipy.exe -X:FullFrames temp.py The command sys._getframe(0).f_lineno always

[IronPython] sys._getframe(0).f_lineno always returns 1

2010-07-08 Thread yngipy hernan
Hi all, I have observed something that may be an issue, see snippet below import sys #filename is temp.py print 'hello world' print 'hello world' print 'Line : %s'%sys._getframe(0).f_lineno Here is my command line: ipy.exe -X:FullFrames temp.py The command sys._getframe(0).f_lineno always

Re: [IronPython] sys._getframe(0).f_lineno always returns 1

2010-07-08 Thread yngipy hernan
Bump. Anyone can confirm this issue? Or am I doing it incorrectly? Yngipy On Thu, Jul 8, 2010 at 1:15 AM, yngipy hernan yng...@gmail.com wrote: Hi all, I have observed something that may be an issue, see snippet below import sys #filename is temp.py print 'hello world' print

[IronPython] How to know -X:FullFrames

2010-06-23 Thread yngipy hernan
Hi All, How would I know if _getframe is supported in sys module? From the blogosphere, you need to type -X:FullFrames to enable _getframe but I would like to detect if this is available or not in ipy script. Regards, Yngipy ___ Users mailing list

Re: [IronPython] How to know -X:FullFrames

2010-06-23 Thread yngipy hernan
Ok, I think I found it: import sys if hasattr(sys,'_getframe'): print yes On Wed, Jun 23, 2010 at 2:03 AM, yngipy hernan yng...@gmail.com wrote: Hi All, How would I know if _getframe is supported in sys module? From the blogosphere, you need to type -X:FullFrames to enable _getframe but I

Re: [IronPython] UI Automation: Wrong values for ControlType, AutomationElementID and more. IronPython 2.6.1

2010-06-19 Thread yngipy hernan
it. Regards, Yngipy On Fri, Jun 18, 2010 at 11:50 PM, yngipy hernan yng...@gmail.com wrote: This is what I am doing currently. But I wished I can do all the fun in IronPython without using C#. On Fri, Jun 18, 2010 at 4:08 AM, Lukas Cenovsky cenov...@bakalari.czwrote: Just an idea - create

Re: [IronPython] UI Automation: Wrong values for ControlType, AutomationElementID and more. IronPython 2.6.1

2010-06-18 Thread yngipy hernan
and return you the results. Maybe it will work. The similar way I created the C# proxy to access Win32API functions ( http://gui-at.blogspot.com/2008/07/simulate-users-input.html) -- -- Lukáš yngipy hernan wrote: I have been playing around UI Automation and IronPython for several days now

Re: [IronPython] IronPython and C# not giving the same result

2010-06-17 Thread yngipy hernan
:* Re: [IronPython] IronPython and C# not giving the same result I tried your IronPython script and it found one child element which name is ''. Change the print line to: print 'Name:', ae.Current.Name -- -- Lukáš yngipy hernan wrote: Hi, All root elements are ok. Thus say, i can see

Re: [IronPython] IronPython and C# not giving the same result

2010-06-16 Thread yngipy hernan
was actually being found. Note: I'm running Windows XP SP3. *From:* users-boun...@lists.ironpython.com [mailto: users-boun...@lists.ironpython.com] *On Behalf Of *yngipy hernan *Sent:* Tuesday, June 15, 2010 10:09 PM *To:* Discussion of IronPython *Subject:* [IronPython] IronPython and C

Re: [IronPython] Debugging IronPython script using IronPython tools for Visual Studio(CP2)

2010-06-16 Thread yngipy hernan
script successfully run from the command line? *From:* users-boun...@lists.ironpython.com [mailto: users-boun...@lists.ironpython.com] *On Behalf Of *yngipy hernan *Sent:* Monday, June 14, 2010 5:50 PM *To:* Discussion of IronPython *Subject:* Re: [IronPython] Debugging IronPython script

Re: [IronPython] UI Automation: Wrong values for ControlType, AutomationElementID and more. IronPython 2.6.1

2010-06-16 Thread yngipy hernan
I have been playing around UI Automation and IronPython for several days now. My impression is that they don't play each other well. Or maybe I missed something. I am trying to dig deeper to understand why. Probably this issue is not fixed yet?

Re: [IronPython] Debugging IronPython script using IronPython tools for Visual Studio(CP2)

2010-06-15 Thread yngipy hernan
script and see what happens (you can just hit F9 while on the 1st line of code)? Does your script successfully run from the command line? *From:* users-boun...@lists.ironpython.com [mailto: users-boun...@lists.ironpython.com] *On Behalf Of *yngipy hernan *Sent:* Monday, June 14, 2010 5:50

[IronPython] IronPython and C# not giving the same result

2010-06-15 Thread yngipy hernan
Hi All, I have tried to transliterate the following C# code to IronPython: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Automation; namespace ConsoleApplication1 { class Program { static void Main(string[] args)

Re: [IronPython] Debugging IronPython script using IronPython tools for Visual Studio(CP2)

2010-06-14 Thread yngipy hernan
Ok, I need help. Can't find in internet how to enable breaking on import exception. Anyone knows how to do this? Regards, Yngipy On Mon, Jun 14, 2010 at 11:53 AM, yngipy hernan yng...@gmail.com wrote: *RE: Can you enable breaking on the import exception (or all exceptions and continue after

Re: [IronPython] Debugging IronPython script using IronPython tools for Visual Studio(CP2)

2010-06-14 Thread yngipy hernan
named usercustomize The program '[3708] ipy.exe: Managed (v4.0.30319)' has exited with code 1 (0x1). On Tue, Jun 15, 2010 at 8:12 AM, yngipy hernan yng...@gmail.com wrote: Ok, I need help. Can't find in internet how to enable breaking on import exception. Anyone knows how to do this? Regards

[IronPython] Debugging IronPython script using IronPython tools for Visual Studio(CP2)

2010-06-13 Thread yngipy hernan
Hi all, I am trying to debug my scripts using VS2010 Pro, for non-class based code it is working as expected. But got hiccups inside a class, this is what I am getting: 'ipy.exe' (Managed (v4.0.30319)): Loaded

Re: [IronPython] Debugging IronPython script using IronPython tools for Visual Studio(CP2)

2010-06-13 Thread yngipy hernan
Seems like it only happens when I am using UI Automation, is this known issue? Regards, Yngipy On Sun, Jun 13, 2010 at 1:41 AM, yngipy hernan yng...@gmail.com wrote: Hi all, I am trying to debug my scripts using VS2010 Pro, for non-class based code it is working as expected. But got hiccups

Re: [IronPython] Debugging IronPython script using IronPython tools for Visual Studio(CP2)

2010-06-13 Thread yngipy hernan
-boun...@lists.ironpython.com] *On Behalf Of *yngipy hernan *Sent:* Saturday, June 12, 2010 11:41 PM *To:* users@lists.ironpython.com *Subject:* [IronPython] Debugging IronPython script using IronPython tools for Visual Studio(CP2) Hi all, I am trying to debug my scripts using VS2010 Pro