Broke my IDLE!

kdwyer kevin.p.dwyer at gmail.com
Tue Feb 5 18:50:43 CET 2008


On Feb 5, 5:05 pm, "Adam W." <AWasile... at gmail.com> wrote:
> Tried running IDEL from the command prompt to get this:
>
> Traceback (most recent call last):
>   File "c:\Python25\Lib\idlelib\idle.pyw", line 21, in <module>
>     idlelib.PyShell.main()
>   File "c:\Python25\lib\idlelib\PyShell.py", line 1404, in main
>     shell = flist.open_shell()
>   File "c:\Python25\lib\idlelib\PyShell.py", line 275, in open_shell
>     self.pyshell = PyShell(self)
>   File "c:\Python25\lib\idlelib\PyShell.py", line 813, in __init__
>     OutputWindow.__init__(self, flist, None, None)
>   File "c:\Python25\lib\idlelib\OutputWindow.py", line 16, in __init__
>     EditorWindow.__init__(self, *args)
>   File "c:\Python25\lib\idlelib\EditorWindow.py", line 125, in
> __init__
>     self.apply_bindings()
>   File "c:\Python25\lib\idlelib\EditorWindow.py", line 900, in
> apply_bindings
>     text.event_add(event, *keylist)
>   File "c:\Python25\lib\idlelib\MultiCall.py", line 345, in event_add
>     widget.event_add(self, virtual, seq)
>   File "c:\Python25\lib\lib-tk\Tkinter.py", line 1357, in event_add
>     self.tk.call(args)
> _tkinter.TclError: extra characters after detail in binding
>
> What do I need to edit and change?

IIRC IDLE leaves some config files lying around in whatever was the
current directory when it was executed.  I think they're named idle.rc
but I don't have a working install around to check on.  It's possible
that you need to clear these out to remove the binding.



More information about the Python-list mailing list