Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DOS-Shell hangs up, python/Tkinter

0 views
Skip to first unread message

Markus von Ehr

unread,
Jul 25, 2002, 5:04:26 AM7/25/02
to
Hi,

when I start my python/Tkinter apps out of a MS-DOS shell
and kill the app, very often the DOS-prompt doesn't come back,
the Shell hangs-up.
Anyone can tell me where the problem is?

Thanks in advance,

Markus

Howard Lightstone

unread,
Jul 25, 2002, 12:37:52 PM7/25/02
to
Markus von Ehr <markus...@ipm.fhg.de> wrote in
news:3D3FBF1A...@ipm.fhg.de:

> Hi,
>
> when I start my python/Tkinter apps out of a MS-DOS shell
> and kill the app, very often the DOS-prompt doesn't come back,
> the Shell hangs-up.

This is a "known" bug in Tk.

http://sourceforge.net/tracker/?func=detail&atid=105470&aid=216289&
group_id=5470

The workaround:
use pythonw for now........

John Roth

unread,
Jul 25, 2002, 7:35:59 PM7/25/02
to

"Howard Lightstone" <how...@eegsoftware.com> wrote in message
news:Xns925661F9F4709ho...@66.75.162.198...

I've been patiently waiting for AnyGUI in the hopes that it would
provide the ability to use a working graphics library under each
environment. Unfortunately, I haven't seen any progress posted
on AnyGUI in a while. That may mean they just aren't keeping
their projected next release date updated (I hope).

John Roth
>


Markus von Ehr

unread,
Jul 26, 2002, 5:32:11 AM7/26/02
to
The problem is that with pythonw I don't get the Debug "prints".

Markus


Howard Lightstone schrieb:

Howard Lightstone

unread,
Jul 26, 2002, 4:39:56 PM7/26/02
to
Markus von Ehr <markus...@ipm.fhg.de> wrote in
news:3D41171B...@ipm.fhg.de:

> The problem is that with pythonw I don't get the Debug "prints".
>
> Markus
>
>

Of course, I had a similar problem. There have been many threads
discussing this issue. There are also some cookbook recipes about doing
this ...... I chose to have a method in which I can choose to have
stdout/stderr go to a (dynamic) Tkinter window which pops up when there is
'something' printed. That way, I "know" when something got printed because
the window appears.

I would be glad to mail it to you if you would like (although it's a little
over 130 lines, I hate to waste newgroup bandwidth). I would post it on my
website but ... it looks so dumb I hate to advertise it.

0 new messages