KeyError Setting Mixture Proportions for Mixture Model

Well,

I set triangle's shape=2 probably mistakenly. I’ve been trying to understand the shape argument. I was thinking that since I have two mixture components, the mixture model will have shape=2. What I really want is a binary variable where triangle is either 1 or 0.

I just set shape=1, and testval=1., and it seems ok. I still get the error about the chain failing.