Traceback (most recent call last):


 "/Users/abc/custodian/cloud-custodian/c7n/policy.py", line 291, in run

resources = self.policy.resource_manager.resources()


 "/Users/abc/custodian/cloud-custodian/c7n/query.py", line 465, in resources

resources = self.filter_resources(resources)


 "/Users/abc/custodian/cloud-custodian/c7n/manager.py", line 109, in filter_resources

resources = f.process(resources, event)


 "/Users/abc/custodian/cloud-custodian/c7n/filters/core.py", line 258, in process

return self.process_set(resources, event)


 "/Users/abc/custodian/cloud-custodian/c7n/filters/core.py", line 274, in process_set

r[rtype_id] for r in f.process(resources, event)])


 "/Users/abc/custodian/cloud-custodian/c7n/resources/asg.py", line 573, in process

return super(ImageAgeFilter, self).process(asgs, event)


 "/Users/abc/custodian/cloud-custodian/c7n/filters/core.py", line 197, in process

return list(filter(self, resources))


 "/Users/abc/custodian/cloud-custodian/c7n/filters/core.py", line 677, in __call__

v = self.get_resource_date(i)


 "/Users/abc/custodian/cloud-custodian/c7n/resources/asg.py", line 577, in get_resource_date

ami = self.images.get(cfg.get('ImageId'), {})
AttributeError: 'NoneType' object has no attribute 'get'

Traceback (most recent call last):


 "/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 174, in _run_module_as_main

"__main__", fname, loader, pkg_name)


 "/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code

exec code in run_globals


 "adb.zip/__main__.py", line 178, in <module>


 "adb.zip/__main__.py", line 174, in main


 "adb.zip/adb/common_cli.py", line 150, in StartCli


 "adb.zip/adb/adb_commands.py", line 75, in ConnectDevice


 "adb.zip/adb/common.py", line 212, in FindAndOpen


 "adb.zip/adb/common.py", line 93, in Open


 "adb.zip/adb/common.py", line 138, in port_path


 "/usr/local/lib/python2.7/site-packages/usb1.py", line 1510, in getPortNumberList

result = libusb1.libusb_get_port_numbers(self.device_p, port_list,
AttributeError: 'module' object has no attribute 'libusb_get_port_numbers'
