Hi,
We're trying to figure out the usage of overall system memory by our
IronPython/WPF app. I've been looking at various memory profilers, but
they seem to be concerned with memory leaks within the app itself, etc.
What we'd like to be able to find out is something like this:
1) How much memory
Hi,
I'm running the pyc.py IronPython compiler. In the GenerateExe method, there
is a call to GetMethod(InitializeModule). This method was available in
IP 2.6 but seems to have disappeared in IP 2.7.
I used GetMethods() to confirm that in IP 2.6 we have:
Int32*
assembly versions so they will be treated as different types. In other
words you need to re-build a 2.6 pre-compiled app to work against 2.7.
*From:* users-boun...@lists.ironpython.com [mailto:
users-boun...@lists.ironpython.com] *On Behalf Of *Ken MacDonald
*Sent:* Tuesday, October 12, 2010 8
? I’m
not sure it’ll make a difference but it’s probably best to use the 2.7 PYC
if you’re not.
*From:* users-boun...@lists.ironpython.com [mailto:
users-boun...@lists.ironpython.com] *On Behalf Of *Ken MacDonald
*Sent:* Tuesday, October 12, 2010 10:52 AM
*To:* Discussion of IronPython
Random crazy thought: can you use ilmerge to pull all of those into
one .exe? Horribly bloated, I'm sure, but possibly useful for
distribution.
- Jeff
I was just happy to be able to get all of the source code into DLLs, which
meant 1) not having to install IP on customer systems where we
things for you (that’ll make that a NOP but should leave all
the other changes in place)?
*From:* users-boun...@lists.ironpython.com [mailto:
users-boun...@lists.ironpython.com] *On Behalf Of *Ken MacDonald
*Sent:* Wednesday, October 06, 2010 1:26 PM
*To:* Discussion of IronPython
*Subject
and
including the std lib references.
Ken
On Fri, Oct 8, 2010 at 10:08 AM, Ken MacDonald drken...@gmail.com wrote:
HI Dino,
Tried your change, it came up with an error on the statement below:
TypeError: EmitCall() takes exactly 3 arguments (1 given)
Not sure what the other args should be... it did
...@lists.ironpython.com [mailto:
users-boun...@lists.ironpython.com] *On Behalf Of *Ken MacDonald
*Sent:* Friday, October 08, 2010 11:55 AM
*To:* Discussion of IronPython
*Subject:* Re: [IronPython] change in standard library behavior for
compiled .exe/.dll???
Hi Dino,
We are definitely creating both
the same members).
*From:* users-boun...@lists.ironpython.com [mailto:
users-boun...@lists.ironpython.com] *On Behalf Of *Ken MacDonald
*Sent:* Wednesday, October 06, 2010 2:28 PM
*To:* Discussion of IronPython
*Subject:* Re: [IronPython] change in standard library behavior for
compiled
of what you're
trying to do.
Ken
On Wed, Oct 6, 2010 at 7:08 AM, Michael Foord mich...@voidspace.org.ukwrote:
On 05/10/2010 22:27, Ken MacDonald wrote:
I've been looking at the .exe's we built - using pyc.py - with IP 2.5/.Net
3.5 and IP2.7 / .NET 4.0. In the 2.7 .exe, it appears that the imports
...@lists.ironpython.com] *On Behalf Of *Ken MacDonald
*Sent:* Wednesday, October 06, 2010 11:42 AM
*To:* Michael Foord
*Cc:* Discussion of IronPython
*Subject:* Re: [IronPython] change in standard library behavior for
compiled .exe/.dll???
Hi Michael,
I started out on implementing
On Wed, Oct 6, 2010 at 4:04 PM, Ken MacDonald drken...@gmail.com wrote:
Hi Dino,
On Wed, Oct 6, 2010 at 2:57 PM, Dino Viehland di...@microsoft.com wrote:
How are you distributing your app? I’m assuming you’re going to have
something like:
MyApp\
MyApp.exe
MyApp.dll
IronPython.dll
these up from in the previous version of the app and maybe we can
work out what’s going on from there.
*From:* users-boun...@lists.ironpython.com [mailto:
users-boun...@lists.ironpython.com] *On Behalf Of *Ken MacDonald
*Sent:* Wednesday, October 06, 2010 1:05 PM
*To:* Discussion
I am getting much farther with my app now that I can actually run it as an
.exe; and running under VS is a HUGE help. Currently, the app is dying on
the following statement:
import os
When I run it in VS or from the ipy command prompt, import os seems to
work fine, dir(os) yields a bunch of
I'm getting an error in my 2.7 Alpha app - no module named _weakrefset.
Distribution is apparently missing this - I saw some discussion from a while
back and it sounds like it will be fixed in a future release? Is there
anywhere to get a copy of this module without having to install svn and jump
not import this as a work around. Could you
open a bug to open it? That shouldn’t be too difficult given that we
already have weak dictionaries and sets.
*From:* users-boun...@lists.ironpython.com [mailto:
users-boun...@lists.ironpython.com] *On Behalf Of *Ken MacDonald
*Sent:* Tuesday
I've been looking at the .exe's we built - using pyc.py - with IP 2.5/.Net
3.5 and IP2.7 / .NET 4.0. In the 2.7 .exe, it appears that the imports (like
os) are not being built into the .exe/.dll, but instead are required to be
imported in source form, e.g. os.py must be somewhere on sys.path. In
, Lukas Cenovsky cenov...@bakalari.czwrote:
I would try to run it via WinDbg to see all exceptions raised.
--
-- Lukáš
On 17.9.2010 19:43, Ken MacDonald wrote:
We're trying to get a WPF/IPY project converted from .NET 3.5 to 4.0 using
IPY 2.6 for .NET 4.0. I got it running fine
[mailto:
users-boun...@lists.ironpython.com] *On Behalf Of *Ken MacDonald
*Sent:* Monday, October 04, 2010 7:56 AM
*To:* Discussion of IronPython
*Subject:* Re: [IronPython] difference in compiling ipy in 3.5 vs. .NET
4.0?
Hi,
We tried windbg, but weren't able to get anywhere with it. We
the
whole app tomorrow and have some better luck with that.
Ken
On Mon, Oct 4, 2010 at 4:06 PM, Ken MacDonald drken...@gmail.com wrote:
Hi Dino,
Thanks for the info / pointers on VS integration. I looked at the schedule
in the spec, and it appears that build to .exe support is not going
MSB3645:. NET Framework v3.5 Service Pack 1 was not found. In order to
target (0),. NET Framework v3.5 Service Pack 1 or later must be installed.
I'm trying to move an ipy/wpf application that I inherited to IPY 2.6 and
.NET 4.0 on Windows 2008 Server. I got the above error message, referencing
a
just need to open x.csproj in VS and let it upgrade
that too?
*From:* users-boun...@lists.ironpython.com [mailto:
users-boun...@lists.ironpython.com] *On Behalf Of *Ken MacDonald
*Sent:* Thursday, September 16, 2010 8:01 AM
*To:* Discussion of IronPython
*Subject:* [IronPython] how
I have inherited a WPF/ipy app which is using data binding / CollectionView
to interact with a customer list. Steps are roughly:
1. query cust. list from DB, sorted by name
2. bind this to a CollectionView
3. step through the list, displaying 1 cust. at a time using the
Yep. seems to have no effect.
Ken
On Wed, Aug 18, 2010 at 12:15 PM, Lukas Cenovsky cenov...@bakalari.czwrote:
Have you tried manually refreshing the CollectionView after update by
CollectionView.Refresh()?
--
-- Lukáš
On 18.8.2010 17:35, Ken MacDonald wrote:
I have inherited a WPF
Hi,
I've got a whole stack of event handlers, assigned via the usual something
like
my_button.Click += button_was_clicked
As it turns out, the initialization for the thing that has all these
handlers may need to be run several times, and it seems like I ended up with
multiple copies of the
:* users-boun...@lists.ironpython.com [mailto:
users-boun...@lists.ironpython.com] *On Behalf Of *Ken MacDonald
*Sent:* Monday, April 05, 2010 12:26 PM
*To:* Discussion of IronPython
*Subject:* [IronPython] WPF / ipy minimize weirdness?
Hi,
I have a WPF app and I'm trying to mess
...@lists.ironpython.com [mailto:
users-boun...@lists.ironpython.com] *On Behalf Of *Ken MacDonald
*Sent:* Wednesday, March 24, 2010 1:54 PM
*To:* Discussion of IronPython
*Subject:* [IronPython] focus and selecting text in a TextBox with
IronPython
I'm trying to capture the event of focus being
Hi,
I have a WPF app and I'm trying to mess with WindowState. I have two
windows, a modal selection dialog, and a main window. If I bring up the
selection dialog with the main window in background, and minimize the
selection dialog, it leaves the main window visible but you can't interact
with it.
On Wed, Mar 24, 2010 at 7:27 PM, Ken MacDonald drken...@gmail.com wrote:
Hi,
Using WPF. I'll give the Start/Length a try
Ken
OK, I tried that in various flavors, still not working. The selection
itself appears to be working; if I un-comment the Cut() at the end, I
click into the box
, etc. but it
doesn't seem to want to play with ipy.
Thanks,
Ken
On Thu, Mar 25, 2010 at 3:44 PM, Michael Foord fuzzy...@voidspace.org.ukwrote:
On 25/03/2010 19:33, Ken MacDonald wrote:
On Wed, Mar 24, 2010 at 7:27 PM, Ken MacDonald drken...@gmail.com wrote:
Hi,
Using WPF. I'll give the Start
SelectionStart and SelectionLength.
All the best,
Michael
On 24/03/2010 20:54, Ken MacDonald wrote:
I'm trying to capture the event of focus being shifted into a text box via
mouse click, and would like to highlight the existing text, so that if I
start typing the selected text
Hi, I have an app with a popup containing a listbox. I want to dynamically
add a few items to the listbox and found code in a number of places which
does something like:
listbox.Items.Add(ListItem(Special, 11))
listbox.Items.Add(ListItem(Regular, 19))
However, I can't
Thanks Michael,
We're using .NET, so this should be OK, I guess? All of the other controls
(StackPanel, Grid...) are being imported from System.Windows.Controls, so I
thought ListItem ought to have been somewhere in there.
from System.Web.UI.WebControls import ListItem
That's for ASP - is
Thanks Michael, Brian, Curt
Found out I should've been using List*Box*Item instead of ListItem as I'm
working w/ a ListBox, but now have this piece working. The pointers and
suggestions were REAL helpful in tracking down what I actually needed, even
though I started out asking for the wrong
AddPreviewMouseMoveHandlerhttp://msdn.microsoft.com/en-us/library/system.windows.input.mouse.addpreviewmousemovehandler.aspx
Hi,
Found reference to the above while going thru MSDN. It appears that this is
an implementation of what I always called a 'hover' event, correct? The
examples didn't make
Hi,
I have inherited an IP project. Customer is complaining that startup time
with no apparent progress takes quite a while, and would like something to
happen prior to the time that the login screen finally appears. I have a
splash screen, and have set it to splash prior to the login screen, now
Hi,
I've inherited an I-P app, and trying to make some sense of it... It has a
login page, with several text fields including user and password; and
OK and CANCEL buttons. Right now, you enter the user/password into the
text fields, and then have to click the OK button to login. Customer would
Aaaah. Managed mix up my args; seems to work OK now. Sorry.
Ken
On Mon, Feb 22, 2010 at 3:55 PM, Ken MacDonald drken...@gmail.com wrote:
Hi,
I've inherited an I-P app, and trying to make some sense of it... It has a
login page, with several text fields including user and password; and
Oed
to a Python
function. If you post the C# or VB code someone here can probably quickly
translate it to IronPython.
*From:* users-boun...@lists.ironpython.com [mailto:
users-boun...@lists.ironpython.com] *On Behalf Of *Ken MacDonald
*Sent:* Thursday, February 18, 2010 12:18 PM
*To:* users
Thanks, Curt!
That looks interesting; I found a pretty explicit article on how the
'Closing' event works at:
http://msdn.microsoft.com/en-us/library/ms748948.aspx
(about 1/2 way down the page).
It looks like an event handler similar to mine could be used to cancel the
'Closing' event and
40 matches
Mail list logo