[Traceback (most recent call last):


 "/home/s0p04bp/env/lib/python3.7/site-packages/gunicorn/util.py", line 99, in load_class

mod = importlib.import_module('.'.join(components))


 "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module

return _bootstrap._gcd_import(name[level:], package, level)


 "<frozen importlib._bootstrap>", line 1006, in _gcd_import


 "<frozen importlib._bootstrap>", line 983, in _find_and_load


 "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked


 "<frozen importlib._bootstrap>", line 677, in _load_unlocked


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


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


 "/home/s0p04bp/env/lib/python3.7/site-packages/gunicorn/workers/ggevent.py", line 14, in <module>

import gevent


 "/home/s0p04bp/env/lib/python3.7/site-packages/gevent/__init__.py", line 98, in <module>

from gevent.os import fork


 "/home/s0p04bp/env/lib/python3.7/site-packages/gevent/os.py", line 495, in <module>

_raw_posix_spawnp = os.posix_spawnp
AttributeError: module 'os' has no attribute 'posix_spawnp'

Traceback (most recent call last):


 "/usr/lib/python3.7/asyncio/events.py", line 88, in _run

self._context.run(self._callback, *self._args)


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/event.py", line 103, in state_change_listener

event.data.get("new_state"),


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/core.py", line 364, in async_run_job

target(*args)


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/automation/state.py", line 92, in state_automation_listener

call_action()


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/automation/state.py", line 78, in call_action

context=to_s.context,
AttributeError: 'NoneType' object has no attribute 'context'
