MemoryError: Stack Overflow

Using autodock tools and vina for flexible docking. This error appears whenever a residue is chosen to be made flexible.

File “C:\Program Files (x86)\MGLTools-1.5.7\lib\site-packages\PyBabel\”, line 365, in connect_the_dots
self.connect_the_dots(self.atoms.index(new_atm), choice_bnd )
File “C:\Program Files (x86)\MGLTools-1.5.7\lib\”, line 81, in index
def index(self, item, *args): return, *args)
MemoryError: Stack overflow

Does anyone know how to troubleshoot this? Thank you.

Looking at the GitHub repository (which is at v1.5.4) I can see that this package is 12 years old and seems to be unmaintained. This post is suggesting that downgrading to an older version may fix the issue.

1 Like

Thank you very much!