473,581 Members | 2,204 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

error with IDLE on debian

Hi

when i try to run IDLE on my debian laptop I get this error.

$ idle
Traceback (most recent call last):
File "/usr/bin/idle", line 5, in ?
main()
File "idlelib/PyShell.py", line 1359, in main
File "idlelib/FileList.py", line 44, in new
File "idlelib/PyShell.py", line 105, in __init__
File "idlelib/EditorWindow.py ", line 111, in __init__
File "/usr/lib/python2.4/lib-tk/Tkinter.py", line 2764, in __init__
Widget.__init__ (self, master, 'text', cnf, kw)
File "/usr/lib/python2.4/lib-tk/Tkinter.py", line 1865, in __init__
self.tk.call(
_tkinter.TclErr or: expected integer but got "`100"

I am not sure about what could cause the problem because I didnt use my
laptop for python programming for couple of weeks. Before that it worked
fine. And on that period i might have installed few things.

I am running Debian unstable with python 2.2.4, tcl8.4, tk8.4, python-tk
24.4-1 and IDLE 2.4.4-2. I already tried to reinstall IDLE, tk and tcl
and python-tk but that did not solve anything, i keep getting the same
error.

any ideas?

thanks

enrike
Dec 20 '06 #1
1 1713
Just a guess, but I think you need to be using at least Python 2.4 if
you are going to use IDLE version 2.4.4-2.

On Dec 20, 1:16 pm, altern <alte...@gmail. comwrote:
Hi

when i try to run IDLE on my debian laptop I get this error.

$ idle
Traceback (most recent call last):
File "/usr/bin/idle", line 5, in ?
main()
File "idlelib/PyShell.py", line 1359, in main
File "idlelib/FileList.py", line 44, in new
File "idlelib/PyShell.py", line 105, in __init__
File "idlelib/EditorWindow.py ", line 111, in __init__
File "/usr/lib/python2.4/lib-tk/Tkinter.py", line 2764, in __init__
Widget.__init__ (self, master, 'text', cnf, kw)
File "/usr/lib/python2.4/lib-tk/Tkinter.py", line 1865, in __init__
self.tk.call(
_tkinter.TclErr or: expected integer but got "`100"

I am not sure about what could cause the problem because I didnt use my
laptop for python programming for couple of weeks. Before that it worked
fine. And on that period i might have installed few things.

I am running Debian unstable with python 2.2.4, tcl8.4, tk8.4, python-tk
24.4-1 and IDLE 2.4.4-2. I already tried to reinstall IDLE, tk and tcl
and python-tk but that did not solve anything, i keep getting the same
error.

any ideas?

thanks

enrike
Dec 20 '06 #2

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

Similar topics

16
12914
by: Kerry Neilson | last post by:
For the past couple of months, Idle won't start when I invoke it. I am at a complete loss for why this is. When this happens, they python command line still starts, and python works fine otherwise. Most interesting to me is that a reboot won't fix the problem. But if I just try it again sometime later it will work. Anyone have any ideas? ...
1
2094
by: John Kinson | last post by:
Hi, I'm trying to get the wxPython demo to run on a Debian sarge testing installation, but encounter the following error when I run the demo script: # ./demo.py Traceback (most recent call last): File "./demo.py", line 4, in ? Main.main() File "/root/Python/wxPython-2.5.1.5/demo/Main.py", line 946, in main
5
2348
by: michael | last post by:
Hi. I am reasonably experienced with Python (and love it!) on Windows. I am a programmer that toils in c++ on Win 32 mostly but just to learn more, I am playing with Suse 9. Linux. Of course the first thing I tried to fire up was Python. From the command line, I can access Python 2.3 with no problem. I tried to run / search for IDLE...
1
2296
by: Gary Wessle | last post by:
Hi I need help in finding out why the error below, I am writing a through away program in C++ using debian/testing machine. thanks **************** error **************** fred@debian:~/myPrograms/common$ make clean; make; ./proj rm -rf *.o proj
0
2078
by: Michael Boldin via alt email | last post by:
I installed python 2.5 and used the win package for installing MySQLdb. (Iam running Windows XP) Everything works as expected using python directly (Windows command shell) but using IDLE gives the import error below. Same error with PythonWin as my IDE and everything works using python 2.4-- with IDLE and without, mySQLdb is loaded with out...
2
14152
by: Llessur16 | last post by:
I recently installed Python 2.5 for windows XP. It seemed to be working great. I was writing a simple program, and had tested it a couple times. When I was nearly done I tried to run it, and a box came up and it said "IDLE Subprocess Error" at the top and then "Socket Error: Conection refused". Right after that a second box popped up which the...
3
5051
by: writser | last post by:
hey all, For my study I'm writing a simple threaded webcrawler and I am trying to do this in python. But somehow, using threads causes IDLE to crash on Windows XP (with the latest python distribution 2.5.1). Even a simple example such as this: import thread, time def doSomething():
3
2444
by: W. Watson | last post by:
After simply trying to write a program with help(MakeQTE), a module, and having it fail with socket errors, I decided to restart IDLE, thinking I knew the cause. I'm now getting msgs like: "IDLE's subprocess didn't make connection. ... firewall may be blocking the connection." I doubt the FW connection. There's a small X warning dialog that...
1
2421
by: oyinbo55 | last post by:
I am trying to use the pylab plot command on my laptop running Ubuntu 6.06 (Dapper). Although the plot command works fine on my XP desktop at work, I cannot open the plot window on the laptop. I edited matplotlibrc to change interactive: to "True". In idle, I entered the commands: The terminal window closed abruptly when I typed the...
0
7868
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7792
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8149
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7899
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8175
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6553
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5674
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
1
2301
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1403
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.