Menu

Your drscript file is a tad messed up.

Help
leehamel
2005-02-06
2013-04-26
  • leehamel

    leehamel - 2005-02-06

    Running Windows XP + SP2, Python 2.4, wxPython v2.5.3.1 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?

     
    • Daniel Pozmanter

      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.

       
    • leehamel

      leehamel - 2005-02-06

      Does the program operate fine despite this message?

       
    • Daniel Pozmanter

      Good question.  Maybe?

      Well, I fixed the bug anyway.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.