Hello there,
I am a new user of Python.
I have installed Python packages TK & TCL (Version 8.5) and Python (Version 2.5) on Sun OS Version 5.8 Generic i386 machine.
For installation I have used compiled source code from www.sunfreeware.com.
I have also installed all dependent packages for Python.
I am getting segmentation fault when I am trying to execute python gui which uses Tkinter widgets Button Label.
Could you please advice me how to make Tkinter work on sun OS.
Regards, Rinku
Logged In: YES
user_id=1768847
Originator: NO
Hi Rinku,
Since this is apparently a bug related to Python and Tkinter, you should report this at bugs.python.org
But before doing so, can you try using Tcl/Tk 8.4 to compile tkinter and check if the segfault is still there ? I'm asking this because Tcl/Tk 8.5 is not "officially" supported by python 2.5, and, to use 8.5 properly you will need a very recent python build. This "very recent build" would be the python 2.6b1, http://www.python.org/download/releases/2.6/ or, if you don't want to use 2.6 beta yet, you will need to checkout the python2.5 release maintenance repository. After getting one of these versions, you should retry your code.
Lastly, include some code that reproduces the segfault (at http://bugs.python.org\)