Alright. Please place a bug report following the bug report template, maybe I'm able to work with that.
Please make the screenshot with and without the script running when the error occured, so I can see if it is in a dialogue and if so which exact one.