I upgraded from 0.82.1 to 0.83. Now homeassistant won’t start. I waited four hours.
Summary
2018-11-30 20:23:08 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/setup.py", line 56, in async_setup_component
return await task # type: ignore
File "/usr/local/lib/python3.6/site-packages/homeassistant/setup.py", line 110, in _async_setup_component
components = loader.load_order_component(hass, domain)
File "/usr/local/lib/python3.6/site-packages/homeassistant/loader.py", line 218, in load_order_component
return _load_order_component(hass, comp_name, OrderedSet(), set())
File "/usr/local/lib/python3.6/site-packages/homeassistant/loader.py", line 248, in _load_order_component
hass, dependency, load_order, loading)
File "/usr/local/lib/python3.6/site-packages/homeassistant/loader.py", line 228, in _load_order_component
component = get_component(hass, comp_name)
File "/usr/local/lib/python3.6/site-packages/homeassistant/loader.py", line 92, in get_component
module = importlib.import_module(path)
File "/usr/local/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 674, in exec_module
File "<frozen importlib._bootstrap_external>", line 781, in get_code
File "<frozen importlib._bootstrap_external>", line 741, in source_to_code
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ValueError: source code string cannot contain null bytes
2018-11-30 20:23:09 WARNING (MainThread) [homeassistant.components.http] legacy_api_password support has been enabled. If you don't require it, remove the 'api_password' from your http config.
2018-11-30 20:23:09 ERROR (MainThread) [homeassistant.config] Invalid config for [conversation]: expected a dictionary for dictionary value @ data['conversation']. Got ['light', 'switch']. (See /config/configuration.yaml, line 403). Please check the docs at https://home-assistant.io/components/conversation/
2018-11-30 20:23:09 ERROR (MainThread) [homeassistant.setup] Setup failed for conversation: Invalid config.
2018-11-30 20:23:14 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/config/__init__.py", line 38, in setup_panel
hass, config, DOMAIN, panel_name)
File "/usr/local/lib/python3.6/site-packages/homeassistant/setup.py", line 201, in async_prepare_setup_platform
platform = loader.get_platform(hass, domain, platform_name)
File "/usr/local/lib/python3.6/site-packages/homeassistant/loader.py", line 60, in get_platform
return get_component(hass, PLATFORM_FORMAT.format(domain, platform))
File "/usr/local/lib/python3.6/site-packages/homeassistant/loader.py", line 92, in get_component
module = importlib.import_module(path)
File "/usr/local/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/config/automation.py", line 7, in <module>
from homeassistant.components.automation import DOMAIN, PLATFORM_SCHEMA
ValueError: source code string cannot contain null bytes
2018-11-30 20:23:17 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/setup.py", line 56, in async_setup_component
return await task # type: ignore
File "/usr/local/lib/python3.6/site-packages/homeassistant/setup.py", line 103, in _async_setup_component
component = loader.get_component(hass, domain)
File "/usr/local/lib/python3.6/site-packages/homeassistant/loader.py", line 92, in get_component
module = importlib.import_module(path)
File "/usr/local/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 674, in exec_module
File "<frozen importlib._bootstrap_external>", line 781, in get_code
File "<frozen importlib._bootstrap_external>", line 741, in source_to_code
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ValueError: source code string cannot contain null bytes
2018-11-30 20:24:28 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 390, in start
resp = await self._request_handler(request)
File "/usr/local/lib/python3.6/site-packages/aiohttp/web_app.py", line 366, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.6/site-packages/aiohttp/web_middlewares.py", line 106, in impl
return await handler(request)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/static.py", line 68, in staticresource_middleware
fingerprinted = _FINGERPRINT.match(request.match_info['filename'])
KeyError: 'filename'
Not sure what to do really. I already put a # infront of everything in my configuration file, based on the comments before mine.