Thank you for reporting this error, we'll do our best to investigate the cause as soon as we can. Would you be able to tell us which version of Ren'Py you're using and what OS you're running on?
In the meantime, you can still open the source files in your code editor and use the code in there to assist you with your projects.