ERROR (theano.gof.opt): Traceback (most recent call last):

 "/homes/pp305/work/theano_code/theano_new/lib/python2.7/site-packages/theano/gof/opt.py", line 1807, in process_node
fgraph.replace_all_validate(repl_pairs, reason=lopt)

 "/homes/pp305/work/theano_code/theano_new/lib/python2.7/site-packages/theano/gof/toolbox.py", line 309, in replace_all_validate
fgraph.replace(r, new_r, reason=reason, verbose=False)

 "/homes/pp305/work/theano_code/theano_new/lib/python2.7/site-packages/theano/gof/fg.py", line 561, in replace
str(reason))TypeError: ('The type of the replacement must be compatible with the type of the original Variable.', Sum{axis=[0, 2, 3], acc_dtype=float64}.0, Sum{ax
Traceback (most recent call last):

 "/var/folders/tt/mlmx2kd91vs1y11my58n74s00000gn/T/ansible_IkChR_/ansible_module_ec2_ami_find.py", line 423, in <module>
main()

 "/var/folders/tt/mlmx2kd91vs1y11my58n74s00000gn/T/ansible_IkChR_/ansible_module_ec2_ami_find.py", line 377, in main
'creationDate': image.creationDate,AttributeError: 'Image' object has no attribute 'creationDate'