Traceback (most recent call last):


 "/home/yukun/theano_pak/_2_stage_opti_theano/dl4mt-opti/theano/theano/sparse/tests/test_sp2.py", line 101, in test_infer_shape

self.op_class)


 "/home/yukun/theano_pak/_2_stage_opti_theano/dl4mt-opti/theano/theano/tests/unittest_tools.py", line 251, in _compile_and_check

numeric_outputs = outputs_function(*numeric_inputs)


 "/home/yukun/theano_pak/_2_stage_opti_theano/dl4mt-opti/theano/theano/compile/function_module.py", line 875, in __call__

storage_map=getattr(self.fn, 'storage_map', None))


 "/home/yukun/theano_pak/_2_stage_opti_theano/dl4mt-opti/theano/theano/gof/link.py", line 317, in raise_with_op

reraise(exc_type, exc_value, exc_trace)


 "/home/yukun/theano_pak/_2_stage_opti_theano/dl4mt-opti/theano/theano/compile/function_module.py", line 862, in __call__

self.fn() if output_subset is None else\


 "/home/yukun/theano_pak/_2_stage_opti_theano/dl4mt-opti/theano/theano/gof/op.py", line 905, in rval

r = p(n, [x[0] for x in i], o)


 "/home/yukun/theano_pak/_2_stage_opti_theano/dl4mt-opti/theano/theano/sparse/sandbox/sp2.py", line 126, in perform

binomial = numpy.random.binomial(n, p, size=shape)


 "mtrand.pyx", line 3760, in mtrand.RandomState.binomial (numpy/random/mtrand/mtrand.c:28715)
TypeError: Cannot cast array data from dtype('float32') to dtype('int64') according to the rule 'safe'

Traceback (most recent call last):


 "/Users/serena/Documents/serena/incubator-superset/fix_css/lib/python2.7/site-packages/gunicorn/arbiter.py", line 578, in spawn_worker

worker.init_process()


 "/Users/serena/Documents/serena/incubator-superset/fix_css/lib/python2.7/site-packages/gunicorn/workers/base.py", line 126, in init_process

self.load_wsgi()


 "/Users/serena/Documents/serena/incubator-superset/fix_css/lib/python2.7/site-packages/gunicorn/workers/base.py", line 135, in load_wsgi

self.wsgi = self.app.wsgi()


 "/Users/serena/Documents/serena/incubator-superset/fix_css/lib/python2.7/site-packages/gunicorn/app/base.py", line 67, in wsgi

self.callable = self.load()


 "/Users/serena/Documents/serena/incubator-superset/fix_css/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py", line 65, in load

return self.load_wsgiapp()


 "/Users/serena/Documents/serena/incubator-superset/fix_css/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py", line 52, in load_wsgiapp

return util.import_app(self.app_uri)


 "/Users/serena/Documents/serena/incubator-superset/fix_css/lib/python2.7/site-packages/gunicorn/util.py", line 352, in import_app

__import__(module)


 "/Users/serena/Documents/serena/incubator-superset/superset/__init__.py", line 156, in <module>

update_perms=utils.get_update_perms_flag(),
TypeError: __init__() got an unexpected keyword argument 'update_perms'
