473,386 Members | 2,050 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Python and Tk: Error on Memory Access

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
Jul 18 '05 #1
2 1352
Markus Franke wrote:
I have tried several versions of python, Tk and Tkinter but
without success.

My System:

Red Hat 9(Severn)


On Redhat 9, you should either use the packages that the
system vendor provides, or you should compile Python yourself.
Installing a foreignly-built Python is likely to give problems
with Tk.

Regards,
Martin

Jul 18 '05 #2
Hi,

In article <bs*************@news.t-online.com>, Martin v. Loewis wrote:

On Redhat 9, you should either use the packages that the
system vendor provides, or you should compile Python yourself.
Installing a foreignly-built Python is likely to give problems
with Tk.


I have already installed the packages for Red Hat 9, but the Error
still comes. Could this be perhaps a problem of my Developer-Kernel.

Greets
Markus Franke
Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Andrew Dalke | last post by:
Is there an author index for the new version of the Python cookbook? As a contributor I got my comp version delivered today and my ego wanted some gratification. I couldn't find my entries. ...
3
by: Saravanan | last post by:
Hello, Im running Python Application as a Windows Service (using windows extensions). But, sporadically the application crashes (crash in Python23.dll) and this stops the service. This...
0
by: Kurt B. Kaiser | last post by:
Patch / Bug Summary ___________________ Patches : 398 open ( +5) / 3334 closed (+19) / 3732 total (+24) Bugs : 904 open ( -4) / 6011 closed (+36) / 6915 total (+32) RFE : 222 open...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.