Traceback (most recent call last):


 "/usr/local/bin/ivre", line 78, in <module>

main()


 "/usr/local/bin/ivre", line 51, in main

tools.get_command(possible_commands[0])()


 "/usr/local/lib/python2.7/dist-packages/ivre/tools/runscansagentdb.py", line 231, in main

ivre.db.db.agent.feed_all(masterid)


 "/usr/local/lib/python2.7/dist-packages/ivre/db/__init__.py", line 1351, in feed_all

self.feed(masterid, scanid)


 "/usr/local/lib/python2.7/dist-packages/ivre/db/__init__.py", line 1354, in feed

scan = self.lock_scan(scanid)


 "/usr/local/lib/python2.7/dist-packages/ivre/db/__init__.py", line 1486, in lock_scan

scan = self._lock_scan(scanid, None, lockid.bytes)


 "/usr/local/lib/python2.7/dist-packages/ivre/db/mongo.py", line 3372, in _lock_scan

if "target_info" not in scan:
TypeError: argument of type 'NoneType' is not iterable

Traceback (most recent call last):


 "/usr/local/bin/opsdroid", line 8, in <module>

sys.exit(cli())


 "/usr/local/lib/python3.6/dist-packages/click/core.py", line 764, in __call__

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


 "/usr/local/lib/python3.6/dist-packages/click/core.py", line 717, in main

rv = self.invoke(ctx)


 "/usr/local/lib/python3.6/dist-packages/click/core.py", line 1137, in invoke

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


 "/usr/local/lib/python3.6/dist-packages/click/core.py", line 956, in invoke

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


 "/usr/local/lib/python3.6/dist-packages/click/core.py", line 555, in invoke

return callback(*args, **kwargs)


 "/usr/local/lib/python3.6/dist-packages/opsdroid/cli/start.py", line 42, in start

opsdroid.run()


 "/usr/local/lib/python3.6/dist-packages/opsdroid/core.py", line 165, in run

self.eventloop.run_until_complete(asyncio.gather(*pending))


 "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete

return future.result()


 "/usr/local/lib/python3.6/dist-packages/opsdroid/core.py", line 141, in handle_async_exception

context["future"].result()


 "/usr/local/lib/python3.6/dist-packages/slack/rtm/client.py", line 356, in _connect_and_read

await self._wait_exponentially(exception)


 "/usr/local/lib/python3.6/dist-packages/slack/rtm/client.py", line 523, in _wait_exponentially

wait_time = exception.response["headers"]["Retry-After"]
TypeError: 'NoneType' object is not subscriptable
