Traceback (most recent call last):


 "/Users/abc/custodian/cloud-custodian/c7n/commands.py", line 281, in run

policy()


 "/Users/abc/custodian/cloud-custodian/c7n/policy.py", line 1031, in __call__

resources = PullMode(self).run()


 "/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):


 "/home/niboshi/t/a.py", line 6, in <module>

y.backward()


 "/data2/work/w/repos/chainer/chainer/variable.py", line 1470, in backward

[(node, grad_var)], retain_grad, loss_scale)


 "/data2/work/w/repos/chainer/chainer/_backprop.py", line 226, in _backprop_to_all

func, target_input_indexes, out_grad, in_grad, is_debug)


 "/data2/work/w/repos/chainer/chainer/_backprop_utils.py", line 140, in backprop_step

_reraise_with_stack(func, e)


 "/data2/work/w/repos/chainer/chainer/_backprop_utils.py", line 138, in backprop_step

target_input_indexes, grad_outputs)


 "/data2/work/w/repos/chainer/chainer/functions/math/basic_math.py", line 700, in backward

return PowVarConstGrad(self.value).apply((inputs[0], gy[0]))


 "/data2/work/w/repos/chainer/chainer/function_node.py", line 301, in apply

self._check_data_type_forward(in_data)


 "/data2/work/w/repos/chainer/chainer/function_node.py", line 397, in _check_data_type_forward

self.check_type_forward(in_type)


 "/data2/work/w/repos/chainer/chainer/functions/math/basic_math.py", line 713, in check_type_forward

in_types[0].dtype == in_types[1].dtype,
AttributeError: 'NoneType' object has no attribute 'dtype'
