Traceback (most recent call last):


 "/tmp/ansible_nSZPD5/ansible_module_ec2.py", line 1673, in <module>

main()


 "/tmp/ansible_nSZPD5/ansible_module_ec2.py", line 1667, in main

(tagged_instances, instance_dict_array, new_instance_ids, changed) = enforce_count(module, ec2, vpc)


 "/tmp/ansible_nSZPD5/ansible_module_ec2.py", line 932, in enforce_count

reservations, instances = find_running_instances_by_count_tag(module, ec2, count_tag, zone)


 "/tmp/ansible_nSZPD5/ansible_module_ec2.py", line 638, in find_running_instances_by_count_tag

reservations = get_reservations(module, ec2, tags=count_tag, state="running", zone=zone)


 "/tmp/ansible_nSZPD5/ansible_module_ec2.py", line 697, in get_reservations

results = ec2.get_all_instances(filters=filters)


 "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/boto/ec2/connection.py", line 585, in get_all_instances

max_results=max_results)


 "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/boto/ec2/connection.py", line 681, in get_all_reservations

[('item', Reservation)], verb='POST')


 "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/boto/connection.py", line 1170, in get_list

response = self.make_request(action, params, path, verb)


 "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/boto/connection.py", line 1116, in make_request

return self._mexe(http_request)


 "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/boto/connection.py", line 913, in _mexe

self.is_secure)


 "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/boto/connection.py", line 705, in get_http_connection

return self.new_http_connection(host, port, is_secure)


 "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/boto/connection.py", line 729, in new_http_connection

host = boto.utils.parse_host(host)


 "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/boto/utils.py", line 1086, in parse_host

hostname = hostname.strip()
AttributeError: 'NoneType' object has no attribute 'strip'

Traceback (most recent call last):


 "D:\新建文件夹\PyTorch-YOLOv3\train.py", line 42, in <module>

logger = Logger("logs")


 "D:\新建文件夹\PyTorch-YOLOv3\utils\logger.py", line 7, in __init__

self.writer = tf.summary.
Writer(logdir)
AttributeError: module 'tensorboard.summary._tf.summary' has no attribute '
Writer'.
