Traceback (most recent call last):


 "/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/settings/production.py", line 84, in <module>

include(settings_file, optional(settings_files), scope=locals())


 "/var/lib/awx/venv/awx/lib/python3.6/site-packages/split_settings/tools.py", line 107, in include

exec(compiled_code, scope)
# noqa: S102, WPS421


 "/etc/tower/settings.py", line 19, in <module>

SECRET_KEY = get_secret()


 "/etc/tower/settings.py", line 8, in get_secret

return open('/etc/tower/SECRET_KEY', 'rb').read().strip()
IsADirectoryError: [Errno 21] Is a directory: '/etc/tower/SECRET_KEY'

Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 130, in handle_call_service

connection.context(msg),


 "/usr/src/homeassistant/homeassistant/core.py", line 1234, in async_call

await asyncio.shield(self._execute_service(handler, service_call))


 "/usr/src/homeassistant/homeassistant/core.py", line 1259, in _execute_service

await handler.func(service_call)


 "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service

self._platforms.values(), func, call, service_name, required_features


 "/usr/src/homeassistant/homeassistant/helpers/service.py", line 349, in entity_service_call

future.result()
# pop exception if have


 "/usr/src/homeassistant/homeassistant/helpers/service.py", line 373, in _handle_service_platform_call

await func(entity, data)


 "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 712, in async_handle_record_service

DOMAIN_STREAM, SERVICE_RECORD, data, blocking=True, context=call.context


 "/usr/src/homeassistant/homeassistant/core.py", line 1234, in async_call

await asyncio.shield(self._execute_service(handler, service_call))


 "/usr/src/homeassistant/homeassistant/core.py", line 1259, in _execute_service

await handler.func(service_call)


 "/usr/src/homeassistant/homeassistant/components/stream/__init__.py", line 130, in async_record

await async_handle_record_service(hass, call)


 "/usr/src/homeassistant/homeassistant/components/stream/__init__.py", line 232, in async_handle_record_service

raise HomeAssistantError(f"Stream already recording to {recorder.video_path}!")
homeassistant.exceptions.HomeAssistantError: Stream already recording to /config/www/xxxxx.mp4!
