[Pythonmac-SIG] Problem Running PythonIDE

marmille marmille at adobe.com
Mon Jun 28 19:52:34 EDT 2004


Jack Jansen wrote:
> 
> On 28 Jun 2004, at 19:35, marmille wrote:
> 
>> I have MacPython 2.3.3 installed on OS X 10.2.8. I've modified my 
>> login so that /usr/local/bin is the first folder on my PATH.
>>
>> I can run python from Terminal just fine, but when I try to start the 
>> PythonIDE app by double-clicking on it, all I see is the splash screen 
>> for a second then it quits -- and no error messages or dialogs are 
>> displayed.
> 
> 
> There are two ways to try and see the error message:
> - Open Applications->Utilities->Console, and see whether there are any 
> messages there.
> - Start the IDE from the command line, by running 
> /Applications/MacPython-2.3/PythonIDE.app/Contents/MacOS/PythonIDE.
> -- 
> Jack Jansen, <Jack.Jansen at cwi.nl>, http://www.cwi.nl/~jack
> If I can't dance I don't want to be part of your revolution -- Emma Goldman

Thanks Jack. This is what was in shown in the Console window:
> Traceback (most recent call last):
>   File "/Applications/MacPython-2.3/PythonIDE.app/Contents/Resources/PythonIDE.py", line 59, in ?
>     _PythonIDEMain.PythonIDE()
>   File "/Library/Frameworks/Python.framework/Versions/2.3/Mac/Tools/IDE/PythonIDEMain.py", line 41, in __init__
>     Wapplication.Application.__init__(self, 'Pide')
>   File "/Library/Frameworks/Python.framework/Versions/2.3/Mac/Tools/IDE/Wapplication.py", line 28, in __init__
>     FrameWork.Application.__init__(self)
>   File "/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/plat-mac/FrameWork.py", line 115, in __init__
>     self.makemenubar()
>   File "/Library/Frameworks/Python.framework/Versions/2.3/Mac/Tools/IDE/Wapplication.py", line 275, in makemenubar
>     self.makeusermenus()
>   File "/Library/Frameworks/Python.framework/Versions/2.3/Mac/Tools/IDE/PythonIDEMain.py", line 159, in makeusermenus
>     self.makescriptsmenu()
>   File "/Library/Frameworks/Python.framework/Versions/2.3/Mac/Tools/IDE/PythonIDEMain.py", line 261, in makescriptsmenu
>     self.scriptswalk(fsr.as_pathname(), self.scriptsmenu)
>   File "/Library/Frameworks/Python.framework/Versions/2.3/Mac/Tools/IDE/Wapplication.py", line 309, in scriptswalk
>     self.scriptswalk(path, submenu, done)
>   File "/Library/Frameworks/Python.framework/Versions/2.3/Mac/Tools/IDE/Wapplication.py", line 309, in scriptswalk
>     self.scriptswalk(path, submenu, done)
>   File "/Library/Frameworks/Python.framework/Versions/2.3/Mac/Tools/IDE/Wapplication.py", line 309, in scriptswalk
>     self.scriptswalk(path, submenu, done)
>   File "/Library/Frameworks/Python.framework/Versions/2.3/Mac/Tools/IDE/Wapplication.py", line 309, in scriptswalk
>     self.scriptswalk(path, submenu, done)
>   File "/Library/Frameworks/Python.framework/Versions/2.3/Mac/Tools/IDE/Wapplication.py", line 309, in scriptswalk
>     self.scriptswalk(path, submenu, done)
>   File "/Library/Frameworks/Python.framework/Versions/2.3/Mac/Tools/IDE/Wapplication.py", line 309, in scriptswalk
>     self.scriptswalk(path, submenu, done)
>   File "/Library/Frameworks/Python.framework/Versions/2.3/Mac/Tools/IDE/Wapplication.py", line 309, in scriptswalk
>     self.scriptswalk(path, submenu, done)
>   File "/Library/Frameworks/Python.framework/Versions/2.3/Mac/Tools/IDE/Wapplication.py", line 309, in scriptswalk
>     self.scriptswalk(path, submenu, done)
>   File "/Library/Frameworks/Python.framework/Versions/2.3/Mac/Tools/IDE/Wapplication.py", line 308, in scriptswalk
>     submenu = FrameWork.SubMenu(menu, name)
>   File "/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/plat-mac/FrameWork.py", line 708, in SubMenu
>     return menu.addsubmenu(label, title)
>   File "/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 "/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 "/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/plat-mac/FrameWork.py", line 479, in addmenu
>     id = self.getnextid()
>   File "/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

...which is hopefully a clue to somebody, but way beyond my own meager 
MacPython abilities to diagnose at this point.

-Martin





More information about the Pythonmac-SIG mailing list