Skip to content

Instantly share code, notes, and snippets.

@ludeeus
Created October 14, 2019 17:45
Show Gist options
  • Save ludeeus/5b5455d1178c7c5b1f1ab36cb4ac89a2 to your computer and use it in GitHub Desktop.
Save ludeeus/5b5455d1178c7c5b1f1ab36cb4ac89a2 to your computer and use it in GitHub Desktop.
Unable to find configuration. Creating default one in /workspaces/home-assistant-dev/./config
Traceback (most recent call last):
File "/usr/local/bin/hass", line 11, in <module>
load_entry_point('homeassistant', 'console_scripts', 'hass')()
File "/workspaces/home-assistant-dev/homeassistant/__main__.py", line 399, in main
exit_code = asyncio_run(setup_and_run_hass(config_dir, args))
File "/usr/local/lib/python3.7/asyncio/runners.py", line 43, in run
return loop.run_until_complete(main)
File "/usr/local/lib/python3.7/asyncio/base_events.py", line 579, in run_until_complete
return future.result()
File "/workspaces/home-assistant-dev/homeassistant/__main__.py", line 293, in setup_and_run_hass
config_file = await ensure_config_file(hass, config_dir)
File "/workspaces/home-assistant-dev/homeassistant/__main__.py", line 104, in ensure_config_file
config_path = await config_util.async_ensure_config_exists(hass, config_dir)
File "/workspaces/home-assistant-dev/homeassistant/config.py", line 238, in async_ensure_config_exists
config_path = await async_create_default_config(hass, config_dir)
File "/workspaces/home-assistant-dev/homeassistant/config.py", line 251, in async_create_default_config
return await hass.async_add_executor_job(_write_default_config, config_dir)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/workspaces/home-assistant-dev/homeassistant/config.py", line 256, in _write_default_config
from homeassistant.components.config.group import CONFIG_PATH as GROUP_CONFIG_PATH
File "/workspaces/home-assistant-dev/homeassistant/components/config/__init__.py", line 8, in <module>
from homeassistant.components.http import HomeAssistantView
File "/workspaces/home-assistant-dev/homeassistant/components/http/__init__.py", line 25, in <module>
from .cors import setup_cors
File "/workspaces/home-assistant-dev/homeassistant/components/http/cors.py", line 2, in <module>
import aiohttp_cors
ModuleNotFoundError: No module named 'aiohttp_cors'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment