Traceback (most recent call last):


 "/home/bdyetton/PSleep/src/modeling/run_models.py", line 323, in <module>

test_ppc_issue()


 "/home/bdyetton/PSleep/src/modeling/run_models.py", line 282, in test_ppc_issue

pm.sample_posterior_predictive(trace) #NoneConst error here.


 "/home/bdyetton/anaconda3/envs/psleep/lib/python3.7/site-packages/pymc3/sampling.py", line 1167, in sample_posterior_predictive

values = draw_values(vars, point=param, size=size)


 "/home/bdyetton/anaconda3/envs/psleep/lib/python3.7/site-packages/pymc3/distributions/distribution.py", line 627, in draw_values

size=size)


 "/home/bdyetton/anaconda3/envs/psleep/lib/python3.7/site-packages/pymc3/distributions/distribution.py", line 817, in _draw_value

size=None))


 "/home/bdyetton/anaconda3/envs/psleep/lib/python3.7/site-packages/pymc3/distributions/continuous.py", line 495, in random

point=point, size=size)


 "/home/bdyetton/anaconda3/envs/psleep/lib/python3.7/site-packages/pymc3/distributions/distribution.py", line 627, in draw_values

size=size)


 "/home/bdyetton/anaconda3/envs/psleep/lib/python3.7/site-packages/pymc3/distributions/distribution.py", line 851, in _draw_value

raise ValueError('Unexpected type in draw_value: %s' % type(param))
ValueError: Unexpected type in draw_value: <class 'theano.gof.graph.Constant'>

Traceback (most recent call last):


 "[elided]/websockets/client.py", line 90, in read_http_response

status_code, headers = yield from read_response(self.reader)


 "[elided]/websockets/http.py", line 122, in read_response

status_line = yield from read_line(stream)


 "[elided]/websockets/http.py", line 196, in read_line

raise ValueError("Line without CRLF")
ValueError: Line without CRLF
