Here you're raising a RuntimeError and on the Study object you don't specify it. Please, review all your documentation and make sure that it is accurate...