Traceback (most recent call last):


 "/srv/homeassistant/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2862, in _dep_map

return self.__dep_map


 "/srv/homeassistant/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2669, in __getattr__

raise AttributeError(attr)
AttributeError: _DistInfoDistribution__dep_map

Traceback (most recent call last):


 "<redacted>/virtualenv/local/lib/python2.7/site-packages/celery/worker/__init__.py", line 206, in start

self.blueprint.start(self)


 "<redacted>/virtualenv/local/lib/python2.7/site-packages/celery/bootsteps.py", line 123, in start

step.start(parent)


 "<redacted>/virtualenv/local/lib/python2.7/site-packages/celery/bootsteps.py", line 374, in start

return self.obj.start()


 "<redacted>/virtualenv/local/lib/python2.7/site-packages/celery/worker/consumer.py", line 280, in start

blueprint.start(self)


 "<redacted>/virtualenv/local/lib/python2.7/site-packages/celery/bootsteps.py", line 123, in start

step.start(parent)


 "<redacted>/virtualenv/local/lib/python2.7/site-packages/celery/worker/consumer.py", line 884, in start

c.loop(*c.loop_args())


 "<redacted>/virtualenv/local/lib/python2.7/site-packages/celery/worker/loops.py", line 76, in asynloop

next(loop)


 "<redacted>/virtualenv/local/lib/python2.7/site-packages/kombu/async/hub.py", line 279, in create_loop

item()


 "<redacted>/virtualenv/local/lib/python2.7/site-packages/amqp/utils.py", line 42, in __call__

self.set_error_state(exc)


 "<redacted>/virtualenv/local/lib/python2.7/site-packages/amqp/utils.py", line 39, in __call__

**dict(self.kwargs, **kwargs) if self.kwargs else kwargs


 "<redacted>/virtualenv/local/lib/python2.7/site-packages/kombu/connection.py", line 288, in drain_events

return self.transport.drain_events(self.connection, **kwargs)


 "<redacted>/virtualenv/local/lib/python2.7/site-packages/kombu/transport/pyamqp.py", line 95, in drain_events

return connection.drain_events(**kwargs)
AttributeError: 'NoneType' object has no attribute 'drain_events'
