Running Windows XP + SP2, Python 2.4, wxPython v18.104.22.168 ANSI, wxWindows v2.4.2, DrPython v3.9.7. I ran "setup install", then run the drpython.pyw file. I get a dialog box with the following text:
Your drscript file is a tad messed up.
Traceback (most recent call last):
File "C:\Python\Lib\site-packages\drpython\drScriptMenu.py", line 233, in loadscriptsfromfile
folders[folderindex].Append((self.ID_SCRIPT_BASE + self.scriptcount), self.getdrscriptmenulabel(line_title))
File "C:\Python\Lib\site-packages\drpython\drScriptMenu.py", line 165, in getdrscriptmenulabel
shortcuttext = self.parent.DrScriptShortcuts[i].GetLabel()
IndexError: list index out of range
I click Close and Dr Python GUI comes up. Ideas?
Yes. This is a bug I simply haven't gotten to yet (I found out drpython was writing to the same file twice, and rushed out a bugfix release).
Franz has already figured this out, and it will be in the next release.
Does the program operate fine despite this message?
Good question. Maybe?
Well, I fixed the bug anyway.