Python 152 & Tkinter install problems...

Gary Herron gherron at aw.sgi.com
Tue May 25 14:22:52 EDT 1999


Greg Foltz wrote:
> 
> Grrrr!!!!  Help...
> 
> 3 hours of installing is enough... trying to get Py152.exe w/ Tkinter >
> Tcl805 installed on my Micron portable that had a running PythonWin older
> version.  I've installed 5x and still get the following message even though
> I've got identical installs on 2 other W95 desktop machines working great.
> 
> Again, trying to get Py152.exe & Tcl/Tkinter running on W95 Micron
> Portable.  Tcl seems to be running fine by itself.  Command line python
> looks good too.  I've played pathgames and everything I could think of but
> still get this:

I just hit this same problem minutes ago.  Fortunately the fix is easy,
if a little heavy handed.

In directory:
  C:\Program Files\Tcl\tk8.0
find two files:
  listbox.tcl, and
  text.tcl
and comment out the lines having to do with binding <MouseWheel>.  In
both files those lines look like this:

  bind ... <MouseWheel> {
    %W yview ...
  }

Now ... Does anyone know enough tcl to do this correctly? (For example,
check for the validity of the <MouseWheel> event and do this binding
conditionally.)

-- 
Dr. Gary Herron <gherron at aw.sgi.com>
206-287-5616
Alias | Wavefront
1218 3rd Ave, Suite 800, Seattle WA 98101




More information about the Python-list mailing list