By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,584 Members | 1,667 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,584 IT Pros & Developers. It's quick & easy.

IDLE stopped working

P: n/a
OSX 10.5.5
Python 2.5.1

I started up IDLE today 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, IDLE will 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','h eight') )
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
Oct 27 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Oct 27, 2:31*am, brianrpsgt1 <brianl...@cox.netwrote:
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','h eight') )
* 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.
Oct 31 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.