This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author wweston
Recipients
Date 2004-05-01.23:59:41
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Calling askstring results in a "grab fail" exception
about 2/3rds of the time on redhat 9/Python 2.3.3.

By inserting one line in:

/usr/local/Python/lib/python2.3/lib-tk/Tkinter.py
//line 521

the problem seems to go away.

def grab_set(self):
        """Set grab for this widget.
        A grab directs all events to this and descendant
        widgets in the application."""
       
self.wait_visibility()############added#####################
        self.tk.call('grab', 'set', self._w)

wes
History
Date User Action Args
2007-08-23 15:37:33adminlinkissue946153 messages
2007-08-23 15:37:33admincreate