Traceback (most recent call last):


 "calibre_plugins.dedrm.kindlekey", line 1540, in getDBfrom


cleartext = UnprotectHeaderData(encryptedValue)


 "calibre_plugins.dedrm.kindlekey", line 1408, in UnprotectHeaderData

crp = LibCrypto()
TypeError: 'NoneType' object is not callable

Traceback (most recent call last):


 "/home/gan/eclipse-workspace/SeqGAN-master/sequence_gan.py", line 182, in <module>

main()


 "/home/gan/eclipse-workspace/SeqGAN-master/sequence_gan.py", line 91, in main

generator = Generator(vocab_size, BATCH_SIZE, EMB_DIM, HIDDEN_DIM, SEQ_LENGTH, START_TOKEN)


 "/home/gan/eclipse-workspace/SeqGAN-master/generator.py", line 43, in __init__

self.h0 = tf.stack(values, name)([self.h0, self.h0])



 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/array_ops.py", line 817, in stack

value_shape = ops.convert_to_tensor(values[0], name=name).get_shape()
TypeError: 'type' object has no attribute '__getitem__'
