Invalid config mobile_app, default_config

Hi,
I get the following message after restrart Home Assistant:
Invalid config
The following integrations and platforms could not be set up:
mobile_app
default_config
Please check your config

There is a “default_config:” in the configuration.yaml. There are also some relevant entries in the log:

Logger: homeassistant.util.package
Source: util/package.py:95
First occurred: 8:39:32 (1 occurrences)
Last logged: 8:39:32

Unable to install package PyNaCl==1.3.0: ERROR: Command errored out with exit status 1: command: /srv/homeassistant/bin/python3 /srv/homeassistant/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-blix5ka_/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'cffi>=1.4.1; python_implementation != '"'"'PyPy'"'"'' cwd: None Complete output (44 lines): Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 193, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.8/runpy.py", line 86, in _run_code exec(code, run_globals) File "/srv/homeassistant/lib/python3.8/site-packages/pip/__main__.py", line 19, in <module> sys.exit(_main()) File "/srv/homeassistant/lib/python3.8/site-packages/pip/_internal/cli/main.py", line 73, in main command = create_command(cmd_name, isolated=("--isolated" in cmd_args)) File "/srv/homeassistant/lib/python3.8/site-packages/pip/_internal/commands/__init__.py", line 96, in create_command module = importlib.import_module(module_path) File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1014, in _gcd_import File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 671, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 783, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/srv/homeassistant/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 24, in <module> from pip._internal.cli.req_command import RequirementCommand File "/srv/homeassistant/lib/python3.8/site-packages/pip/_internal/cli/req_command.py", line 21, in <module> from pip._internal.req.constructors import ( File "/srv/homeassistant/lib/python3.8/site-packages/pip/_internal/req/__init__.py", line 11, in <module> from .req_file import parse_requirements File "/srv/homeassistant/lib/python3.8/site-packages/pip/_internal/req/req_file.py", line 25, in <module> from pip._internal.req.constructors import ( File "/srv/homeassistant/lib/python3.8/site-packages/pip/_internal/req/constructors.py", line 28, in <module> from pip._internal.req.req_install import InstallRequirement File "/srv/homeassistant/lib/python3.8/site-packages/pip/_internal/req/req_install.py", line 17, in <module> from pip._vendor.pep517.wrappers import Pep517HookCaller File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 655, in _load_unlocked File "<frozen importlib._bootstrap>", line 618, in _load_backward_compatible File "<frozen zipimport>", line 259, in load_module File "/srv/homeassistant/share/python-wheels/pep517-0.8.2-py2.py3-none-any.whl/pep517/wrappers.py", line 14, in <module> File "/usr/lib/python3.8/importlib/resources.py", line 11, in <module> from typing import Iterable, Iterator, Optional, Set, Union # noqa: F401 File "/srv/homeassistant/lib/python3.8/site-packages/typing.py", line 1357, in <module> class Callable(extra=collections_abc.Callable, metaclass=CallableMeta): File "/srv/homeassistant/lib/python3.8/site-packages/typing.py", line 1005, in __new__ self._abc_registry = extra._abc_registry AttributeError: type object 'Callable' has no attribute '_abc_registry' ---------------------------------------- ERROR: Command errored out with exit status 1: /srv/homeassistant/bin/python3 /srv/homeassistant/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-blix5ka_/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'cffi>=1.4.1; python_implementation != '"'"'PyPy'"'"'' Check the logs for full command output.
Logger: zeroconf
Source: /srv/homeassistant/lib/python3.8/site-packages/zeroconf/__init__.py:365
First occurred: 8:39:25 (1 occurrences)
Last logged: 8:39:25

Error sending through socket 13
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.8/site-packages/zeroconf/__init__.py", line 2792, in send
    bytes_sent = s.sendto(packet, 0, (real_addr, port))
OSError: [Errno 126] Required key not available

Home assistant runs on ubuntu server 20.04 64bit in venv on raspberry pi 4 4Gb.
This error occurs since the release upgrade of ubuntu from 19.10 to 20.04.

How can I fix this?

THX:
P!

Hi petikeje,

I’m not sure if you’ve resolved this yet, I’ve just spent the last two hours troubleshooting it. There is an open issue with the Typing library - https://github.com/python/typing/issues/573. Typing was bundled in the more recent version of Python 3 which seems to cause this headache.

Anyway, how I resolved it.

  1. Uninstall typing package with pip (load your python virtual environment first if your using one)
pip uninstall typing
  1. Install pynacl 1.3.0
pip install pynacl==1.3.0
  1. Restart home assistant

Hope this fixes your issue.

:smiley:

Thx! It works.