Anyone used coverage.py with IronPython.
If I run from command line:
C:\>ipy
IronPython 2.7 (2.7.0.40) on .NET 4.0.30319.17929
Type "help", "copyright", "credits" or "license" for more information.
>>> import coverage
:1: DeprecationWarning: object.__new__() takes no parameters
>>> from coverage
Not sure where to start:
I want to verify coverage of the DLL code which is accessed by my
WPF-IronPython app.
However, dotCover is reporting 0% coverage and all statements are showing as
RED/uncovered, eventhough all the methods (interface APIs) are called while the
WPF-IronPython app is runnin
Here is the IronPython code I use to start and stop my app:
Perhaps the ShutdownMode has something to do with ipy.exe hanging (which seems
to suggest app is not shutting down properly!)?
def Run_App_Threaded():
global evt
evt = AutoResetEvent(False)
print "initializing...
Thanks os.popen is working for me!
From: Curt Hagenlocher [mailto:c...@hagenlocher.org]
Sent: Wednesday, December 19, 2012 7:32 AM
To: Jackie Sproat
Cc: ironpython-users@python.org
Subject: Re: [Ironpython-users] Using System.Diagnostics.Process results in
Errno 22
Arg, bitten again by "
, 2012 4:23 PM
To: Jackie Sproat
Cc: ironpython-users@python.org
Subject: Re: [Ironpython-users] Using System.Diagnostics.Process results in
Errno 22
On Tue, Dec 18, 2012 at 1:54 PM, Jackie Sproat
wrote:
> However, using this with IronPython, results in Errno 22: The system cannot
> find th
:03 PM
To: Jackie Sproat
Subject: Re: [Ironpython-users] Using System.Diagnostics.Process results in
Errno 22
I believe StartInfo.FileName really needs to be a file name, and not a command
line. Set it to java.exe and put everything else into Arguments.
On Tue, Dec 18, 2012 at 1:54 PM, Jackie
Using python I have no problem starting my process with subprocess.Popen('java
-jar "C:\Program Files (x86)\Sikuli X\sikuli-script.jar" ' + finalname,
shell=True)
But, because the select module is not available, you can't use the subprocess
module in IronPython.
So, I have to use System.Diagno
Question:
How do I run the IronPython wpf app on its own thread so I can check class
variables (self.age, self._textBox1) while the application is running?
Is it easier to use IronPython decorator (my Python @run_async doesn't work) or
.NET Threading or IronPython threading (are STATHREADs suppo
Test.py works as expected with:
Ø Python test.py
Ø Ipy test.py
Type Error: not all arguments converted during string formatting
Why does os.system command work using python but not ironPython?
Is there a workaround (that doesn't involve using subprocess.Popen (b/c the
actual exe I need to ru
Thank you Matt and everyone who responded!
This was exactly what I was looking for!
Cheers,
Jackie
From: Matt Ward [ward.m...@gmail.com]
Sent: December 10, 2012 1:44 PM
To: Jackie Sproat
Cc: ironpython-users@python.org
Subject: Re: [Ironpython-users] FW
I am simply trying to get the handle to a WPF window, but it doesn't seem to be
working.
I am as new to WPF as I am to IronPython so please forgive me :)
>From what I have read I believe the handle is not getting set in __init__
>because it is only available at run_time(?)
Therefore, have to ad
11 matches
Mail list logo