Traceback (most recent call last):


 "upload-a-video.py", line 9, in <module>

cli.upload(video, text)


 "/Library/Python/2.7/site-packages/instapy_cli/cli.py", line 105, in upload

media = Media(file)


 "/Library/Python/2.7/site-packages/instapy_cli/media.py", line 29, in __init__

self.check_type()


 "/Library/Python/2.7/site-packages/instapy_cli/media.py", line 32, in check_type

self.media_ext = filetype.guess(self.media_path).extension
AttributeError: 'NoneType' object has no attribute 'extension'

Traceback (most recent call last):


 "/usr/bin/c7n-salactus", line 11, in <module>

load_entry_point('c7n-salactus==0.3.0', 'console_scripts', 'c7n-salactus')()


 "/usr/lib/python2.7/site-packages/click/core.py", line 722, in __call__

return self.main(*args, **kwargs)


 "/usr/lib/python2.7/site-packages/click/core.py", line 697, in main

rv = self.invoke(ctx)


 "/usr/lib/python2.7/site-packages/click/core.py", line 1066, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "/usr/lib/python2.7/site-packages/click/core.py", line 895, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/usr/lib/python2.7/site-packages/click/core.py", line 535, in invoke

return callback(*args, **kwargs)


 "/usr/lib/python2.7/site-packages/c7n_salactus/cli.py", line 576, in watch

progress.insert(0, utils.Bag(totals))
AttributeError: 'module' object has no attribute 'Bag'
