IDLE stopped working

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • brianrpsgt1

    IDLE stopped working

    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.framewor k/Versions/Current/bin/
    IDLE", line 5, in <module>
    main()
    File "/Library/Frameworks/Python.framewor k/Versions/2.5/lib/
    python2.5/idlelib/PyShell.py", line 1402, in main
    shell = flist.open_shel l()
    File "/Library/Frameworks/Python.framewor k/Versions/2.5/lib/
    python2.5/idlelib/PyShell.py", line 275, in open_shell
    self.pyshell = PyShell(self)
    File "/Library/Frameworks/Python.framewor k/Versions/2.5/lib/
    python2.5/idlelib/PyShell.py", line 811, in __init__
    OutputWindow.__ init__(self, flist, None, None)
    File "/Library/Frameworks/Python.framewor k/Versions/2.5/lib/
    python2.5/idlelib/OutputWindow.py ", line 16, in __init__
    EditorWindow.__ init__(self, *args)
    File "/Library/Frameworks/Python.framewor k/Versions/2.5/lib/
    python2.5/idlelib/EditorWindow.py ", line 121, in __init__
    height=idleConf .GetOption('mai n','EditorWindo w','height') )
    File "/Library/Frameworks/Python.framewor k/Versions/2.5/lib/
    python2.5/idlelib/MultiCall.py", line 299, in __init__
    apply(widget.__ init__, (self,)+args, kwargs)
    File "/Library/Frameworks/Python.framewor k/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.framewor k/Versions/2.5/lib/
    python2.5/lib-tk/Tkinter.py", line 1930, in __init__
    (widgetName, self._w) + extra + self._options(c nf))
    _tkinter.TclErr or: bad screen distance "60gill"

    Thanks for any assistance


    B
  • Tal Einat

    #2
    Re: IDLE stopped working

    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,IDLEw ill not start.  Below is the
    Traceback:
    >
    Traceback (most recent call last):
      File "/Library/Frameworks/Python.framewor k/Versions/Current/bin/IDLE", line 5, in <module>
        main()
      File "/Library/Frameworks/Python.framewor k/Versions/2.5/lib/
    python2.5/idlelib/PyShell.py", line 1402, in main
        shell = flist.open_shel l()
      File "/Library/Frameworks/Python.framewor k/Versions/2.5/lib/
    python2.5/idlelib/PyShell.py", line 275, in open_shell
        self.pyshell = PyShell(self)
      File "/Library/Frameworks/Python.framewor k/Versions/2.5/lib/
    python2.5/idlelib/PyShell.py", line 811, in __init__
        OutputWindow.__ init__(self, flist, None, None)
      File "/Library/Frameworks/Python.framewor k/Versions/2.5/lib/
    python2.5/idlelib/OutputWindow.py ", line 16, in __init__
        EditorWindow.__ init__(self, *args)
      File "/Library/Frameworks/Python.framewor k/Versions/2.5/lib/
    python2.5/idlelib/EditorWindow.py ", line 121, in __init__
        height=idleConf .GetOption('mai n','EditorWindo w','height') )
      File "/Library/Frameworks/Python.framewor k/Versions/2.5/lib/
    python2.5/idlelib/MultiCall.py", line 299, in __init__
        apply(widget.__ init__, (self,)+args, kwargs)
      File "/Library/Frameworks/Python.framewor k/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.framewor k/Versions/2.5/lib/
    python2.5/lib-tk/Tkinter.py", line 1930, in __init__
        (widgetName, self._w) + extra + self._options(c nf))
    _tkinter.TclErr or: 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>\.idle rc

    Otherwise (Linux/OSX/etc.) it should be located in your homedir.

    Comment

    Working...