Traceback (most recent call last):
 
 "/usr/local/custodian/site-packages/c7n/policy.py", line 305, in run

resources = self.policy.resource_manager.resources()
 
 "/usr/local/custodian/site-packages/c7n/query.py", line 395, in resources

resources = self.augment(self.source.resources(query))
 
 "/usr/local/custodian/site-packages/c7n/query.py", line 305, in resources

results.extend(f.result())
 
 "/usr/local/custodian/site-packages/concurrent/futures/_base.py", line 422, in result

return self.__get_result()
 
 "/usr/local/custodian/site-packages/concurrent/futures/thread.py", line 62, in run

result = self.fn(*self.args, **self.kwargs)
 
 "/usr/local/custodian/site-packages/c7n/query.py", line 271, in get_resources

results.append(self.load_resource(revisions[0]))
 
 "/usr/local/custodian/site-packages/c7n/resources/s3.py", line 152, in load_resource

method(resource, v)
 
 "/usr/local/custodian/site-packages/c7n/resources/s3.py", line 257, in handle_BucketLifecycleConfiguration

rr['Filter'] = self.convertLifePredicate(r['filter']['predicate'])
 
 "/usr/local/custodian/site-packages/c7n/resources/s3.py", line 262, in convertLifePredicate

if p['type'] == 'LifecyclePrefixPredicate':
TypeError: 'NoneType' object is not subscriptable

Traceback (most recent call last):


 "/usr/local/bin/beet", line 10, in <module>

sys.exit(main())


 "/volume1/@appstore/beets/env/lib/python2.7/site-packages/beets/ui/__init__.py", line 1256, in main

_raw_main(args)


 "/volume1/@appstore/beets/env/lib/python2.7/site-packages/beets/ui/__init__.py", line 1243, in _raw_main

subcommand.func(lib, suboptions, subargs)


 "/volume1/@appstore/beets/env/lib/python2.7/site-packages/beets/ui/commands.py", line 943, in import_func

import_files(lib, paths, query)


 "/volume1/@appstore/beets/env/lib/python2.7/site-packages/beets/ui/commands.py", line 913, in import_files

session.run()


 "/volume1/@appstore/beets/env/lib/python2.7/site-packages/beets/importer.py", line 329, in run

pl.run_parallel(QUEUE_SIZE)


 "/volume1/@appstore/beets/env/lib/python2.7/site-packages/beets/util/pipeline.py", line 445, in run_parallel

six.reraise(exc_info[0], exc_info[1], exc_info[2])


 "/volume1/@appstore/beets/env/lib/python2.7/site-packages/beets/util/pipeline.py", line 312, in run

out = self.coro.send(msg)


 "/volume1/@appstore/beets/env/lib/python2.7/site-packages/beets/util/pipeline.py", line 194, in coro

func(*(args + (task,)))


 "/volume1/@appstore/beets/env/lib/python2.7/site-packages/beets/importer.py", line 1511, in plugin_stage

func(session, task)


 "/volume1/@appstore/beets/env/lib/python2.7/site-packages/beets/plugins.py", line 140, in wrapper

return func(*args, **kwargs)


 "/volume1/@appstore/beets/env/lib/python2.7/site-packages/beetsplug/fetchart.py", line 807, in fetch_art

candidate = self.art_for_album(task.album, task.paths, local)


 "/volume1/@appstore/beets/env/lib/python2.7/site-packages/beetsplug/fetchart.py", line 873, in art_for_album

for candidate in source.get(album, self, paths):


 "/volume1/@appstore/beets/env/lib/python2.7/site-packages/beetsplug/fetchart.py", line 416, in get

self.API_ALBUMS + album.mb_releasegroupid,
TypeError: cannot concatenate 'str' and 'int' objects
