wxPython apps crashing IDLE

Hi,

I really don´t know if this is a wxPython or an IDLE problem, but when I run wxPython apps inside IDLE (newest wxP and Python versions)

while running both the python shell and IDLE window are locked, when I move the wxPython window over them they won´t refresh (looks very weird).

Clicking on one of those windows or clicking e.g. in the menu bar crashes the python interpreter (and of course IDLE and my app, too).

What could cause this?

regards

Michael

···

Ich verwende die kostenlose Version von SPAMfighter,
die bis jetzt 10351 Spammails entfernt hat.
Für private Anwender ist SPAMfighter völlig kostenlos!
Jetzt gratis testen: hier klicken.

Michael Stather wrote:

Hi,
I really don´t know if this is a wxPython or an IDLE problem, but when I run wxPython apps inside IDLE (newest wxP and Python versions)
while running both the python shell and IDLE window are locked, when I move the wxPython window over them they won´t refresh (looks very weird).
Clicking on one of those windows or clicking e.g. in the menu bar crashes the python interpreter (and of course IDLE and my app, too).
What could cause this?

Running two competing UI libraries in the same process. Unless great care is taken one will always starve the other.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Does this mean that nothing can be done about this.
If so, which IDE do you suggest using instead of IDLE?

regards

Michael

···

-----Ursprüngliche Nachricht-----
Von: Robin Dunn [mailto:robin@alldunn.com]
Gesendet: Freitag, 15. Oktober 2004 01:16
An: wxPython-users@lists.wxwidgets.org
Betreff: Re: [wxPython-users] wxPython apps crashing IDLE

Michael Stather wrote:

Hi,

I really don´t know if this is a wxPython or an IDLE problem, but when
I run wxPython apps inside IDLE (newest wxP and Python versions) while
running both the python shell and IDLE window are locked, when I move
the wxPython window over them they won´t refresh (looks very weird).
Clicking on one of those windows or clicking e.g. in the menu bar
crashes the python interpreter (and of course IDLE and my app, too).
What could cause this?

Running two competing UI libraries in the same process. Unless great care
is taken one will always starve the other.

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

----------------------------------------
Ich verwende die kostenlose Version von SPAMfighter,
die bis jetzt 10438 Spammails entfernt hat.
Für private Anwender ist SPAMfighter völlig kostenlos!
Jetzt gratis testen: www.SPAMfighter.com

Both Emacs and Boa Constructor work well for me while I'm doing wxPython work.
:slight_smile:

---Tom

···

On Friday 15 October 2004 04:57 am, Michael Stather wrote:

Does this mean that nothing can be done about this.
If so, which IDE do you suggest using instead of IDLE?

Although it's probably considered significant overkill, I like the
Eclipse IDE with the PyDev plugin, and I believe there may be other
plugins for it to allow for Python Development.

···

On Fri, 2004-10-15 at 10:57 +0200, Michael Stather wrote:

Does this mean that nothing can be done about this.
If so, which IDE do you suggest using instead of IDLE?

regards

Michael

Michael Stather wrote:

Does this mean that nothing can be done about this.

If the IDE runs the Python code in a separate process than the IDE itself then it works fine.

If so, which IDE do you suggest using instead of IDLE?

I think that the newest version of IDLE (merged from the IDLEfork project) does use a separate process for debugged apps, but it probably doesn't for the interactive interpreter.

I've had good luck with WingIDE although I still use emacs for most of my editing. Lots of folks use Boa Constructor and like it.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Michael Stather wrote:
> Does this mean that nothing can be done about this.

If the IDE runs the Python code in a separate process than the IDE
itself then it works fine.

> If so, which IDE do you suggest using instead of IDLE?
>

I think that the newest version of IDLE (merged from the IDLEfork
project) does use a separate process for debugged apps, but it probably
doesn't for the interactive interpreter.

I've had good luck with WingIDE although I still use emacs for most of
my editing. Lots of folks use Boa Constructor and like it.

I use SciTE for editing and our very own PyAlaMode for interactive
interpeter. Works fine as long as you don't create a second wx.App
object.

···

On Sun, 17 Oct 2004 00:05:55 -0700, Robin Dunn <robin@alldunn.com> wrote:

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!