[Tutor] [Tkinter-discuss] tkinter file dialog pattern matching (fwd)

Alan Gauld alan.gauld at btinternet.com
Mon Aug 24 18:06:58 CEST 2015


On 23/08/15 17:20, Laura Creighton wrote:
> Updating to Python 2.7.10 (default, Jul 1 2015, 10:54:53) and 
> installing the tix-dev debian package,

The seg fault is still there on Python 3.4 and 2.7.6 with tix-dev.
It also happens regardless of the type of dialog I try
(ExFileSelectDialog, FileSelectDialog, DirSelectDialog)

Because its a seg fault rather than a Python error I'm guessing its at 
the C level in
either the Python interpreter or in the calling mechanism into the 
native tix libraries.
I further assume the native tix code is OK since michael lange got it 
working using
native Tcl/tix.

And since its working in both Python 3.5 and 2.7.10 I'm guessing somebody
has fixed it as a known issue or fixed it accidentally in the code base and
the fix has been ported to both the latest builds.

One other option is tix.py itself.
I've looked at the latest tix.py on my system and there are some "FixMe" 
lines
so its conceivable that the latest Py releases have an updated tix.py.
Can you check that Laura since I don't have either 3.5 or 2.7.10?
But the FixMe's don't look like they would cause a core dump.

This is beginning to bug me...Although my experience of tix on Python
suggests its not unusual. There are several other useful widgets that I
failed to get working.  The documented widgets work fine but the
undocumented ones not so much. :-(

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos



More information about the Tutor mailing list