Traceback (most recent call last):


 "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner

self.run()


 "/usr/lib/python2.7/threading.py", line 763, in run

self.__target(*self.__args, **self.__kwargs)


 "/usr/src/bitfinex/modules/MarketAnalysis.py", line 178, in update_market_thread

market_data.append(str(raw_data[i]['rate']))
UnboundLocalError: local variable 'raw_data' referenced before assignment

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

 "/usr/local/lib/python3.4/dist-packages/theano/gof/opt.py", line 1787, in process_node
replacements = lopt.transform(node)

 "/usr/local/lib/python3.4/dist-packages/theano/gof/opt.py", line 1238, in transform
repl = opt.transform(node)

 "/usr/local/lib/python3.4/dist-packages/theano/sandbox/cuda/dnn.py", line 2108, in local_conv_dnn
direction_hint=direction_hint)

 "/usr/local/lib/python3.4/dist-packages/theano/sandbox/cuda/dnn.py", line 1153, in dnn_conv
desc_op.subsample)

 "/usr/local/lib/python3.4/dist-packages/theano/sandbox/cuda/dnn.py", line 557, in get_out_shape
subsample)

 "/usr/local/lib/python3.4/dist-packages/theano/tensor/nnet/abstract_conv2d.py", line 46, in get_conv_output_shape
bsize, imshp = image_shape[0], list(image_shape[2:])

 "/usr/local/lib/python3.4/dist-packages/theano/tensor/var.py", line 545, in __iter__
for i in xrange(theano.tensor.basic.get_vector_length(self)):

 "/usr/local/lib/python3.4/dist-packages/theano/tensor/basic.py", line 4262, in get_vector_length
raise ValueError("length not known: %s" % msg)ValueError: length not known: Subtensor{int64::} [id A] '' 