Python and Tk: Error on Memory Access

Markus Franke Markus.Franke at informatik.tu-chemnitz.de
Tue Dec 30 04:56:24 EST 2003


Hi,

i have a problem using Tk with python. Here is a simple script:

import Tkinter
root=Tkinter.Tk()
button=Tkinter.Button(root,text="Click")
button.pack()

I can see a Window with a Button in it. But the problem now
is that every time I enter the Button with the Mouse-Arrow,
the Program stops with a "Failure on Memory Access"...
in German "Speicherzugriffsverletzung".

I have tried several versions of python, Tk and Tkinter but
without success.

My System:

Red Hat 9(Severn), Kernel 2.4.21-20.1.2024.2.1.nptl
python 2.2.3 / I tried also version 2.3.2
Tk-8.3.5-88
Tkinter 2.2.3-26

Hope anyone can help me.

Thanx,

Markus




More information about the Python-list mailing list