LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Python's IDLE content assist not working in 12.2 (https://www.linuxquestions.org/questions/slackware-14/python%27s-idle-content-assist-not-working-in-12-2-a-719570/)

khvatov 04-16-2009 08:26 AM

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

bgeddy 04-16-2009 12:36 PM

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.


All times are GMT -5. The time now is 10:36 PM.