[Pythonmac-SIG] IDE crash (original) (raw)

Michael Davidson mdavids at bantha.org
Sat Nov 20 00:48:39 CET 2004


I have installed the Nov 7,2003 add ins from http://homepages.cwi.nl/~jack/macpython/. My IDE used to work. I foolishly was playing with menu options that I should not have played with, and now my IDE crashes immediately after starting.

The menu option I changed was the location of my scripts directory. I set it to a directory with no python scripts, and the IDE crashed.

It wouldn't restart.

I deleted my prefs file; I reinstalled the IDE. No luck.

This is the traceback from the console. If anyone can send me a prefs file that will fix my IDE, I would be much obliged.

Traceback (most recent call last):

File "/Applications/MacPython-2.3/PythonIDE.app/Contents/Resources/PythonIDE.py", line 59, in ?

_PythonIDEMain.PythonIDE()

File "/Applications/MacPython-2.3/PythonIDE.app/Contents/Resources/PythonIDEMain.py", line 41, in init

Wapplication.Application.__init__(self, 'Pide')

File "/System/Library/Frameworks/Python.framework/Versions/2.3/Mac/Tools/IDE/Wapplication.py", line 28, in init

FrameWork.Application.__init__(self)

File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/plat-mac/FrameWork.py", line 115, in init

self.makemenubar()

File "/System/Library/Frameworks/Python.framework/Versions/2.3/Mac/Tools/IDE/Wapplication.py", line 275, in makemenubar

self.makeusermenus()

File "/Applications/MacPython-2.3/PythonIDE.app/Contents/Resources/PythonIDEMain.py", line 159, in makeusermenus

self.makescriptsmenu()

File "/Applications/MacPython-2.3/PythonIDE.app/Contents/Resources/PythonIDEMain.py", line 261, in makescriptsmenu

self.scriptswalk(fsr.as_pathname(), self.scriptsmenu)

File "/System/Library/Frameworks/Python.framework/Versions/2.3/Mac/Tools/IDE/Wapplication.py", line 309, in scriptswalk

self.scriptswalk(path, submenu, done)

File "/System/Library/Frameworks/Python.framework/Versions/2.3/Mac/Tools/IDE/Wapplication.py", line 309, in scriptswalk

self.scriptswalk(path, submenu, done)

File "/System/Library/Frameworks/Python.framework/Versions/2.3/Mac/Tools/IDE/Wapplication.py", line 309, in scriptswalk

self.scriptswalk(path, submenu, done)

File "/System/Library/Frameworks/Python.framework/Versions/2.3/Mac/Tools/IDE/Wapplication.py", line 308, in scriptswalk

submenu = FrameWork.SubMenu(menu, name)

File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/plat-mac/FrameWork.py", line 708, in SubMenu

return menu.addsubmenu(label, title)

File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/plat-mac/FrameWork.py", line 595, in addsubmenu

sub = Menu(self.bar, title, -1)

File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/plat-mac/FrameWork.py", line 545, in init

self.id, self.menu = self.bar.addmenu(title, after, id)

File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/plat-mac/FrameWork.py", line 479, in addmenu

id = self.getnextid()

File "/System/Library/Frameworks/Python.framework/Versions/2.3/Mac/Tools/IDE/Wapplication.py", line 433, in getnextid

id = self.possibleIDs[0]

IndexError: list index out of range

thanks, Michael



More information about the Pythonmac-SIG mailing list