Traceback (most recent call last):


 "/usr/local/lib/python3.6/site-packages/synapse/http/server.py", line 81, in wrapped_request_handler

yield h(self, request)


 "/usr/local/lib/python3.6/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks

result = result.throwExceptionIntoGenerator(g)


 "/usr/local/lib/python3.6/site-packages/twisted/python/failure.py", line 491, in throwExceptionIntoGenerator

return g.throw(self.type, self.value, self.tb)


 "/usr/local/lib/python3.6/site-packages/synapse/http/server.py", line 316, in _async_render

callback_return = yield callback(request, **kwargs)


 "/usr/local/lib/python3.6/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks

result = result.throwExceptionIntoGenerator(g)


 "/usr/local/lib/python3.6/site-packages/twisted/python/failure.py", line 491, in throwExceptionIntoGenerator

return g.throw(self.type, self.value, self.tb)


 "/usr/local/lib/python3.6/site-packages/synapse/rest/client/v1/room.py", line 479, in on_GET

event_filter=event_filter,


 "/usr/local/lib/python3.6/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks

result = result.throwExceptionIntoGenerator(g)


 "/usr/local/lib/python3.6/site-packages/twisted/python/failure.py", line 491, in throwExceptionIntoGenerator

return g.throw(self.type, self.value, self.tb)


 "/usr/local/lib/python3.6/site-packages/synapse/handlers/pagination.py", line 186, in get_messages

room_id=room_id


 "/usr/local/lib/python3.6/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks

result = result.throwExceptionIntoGenerator(g)


 "/usr/local/lib/python3.6/site-packages/twisted/python/failure.py", line 491, in throwExceptionIntoGenerator

return g.throw(self.type, self.value, self.tb)


 "/usr/local/lib/python3.6/site-packages/synapse/streams/events.py", line 81, in get_current_token_for_room

yield self.sources["room"].get_current_key_for_room(room_id)


 "/usr/local/lib/python3.6/site-packages/twisted/internet/defer.py", line 1418, in _inlineCallbacks

result = g.send(result)


 "/usr/local/lib/python3.6/site-packages/synapse/storage/stream.py", line 465, in get_room_events_max_id

defer.returnValue("t%d-%d" % (topo, token))
TypeError: %d format: a number is required, not NoneType

Traceback (most recent call last):


 "train.py", line 271, in <module>

nmt_model.trainNet(dataset, training_params)


 "/data/home/pcori/Chatbot/chat-env/lib/python3.6/site-packages/keras_wrapper/cnn_model.py", line 923, in trainNet

self.__train(ds, params)


 "/data/home/pcori/Chatbot/chat-env/lib/python3.6/site-packages/keras_wrapper/cnn_model.py", line 1152, in __train

initial_epoch=params['epoch_offset'])


 "/data/home/pcori/Chatbot/chat-env/lib/python3.6/site-packages/keras/legacy/interfaces.py", line 91, in wrapper

return func(*args, **kwargs)


 "/data/home/pcori/Chatbot/chat-env/lib/python3.6/site-packages/keras/engine/training.py", line 1709, in fit_generator

initial_epoch=initial_epoch)


 "/data/home/pcori/Chatbot/chat-env/lib/python3.6/site-packages/keras/engine/training_generator.py", line 255, in fit_generator

callbacks.on_epoch_end(epoch, epoch_logs)


 "/data/home/pcori/Chatbot/chat-env/lib/python3.6/site-packages/keras/callbacks.py", line 152, in on_epoch_end

callback.on_epoch_end(epoch, logs)


 "/data/home/pcori/Chatbot/chat-env/lib/python3.6/site-packages/keras_wrapper/extra/callbacks.py", line 290, in on_epoch_end

self.evaluate(epoch, counter_name='epoch')


 "/data/home/pcori/Chatbot/chat-env/lib/python3.6/site-packages/keras_wrapper/extra/callbacks.py", line 544, in evaluate

split=s)
TypeError: compute_perplexity() got an unexpected keyword argument 'pred_list'
