MGLTOOLS中Python中的列表索引超出范围错误

MGLTOOLS中Python中的列表索引超出范围错误,python,error-handling,Python,Error Handling,我正在用python脚本运行一个程序(MGLTOOLS)。当我启动程序时,我得到以下错误。我不懂python。我不明白这个错误 C:\Users\Goutham>set MGLPYTHONPATH=C:\Program Files (x86)\MGLTools 1.5.4 C:\Users\Goutham>"C:\Python25\python.exe" "C:\Program Files (x86)\MGLTools 1.5.4 \MGLToolsPckgs

我正在用python脚本运行一个程序(MGLTOOLS)。当我启动程序时,我得到以下错误。我不懂python。我不明白这个错误

    C:\Users\Goutham>set MGLPYTHONPATH=C:\Program Files (x86)\MGLTools 1.5.4
    C:\Users\Goutham>"C:\Python25\python.exe" "C:\Program Files (x86)\MGLTools 1.5.4
    \MGLToolsPckgs\AutoDockTools\bin\runAdt.py"
    Run AutoDockTools from C:\Program Files (x86)\MGLTools 1.5.4\MGLToolsPckgs\AutoD
    ockTools

    Welcome to Python Molecule Viewer!
    Visit http://mgltools.scripps.edu/documentation to read latest documentation.

    Resource file used to customize PMV: C:\Users\Goutham\.mgltools\1.5.4\Pmv\_pmvrc

    Traceback (most recent call last):
      File "C:\Program Files (x86)\MGLTools 1.5.4\MGLToolsPckgs\AutoDockTools\__init
    __.py", line 373, in runADT
        title=title, withShell= not interactive, verbose=False)
      File "C:\Program Files (x86)\MGLTools 1.5.4\MGLToolsPckgs\Pmv\moleculeViewer.p
    y", line 315, in __init__
        verbose=verbose, trapExceptions=trapExceptions)
      File "C:\Program Files (x86)\MGLTools 1.5.4\MGLToolsPckgs\ViewerFramework\VF.p
    y", line 345, in __init__
        verbose=verbose)
      File "C:\Program Files (x86)\MGLTools 1.5.4\MGLToolsPckgs\ViewerFramework\VFGU
    I.py", line 277, in __init__
        cnf = {"addScenarioButton": False})
      File "C:\Program Files (x86)\MGLTools 1.5.4\MGLToolsPckgs\DejaVu\Viewer.py", l
    ine 675, in __init__
        cp = ClippingPlane(self.rootObject, i, self)
      File "C:\Program Files (x86)\MGLTools 1.5.4\MGLToolsPckgs\DejaVu\Clip.py", lin
    e 42, in __init__
        self.id = self.clipPlaneNames[num]
    IndexError: list index out of range
    hit enter to continue

如果在单击GUI时出现此问题,则应联系MGL支持并在其论坛上发布,因为StackOverflow不太可能有任何帮助(这可能需要开发人员进行修复)

请注意,您描述的bug在本报告中有描述:


我认为这在RC3构建中得到了解决。在这里下载

您应该提供正在运行的特定程序(哪些MGLTools)以及如何启动it@DavidRobinsonMGL tools 1.5.4是一个生物信息学工具,它有windows installer,一个运行Python脚本的GUI。它仅适用于Python2.5.2。它应该在点击图标时给出GUI,但它给出了上述错误。您应该将此问题的标题更改为类似“MGL工具帮助错误”。这并不是Python特有的问题。您似乎没有正确使用MGL工具。@gthmgeeky:请更新问题和标题。请不要在问题中添加评论。我在那里尝试过,但仍然有相同的问题。我再查一下。非常感谢。