Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #98799

Re: More tkinter Madness

From Christian Gollwitzer <auriocus@gmx.de>
Newsgroups comp.lang.python, comp.lang.tcl
Subject Re: More tkinter Madness
Date 2015-11-14 09:14 +0100
Organization A noiseless patient Spider
Message-ID <n26qc8$8fl$1@dont-email.me> (permalink)
References (4 earlier) <fr9ghc-c5i2.ln1@oceanview.tundraware.com> <n2400v$h96$1@dont-email.me> <0dphhc-ntf.ln1@oceanview.tundraware.com> <n25klu$rij$1@dont-email.me> <56465FE2.40701@tundraware.com>

Cross-posted to 2 groups.

Show all headers | View raw


Am 13.11.15 um 23:10 schrieb Tim Daneliuk:
> On 11/13/2015 03:30 PM, Christian Gollwitzer wrote:
>> Am 13.11.15 um 20:14 schrieb Tim Daneliuk:
>>> On 11/13/2015 12:32 AM, Christian Gollwitzer wrote:
>>>> Apfelkiste:Sources chris$
>>>
>>> Well, I get window and when I do this:
>>>
>>> pack [button .b -text Hello -command exit]
>>>
>>> Nothing appears.
>>
>> No error, nothing? Just to be sure, you haven't closed the empty
>> window, that appeared when you typed "wish"? and copied the command
>> into the wish prompt?
>>
>>> tkinter appears borked I have reinstalled once already, will try
>>> again
>>
>> This is using pure Tcl/Tk. If it is not working, reinstall the
>> corresponding packages in your distro. tkinter is merely the Python
>> interface to those.
>>
>> Christian
>
> Yep tcl/tk is the culprit, but reinstalling has not helped.

I am still not understanding, what actually happened. Does the wish 
shell crash, does it simply exit, or hang? Is there no error message?

You can try if a different/newer version works for your setup. For 
example, you could download a copy of a tclkit from here:

	http://tclkits.rkeene.org/fossil/wiki/Downloads

presumably the 8.6.3 version for RHEL5, and try if it runs a script like 
this

# the next line should make an empty window appear
package require Tk
# this line should create the button in it
pack [button .b -text Hello -command exit]

If this does work, then installing Tcl/Tk from scratch (i.e. copmiling 
yourself) might work.
(Unfortunately, you cannot make tkinter work with a Tclkit)

	Christian

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

More tkinter Madness Tim Daneliuk <tundraBOGUS@tundraware.com> - 2015-11-11 19:52 -0600
  Re: More tkinter Madness Paul Rubin <no.email@nospam.invalid> - 2015-11-11 18:12 -0800
    Re: More tkinter Madness Tim Daneliuk <tundraBOGUS@tundraware.com> - 2015-11-12 18:26 -0600
  Re: More tkinter Madness Chris Angelico <rosuav@gmail.com> - 2015-11-12 13:25 +1100
    Re: More tkinter Madness Tim Daneliuk <tundraBOGUS@tundraware.com> - 2015-11-12 18:25 -0600
      Re: More tkinter Madness Michael Torrie <torriem@gmail.com> - 2015-11-12 21:46 -0700
        Re: More tkinter Madness Tim Daneliuk <tundraBOGUS@tundraware.com> - 2015-11-12 23:42 -0600
          Re: More tkinter Madness Christian Gollwitzer <auriocus@gmx.de> - 2015-11-13 07:32 +0100
            Re: More tkinter Madness Tim Daneliuk <tundraBOGUS@tundraware.com> - 2015-11-13 13:14 -0600
              Re: More tkinter Madness Laura Creighton <lac@openend.se> - 2015-11-13 20:56 +0100
                Re: More tkinter Madness Tim Daneliuk <tundraBOGUS@tundraware.com> - 2015-11-13 16:10 -0600
              Re: More tkinter Madness Michael Torrie <torriem@gmail.com> - 2015-11-13 12:58 -0700
                Re: More tkinter Madness Tim Daneliuk <tundraBOGUS@tundraware.com> - 2015-11-13 16:09 -0600
              Re: More tkinter Madness Christian Gollwitzer <auriocus@gmx.de> - 2015-11-13 22:30 +0100
                Re: More tkinter Madness Tim Daneliuk <tundraBOGUS@tundraware.com> - 2015-11-13 16:10 -0600
                Re: More tkinter Madness Christian Gollwitzer <auriocus@gmx.de> - 2015-11-14 09:14 +0100

csiph-web