Traceback (most recent call last):


 "/home_path/.pyenv/versions/3.6.1/lib/python3.6/runpy.py", line 193, in _run_module_as_main

"__main__", mod_spec)


 "/home_path/.pyenv/versions/3.6.1/lib/python3.6/runpy.py", line 85, in _run_code

exec(code, run_globals)


 "/home_path/Documents/char-rnn/nmt-master/nmt/nmt.py", line 478, in <module>

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


 "/home/openmind/.pyenv/versions/3.6.1/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 48, in run

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


 "/home_path/Documents/char-rnn/nmt-master/nmt/nmt.py", line 438, in main

if not tf.gfile.Exists(out_dir): tf.gfile.MakeDirs(out_dir)


 "/home_path/.pyenv/versions/3.6.1/lib/python3.6/site-packages/tensorflow/python/lib/io/file_io.py", line 252, in file_exists

pywrap_tensorflow.
Exists(compat.as_bytes(filename), status)


 "/home_path/.pyenv/versions/3.6.1/lib/python3.6/site-packages/tensorflow/python/util/compat.py", line 65, in as_bytes

(bytes_or_text,))
TypeError: Expected binary or unicode string, got None

Traceback (most recent call last):


 "/home/tom/tmp/test-libcloud.py", line 17, in <module>

ex_force_auth_version='3.x_password').list_images()


 "/home/tom/devel/apache/libcloud/libcloud/compute/drivers/openstack.py", line 372, in list_images

self.connection.request('/images/detail').object, ex_only_active)


 "/home/tom/devel/apache/libcloud/libcloud/common/openstack.py", line 225, in request

raw=raw)


 "/home/tom/devel/apache/libcloud/libcloud/common/base.py", line 538, in request

action = self.morph_action_hook(action)


 "/home/tom/devel/apache/libcloud/libcloud/common/openstack.py", line 292, in morph_action_hook

self._populate_hosts_and_request_paths()


 "/home/tom/devel/apache/libcloud/libcloud/common/openstack.py", line 334, in _populate_hosts_and_request_paths

auth_version=self._auth_version)


 "/home/tom/devel/apache/libcloud/libcloud/common/openstack_identity.py", line 185, in __init__

service_catalog=service_catalog)


 "/home/tom/devel/apache/libcloud/libcloud/common/openstack_identity.py", line 428, in _parse_service_catalog_auth_v3

for item in service_catalog:
TypeError: 'NoneType' object is not iterable
