Traceback (most recent call last):


 "/home/bast/.virtualenvs/microblog/bin/flask", line 11, in <module>

sys.exit(main())


 "/home/bast/.virtualenvs/microblog/lib/python3.6/site-packages/flask/cli.py", line 513, in main

cli.main(args=args, prog_name=name)


 "/home/bast/.virtualenvs/microblog/lib/python3.6/site-packages/flask/cli.py", line 380, in main

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


 "/home/bast/.virtualenvs/microblog/lib/python3.6/site-packages/click/core.py", line 697, in main

rv = self.invoke(ctx)


 "/home/bast/.virtualenvs/microblog/lib/python3.6/site-packages/click/core.py", line 1066, in invoke

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


 "/home/bast/.virtualenvs/microblog/lib/python3.6/site-packages/click/core.py", line 1066, in invoke

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


 "/home/bast/.virtualenvs/microblog/lib/python3.6/site-packages/click/core.py", line 895, in invoke

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


 "/home/bast/.virtualenvs/microblog/lib/python3.6/site-packages/click/core.py", line 535, in invoke

return callback(*args, **kwargs)


 "/home/bast/.virtualenvs/microblog/lib/python3.6/site-packages/click/decorators.py", line 17, in new_func

return f(get_current_context(), *args, **kwargs)


 "/home/bast/.virtualenvs/microblog/lib/python3.6/site-packages/flask/cli.py", line 257, in decorator

return __ctx.invoke(f, *args, **kwargs)


 "/home/bast/.virtualenvs/microblog/lib/python3.6/site-packages/click/core.py", line 535, in invoke

return callback(*args, **kwargs)


 "/home/bast/.virtualenvs/microblog/lib/python3.6/site-packages/flask_migrate/cli.py", line 134, in upgrade

_upgrade(directory, revision, sql, tag, x_arg)


 "/home/bast/.virtualenvs/microblog/lib/python3.6/site-packages/flask_migrate/__init__.py", line 259, in upgrade

command.upgrade(config, revision, sql=sql, tag=tag)


 "/home/bast/.virtualenvs/microblog/lib/python3.6/site-packages/alembic/command.py", line 254, in upgrade

script.run_env()


 "/home/bast/.virtualenvs/microblog/lib/python3.6/site-packages/alembic/script/base.py", line 425, in run_env

util.load_python_file(self.dir, 'env.py')


 "/home/bast/.virtualenvs/microblog/lib/python3.6/site-packages/alembic/util/pyfiles.py", line 81, in load_python_file

module = load_module_py(module_id, path)


 "/home/bast/.virtualenvs/microblog/lib/python3.6/site-packages/alembic/util/compat.py", line 83, in load_module_py

spec.loader.exec_module(module)


 "<frozen importlib._bootstrap_external>", line 678, in exec_module


 "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed


 "migrations/env.py", line 23, in <module>

target_metadata = current_app.extensions['migrate'].db.metadata
AttributeError: 'NoneType' object has no attribute 'metadata'

Traceback (most recent call last):


 "/opt/sickbeard_mp4_automator/delugePostProcess.py", line 84, in <module>

output = converter.process(inputfile)


 "/opt/sickbeard_mp4_automator/mkvtomp4.py", line 229, in process

dim = self.getDimensions(outputfile)


 "/opt/sickbeard_mp4_automator/mkvtomp4.py", line 269, in getDimensions

self.log.debug("Height: %s" % info.video.video_height)
AttributeError: 'NoneType' object has no attribute 'video'
