Traceback (most recent call last):

 "./gam/gam.py", line 8397, in <module>
doUpdateGroup()

 "./gam/gam.py", line 5228, in doUpdateGroup
cd = buildGAPIObject(u'directory')

 "./gam/gam.py", line 566, in buildGAPIObject
doRequestOAuth()

 "./gam/gam.py", line 8196, in doRequestOAuth
selection = raw_input(menu % menu_fill)TypeError: not all arguments converted during string formatting
Traceback (most recent call last):


 "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main

"__main__", fname, loader, pkg_name)


 "/usr/lib/python2.7/runpy.py", line 72, in _run_code

exec code in run_globals


 "/home/pksingh/nmt/nmt/nmt.py", line 495, in <module>

tf.app.run(main=main, argv=[sys.argv[0]] + unparsed)


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

_sys.exit(main(_sys.argv[:1] + flags_passthrough))


 "/home/pksingh/nmt/nmt/nmt.py", line 488, in main

run_main(FLAGS, default_hparams, train_fn, inference_fn)


 "/home/pksingh/nmt/nmt/nmt.py", line 481, in run_main

train_fn(hparams, target_session=target_session)


 "nmt/train.py", line 215, in train

sample_tgt_data)


 "nmt/train.py", line 141, in run_full_eval

infer_model, infer_sess, model_dir, hparams, summary_writer)


 "nmt/train.py", line 129, in run_external_eval

save_on_best=False)


 "nmt/train.py", line 446, in _external_eval

decode=decode)


 "nmt/utils/nmt_utils.py", line 80, in decode_and_evaluate

bpe_delimiter=bpe_delimiter)


 "nmt/utils/evaluation_utils.py", line 36, in evaluate

bpe_delimiter=bpe_delimiter)


 "nmt/utils/evaluation_utils.py", line 89, in _bleu

per_segment_references, translations, max_order, smooth)


 "nmt/scripts/bleu.py", line 105, in compute_bleu

ratio = float(translation_length) / reference_length
ZeroDivisionError: float division by zero
