LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-16-2009, 08:26 AM   #1
khvatov
LQ Newbie
 
Registered: Jan 2006
Location: Feasterville Trevose, PA
Distribution: Arch Linux, Slackware
Posts: 10

Rep: Reputation: 0
Python's IDLE content assist not working in 12.2


While running IDLE on Slackware 12.2 when attempting to use content assist (by typing CTRL+Space) I get a bunch of exceptions in a console window, given IDLE was launched via command line.
Only 12.2 version is affected, 12.1 is not affected.

Did anyone experience the same problem?
Does anyone have a solution how to fix that?


There is the part of trace:

Code:
Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 1403, in __call__
    return self.func(*args)
  File "/usr/lib/python2.5/idlelib/AutoCompleteWindow.py", line 218, in winconfig_event
    x, y, cx, cy = self.widget.bbox(self.startindex)
  File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 2833, in bbox
    self.tk.call((self._w, 'bbox') + args)) or None
  File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 1030, in _getints
    return tuple(map(getint, self.tk.splitlist(string)))
ValueError: invalid literal for int() with base 10: '(111,'

Thank you.
Alex
 
Old 04-16-2009, 12:36 PM   #2
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
This is a known issue with the python bug tracker - I believe it's been blamed on Tk 8.5 - or at least Tk interacting with other modules. See the bug tracker here for more information. Python 2.6 doesn't have this and neither does Tk 8.4.15.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Python's New Release Bridges the Gap LXer Syndicated Linux News 0 10-04-2008 08:40 AM
taming python's interpreter 'help()' command southsibling Programming 7 06-04-2005 06:58 PM
idle for python not working bingbang Linux - Newbie 0 03-28-2004 07:44 AM
java's sockets or python's friendlier to use? Dominik Programming 2 03-06-2004 06:19 AM
help using rtc as a more accurate replacement for python's 'sleep' function kernelpanicguy Programming 0 11-29-2003 12:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration