Traceback (most recent call last):

 "logstash_index_cleaner.py", line 255, in <module>
main()

 "logstash_index_cleaner.py", line 241, in main
do_operation = IndicesClient.close(index_name)

 "/usr/local/lib/python2.7/dist-packages/elasticsearch/client/utils.py", line 70, in _wrapped
return func(*args, params=params, **kwargs)

 "/usr/local/lib/python2.7/dist-packages/elasticsearch/client/indices.py", line 105, in close
params=params)

 "/usr/local/lib/python2.7/dist-packages/elasticsearch/transport.py", line 269, in perform_request
status, headers, raw_data = connection.perform_request(method, url, params, body, ignore=ignore)

 "/usr/local/lib/python2.7/dist-packages/elasticsearch/connection/http_urllib3.py", line 55, in perform_request
self._raise_error(response.status, raw_data)

 "/usr/local/lib/python2.7/dist-packages/elasticsearch/connection/base.py", line 83, in _raise_error
raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code, error_message, additional_info)elasticsearch.exceptions.TransportError: TransportError(500, u'RemoteTransportException[[savvy_es_chef_master_1][inet[/10.35.91.184:9300]][indices/close]]; nested: NullPointerException; ')
Traceback (most recent call last):


 "/home/***/.local/bin/t2t-decoder", line 16, in <module>

tf.app.run()


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 126, in run

_sys.exit(main(argv))


 "/home/***/.local/bin/t2t-decoder", line 12, in main

t2t_decoder.main(argv)


 "/home/***/.local/lib/python2.7/site-packages/tensor2tensor/bin/t2t_decoder.py", line 190, in main

decode(estimator, hp, decode_hp)


 "/home/***/.local/lib/python2.7/site-packages/tensor2tensor/bin/t2t_decoder.py", line 104, in decode

dataset_split="test" if FLAGS.eval_use_test_set else None)


 "/home/***/.local/lib/python2.7/site-packages/tensor2tensor/utils/decoding.py", line 204, in decode_from_dataset

log_targets=decode_hp.log_targets)


 "/home/***/.local/lib/python2.7/site-packages/tensor2tensor/utils/decoding.py", line 94, in log_decode_results

decoded_outputs = targets_vocab.decode(_save_until_eos(outputs, is_image))


 "/home/***/.local/lib/python2.7/site-packages/tensor2tensor/data_generators/text_encoder.py", line 230, in decode

return self._class_labels[label_id]
TypeError: only integer scalar arrays can be converted to a scalar index
