IDLE stopped working
Tal Einat
tal.no.no.spam at gmail.com
Fri Oct 31 12:03:32 EDT 2008
On Oct 27, 2:31 am, brianrpsgt1 <brianl... at cox.net> wrote:
> OSX 10.5.5
> Python 2.5.1
>
> I started upIDLEtoday and the bottom of the window was off of the
> screen. I could not find a way to resize it. I closed all apps and
> rebooted. After rebooting,IDLEwill not start. Below is the
> Traceback:
>
> Traceback (most recent call last):
> File "/Library/Frameworks/Python.framework/Versions/Current/bin/IDLE", line 5, in <module>
> main()
> File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/idlelib/PyShell.py", line 1402, in main
> shell = flist.open_shell()
> File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/idlelib/PyShell.py", line 275, in open_shell
> self.pyshell = PyShell(self)
> File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/idlelib/PyShell.py", line 811, in __init__
> OutputWindow.__init__(self, flist, None, None)
> File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/idlelib/OutputWindow.py", line 16, in __init__
> EditorWindow.__init__(self, *args)
> File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/idlelib/EditorWindow.py", line 121, in __init__
> height=idleConf.GetOption('main','EditorWindow','height') )
> File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/idlelib/MultiCall.py", line 299, in __init__
> apply(widget.__init__, (self,)+args, kwargs)
> File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/lib-tk/Tkinter.py", line 2828, in __init__
> Widget.__init__(self, master, 'text', cnf, kw)
> File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/lib-tk/Tkinter.py", line 1930, in __init__
> (widgetName, self._w) + extra + self._options(cnf))
> _tkinter.TclError: bad screen distance "60gill"
>
> Thanks for any assistance
>
> B
Find your .idlerc directory and rename/move/delete it.
If you're on Windows, this should be located at C:\Documents and
Settings\<your username>\.idlerc
Otherwise (Linux/OSX/etc.) it should be located in your homedir.
More information about the Python-list
mailing list