Re: Python Tkinter after method silently exits (corrected)

2006-02-22 Thread J Brooks
I've encountered the same "silent exit" problem in a multi-threaded Python Tkinter program also. I'm guessing that the Python interpreter hits an error starting a thread, so it calls exit(), and that the thread changes in cygwin 1.5.19 relative to 1.5.18 caused the problem we&#

Re: Python Tkinter after method silently exits (corrected)

2006-02-20 Thread Steve Ward
.18-1 causes it to work, suggesting that the problem is with cygwin1.dll rather than with python. Any help/ideas would be appreciated... - Steve Ward # Demonstrate python/Tkinter threading bug import sys, types, os, threading import Tkinter as TK from time import sleep class App: def __in

Re: Python Tkinter after method silently exits

2006-02-20 Thread Steve Ward
help/ideas would be appreciated... - Steve Ward # Demonstrate python/Tkinter threading bug class App: def __init__(self, root): self.root = root self.update_loop() # Start a second thread, to do whatever... self.thread = threading.Thread(target=self.sec

Python Tkinter after method silently exits

2006-02-20 Thread Steve Ward
Steve Ward # Demonstrate python/Tkinter threading bug class App: def __init__(self, root): self.root = root self.update_loop() # Start a second thread, to do whatever... self.thread = threading.Thread(target=self.second_thread) self.thread.start()

Re: Python Tkinter

2003-11-19 Thread Igor Pechtchanski
On Wed, 19 Nov 2003, james pentland wrote: > i am using the Cygwin distribution: > python-2.3-2.tar.bz2, 6,613,884 bytes, 06.08.2003 > > where is _tkinter.py? > > $ cygcheck -c python > Cygwin Package Information > Package VersionStatus > python 2.3-2 OK

Re: Python Tkinter

2003-11-19 Thread james pentland
i am using the Cygwin distribution: python-2.3-2.tar.bz2, 6,613,884 bytes, 06.08.2003 where is _tkinter.py? $ cygcheck -c python Cygwin Package Information Package VersionStatus python 2.3-2 OK __ Do you Yahoo!? Protec

Re: Python Tkinter

2003-11-19 Thread Jason Tishler
On Wed, Nov 19, 2003 at 08:26:42AM -0800, james pentland wrote: > how do i configure Python for Tkinter? > i can not find _tkinter.py. > > >>> import Tkinter > Traceback (most recent call last): > File "", line 1, in ? > File "/usr/lib/python2.3/lib-tk/Tkinter.py", line > 38, in ? > import

Python Tkinter

2003-11-19 Thread james pentland
how do i configure Python for Tkinter? i can not find _tkinter.py. >>> import Tkinter Traceback (most recent call last): File "", line 1, in ? File "/usr/lib/python2.3/lib-tk/Tkinter.py", line 38, in ? import _tkinter # If this fails your Python may not be configured for Tk ImportError:

Re: Python Tkinter module problem: pydog -g doesn't work

2003-03-12 Thread Jason Tishler
Volker, On Tue, Mar 11, 2003 at 01:36:22AM +0100, Dr. Volker Zell wrote: > Thanks, I just tried it. Just starting up pydoc -g gives a running > HTTP daemon which I can access fine from Mozilla. But when typing a > search string e.g. Tkinter in the search box, the program doesn't > respond anymore

Re: Python Tkinter module problem: pydog -g doesn't work

2003-03-10 Thread Dr. Volker Zell
> "Jason" == Jason Tishler <[EMAIL PROTECTED]> writes: Jason> Volker, Jason> IMO, this post is more appropriate for cygwin@ than [EMAIL PROTECTED] Jason> On Sun, Mar 09, 2003 at 12:51:36PM +0100, Volker Zell wrote: >> ImportError: No module named _tkinter Jason> Sorry, th

Re: Python Tkinter module problem: pydog -g doesn't work

2003-03-09 Thread Jason Tishler
Volker, IMO, this post is more appropriate for cygwin@ than [EMAIL PROTECTED] On Sun, Mar 09, 2003 at 12:51:36PM +0100, Volker Zell wrote: > ImportError: No module named _tkinter Sorry, the above was caused by a Python 2.2.x versus 2.3 build difference. I was set up for Python 2.3 (i.e., CVS) w

Re: Python/Tkinter bug on Cygwin

2003-01-16 Thread Jason Tishler
Eric, On Tue, Jan 14, 2003 at 11:18:21PM -0800, Eric McRae wrote: > If you can confirm I can confirm the above behavior. Unfortunately, my only suggestion is a standard one. Try to isolate the problem. Can you reproduce the problem directly with Cygwin Tk? > or at least point me to the proper

Python/Tkinter bug on Cygwin

2003-01-14 Thread Eric McRae
Thousands of humble apologies, I don't know where to send this bug: Running Python 2.2.2 under Cygwin, if I do : from Tkinter import * t=Tk() c=Canvas(t) c.pack() c.create_arc(88,88,112,112,style=ARC,start=-270,width=2,extent=-2) t.mainloop() I get a complete circle instead of a 2 degree (or th