On 26/02/2010 05:03, Rick King wrote:
> This is on Windows XP, Python 2.6, wxPython 2.8
> I created a console version, so the console comes up, some stderr(or
> -out) text is printed to *another* console (I don't understand why this
> is here), and then both just close.
> I can't figure out how to even record the error trace printed on the
> second console because it disappears immediately.
> The setup script is basically just what comes out of gui2exe but I
> manually added the msvc*.dll data files and manifest and is exactly the
> same script I've used to create exe's successfully from other python
> programs. So I don't think there are script errors, per se.
> There's nothing particularly unusual in the python that I can see.
I guess that you redirect on your wx.App?
app = wx.App(False) # Create a new app, don't redirect stdout/stderr to
I use wx.lib.iewin which in turn uses ctypes and I don't have anything
special in my setup.py for it.