Decision trees can fail when signals are nonpredictive and produce a too complex tree. So try less and different signals. But if you can't get it to work, or if the problem has a different reason, please contact Support with your script - they'll look into it.