0.101: Airly, Apprise, Sinch, Solar-Log, Microsoft Teams

Hi receiving Tons of errors adter upgrading to 101.3


2019-11-02 20:44:19 ERROR (MainThread) [homeassistant.setup] Error during setup of component api
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 176, in _async_setup_component
    component.setup, hass, processed_config  # type: ignore
concurrent.futures._base.CancelledError
2019-11-02 20:44:19 ERROR (MainThread) [homeassistant.setup] Error during setup of component person
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 172, in _async_setup_component
    hass, processed_config
  File "/usr/src/homeassistant/homeassistant/components/person/__init__.py", line 283, in async_setup
    await manager.async_initialize()
  File "/usr/src/homeassistant/homeassistant/components/person/__init__.py", line 117, in async_initialize
    raw_storage = await self.store.async_load()
  File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 99, in async_load
    return await self._load_task
concurrent.futures._base.CancelledError
2019-11-02 20:44:19 ERROR (MainThread) [homeassistant.setup] Error during setup of component yeelight
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 176, in _async_setup_component
    component.setup, hass, processed_config  # type: ignore
concurrent.futures._base.CancelledError
2019-11-02 20:44:19 ERROR (MainThread) [homeassistant.setup] Error during setup of component shopping_list
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 172, in _async_setup_component
    hass, processed_config
  File "/usr/src/homeassistant/homeassistant/components/shopping_list/__init__.py", line 87, in async_setup
    yield from data.async_load()
  File "/usr/src/homeassistant/homeassistant/components/shopping_list/__init__.py", line 171, in async_load
    self.items = yield from self.hass.async_add_job(load)
concurrent.futures._base.CancelledError
2019-11-02 20:44:19 ERROR (MainThread) [homeassistant.components.alarm_control_panel] Error while setting up platform bwalarm
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 150, in _async_setup_platform
    await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
  File "/usr/local/lib/python3.7/asyncio/tasks.py", line 435, in wait_for
    await waiter
concurrent.futures._base.CancelledError
2019-11-02 20:44:19 ERROR (MainThread) [homeassistant.setup] Error during setup of component pi_hole
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 172, in _async_setup_component
    hass, processed_config
  File "/usr/src/homeassistant/homeassistant/components/pi_hole/__init__.py", line 83, in async_setup
    await pi_hole.async_update()
  File "/usr/src/homeassistant/homeassistant/components/pi_hole/__init__.py", line 128, in async_update
    await self.api.get_data()
  File "/usr/local/lib/python3.7/site-packages/hole/__init__.py", line 37, in get_data
    response = await self._session.get(self.base_url)
  File "/usr/local/lib/python3.7/site-packages/aiohttp/client.py", line 483, in _request
    timeout=real_timeout
  File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 523, in connect
    proto = await self._create_connection(req, traces, timeout)
  File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 859, in _create_connection
    req, traces, timeout)
  File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 986, in _create_direct_connection
    req=req, client_error=client_error)
  File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 936, in _wrap_create_connection
    return await self._loop.create_connection(*args, **kwargs)  # type: ignore  # noqa
  File "/usr/local/lib/python3.7/asyncio/base_events.py", line 941, in create_connection
    await self.sock_connect(sock, address)
  File "/usr/local/lib/python3.7/asyncio/selector_events.py", line 464, in sock_connect
    return await fut
concurrent.futures._base.CancelledError
2019-11-02 20:44:19 ERROR (MainThread) [homeassistant.setup] Error during setup of component utility_meter
Traceback (most recent call last):
  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 "/usr/src/homeassistant/homeassista

you need to modify the headers in that application and send the LLAT via the authorization header it should be Authorization: Bearer token where you replace ā€˜tokenā€™ with the token you generate in your profile in HA.

1 Like

It does not upgrade to 101.2 from 100.3


2019-11-02 22:26:57 ERROR (MainThread) [homeassistant.setup] Error during setup of component yeelight
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 176, in _async_setup_component
    component.setup, hass, processed_config  # type: ignore
concurrent.futures._base.CancelledError
2019-11-02 22:26:57 ERROR (MainThread) [homeassistant.setup] Error during setup of component api
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 176, in _async_setup_component
    component.setup, hass, processed_config  # type: ignore
concurrent.futures._base.CancelledError
2019-11-02 22:26:57 ERROR (MainThread) [homeassistant.components.alarm_control_panel] Error while setting up platform bwalarm
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 150, in _async_setup_platform
    await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
  File "/usr/local/lib/python3.7/asyncio/tasks.py", line 435, in wait_for
    await waiter
concurrent.futures._base.CancelledError
2019-11-02 22:26:57 ERROR (MainThread) [homeassistant.setup] Error during setup of component shopping_list
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 172, in _async_setup_component
    hass, processed_config
  File "/usr/src/homeassistant/homeassistant/components/shopping_list/__init__.py", line 87, in async_setup
    yield from data.async_load()
  File "/usr/src/homeassistant/homeassistant/components/shopping_list/__init__.py", line 171, in async_load
    self.items = yield from self.hass.async_add_job(load)
concurrent.futures._base.CancelledError
2019-11-02 22:26:57 ERROR (MainThread) [homeassistant.components.deconz] Error connecting with deCONZ gateway
2019-11-02 22:26:57 ERROR (MainThread) [homeassistant.setup] Error during setup of component group
Traceback (most recent call last):
  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 "/usr/src/homeassistant/homeassistant/__main__.py", line 302, in setup_and_run_hass
    log_no_color=args.log_no_color,
  File "/usr/src/homeassistant/homeassistant/bootstrap.py", line 146, in async_from_config_file
    config_dict, hass, enable_log=False, skip_pip=skip_pip
  File "/usr/src/homeassistant/homeassistant/bootstrap.py", line 91, in async_from_config_dict
    await _async_set_up_integrations(hass, config)
  File "/usr/src/homeassistant/homeassistant/bootstrap.py", line 372, in _async_set_up_integrations
    *(async_setup_component(hass, domain, config) for domain in domains_to_load)
  File "/usr/src/homeassistant/homeassistant/setup.py", line 51, in async_setup_component
    return await task  # type: ignore
  File "/usr/src/homeassistant/homeassistant/setup.py", line 147, in _async_setup_component
    hass, config, integration
  File "/usr/src/homeassistant/homeassistant/config.py", line 736, in async_process_component_config
    p_validated = component_platform_schema(p_config)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 272, in __call__
    return self._compiled([], data)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/validators.py", line 205, in _run
    return self._exec(self._compiled, value, path)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/validators.py", line 285, in _exec
    v = func(path, v)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 817, in validate_callable
    return schema(data)
  File "/usr/src/homeassistant/homeassistant/components/scene/__init__.py", line 46, in _platform_validator
    return platform.PLATFORM_SCHEMA(config)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 272, in __call__
    return self._compiled([], data)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
    return base_validate(path, iteritems(data), out)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 386, in validate_mapping
    cval = cvalue(key_path, value)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/validators.py", line 205, in _run
    return self._exec(self._compiled, value, path)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/validators.py", line 285, in _exec
    v = func(path, v)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 635, in validate_sequence
    cval = validate(index_path, value)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
    return base_validate(path, iteritems(data), out)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 386, in validate_mapping
    cval = cvalue(key_path, value)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/validators.py", line 205, in _run
    return self._exec(self._compiled, value, path)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/validators.py", line 285, in _exec
    v = func(path, v)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 817, in validate_callable
    return schema(data)
  File "/usr/src/homeassistant/homeassistant/components/homeassistant/scene.py", line 37, in _convert_states
    if isinstance(states[entity_id], dict):
KeyError: 'group.ceiling_lights'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 172, in _async_setup_component
    hass, processed_config
  File "/usr/src/homeassistant/homeassistant/components/group/__init__.py", line 216, in async_setup
    await _async_process_config(hass, config, component)
  File "/usr/src/homeassistant/homeassistant/components/group/__init__.py", line 373, in _async_process_config
    mode=mode,
  File "/usr/src/homeassistant/homeassistant/components/group/__init__.py", line 488, in async_create_group
    await component.async_add_entities([group], True)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 252, in async_add_entities
    await asyncio.wait(tasks)
  File "/usr/local/lib/python3.7/asyncio/tasks.py", line 389, in wait
    return await _wait(fs, timeout, return_when, loop)
  File "/usr/local/lib/python3.7/asyncio/tasks.py", line 482, in _wait
    await waiter
concurrent.futures._base.CancelledError
2019-11-02 22:26:57 ERROR (MainThread) [homeassistant.setup] Error during setup of component config
Traceback (most recent call last):
  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 "/usr/src/homeassistant/homeassistant/__main__.py", line 302, in setup_and_run_hass
    log_no_color=args.log_no_color,
  File "/usr/src/homeassistant/homeassistant/bootstrap.py", line 146, in async_from_config_file
    config_dict, hass, enable_log=False, skip_pip=skip_pip
  File "/usr/src/homeassistant/homeassistant/bootstrap.py", line 91, in async_from_config_dict
    await _async_set_up_integrations(hass, config)
  File "/usr/src/homeassistant/homeassistant/bootstrap.py", line 372, in _async_set_up_integrations
    *(async_setup_component(hass, domain, config) for domain in domains_to_load)
  File "/usr/src/homeassistant/homeassistant/setup.py", line 51, in async_setup_component
    return await task  # type: ignore
  File "/usr/src/homeassistant/homeassistant/setup.py", line 147, in _async_setup_component
    hass, config, integration
  File "/usr/src/homeassistant/homeassistant/config.py", line 736, in async_process_component_config
    p_validated = component_platform_schema(p_config)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 272, in __call__
    return self._compiled([], data)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/validators.py", line 205, in _run
    return self._exec(self._compiled, value, path)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/validators.py", line 285, in _exec
    v = func(path, v)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 817, in validate_callable
    return schema(data)
  File "/usr/src/homeassistant/homeassistant/components/scene/__init__.py", line 46, in _platform_validator
    return platform.PLATFORM_SCHEMA(config)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 272, in __call__
    return self._compiled([], data)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
    return base_validate(path, iteritems(data), out)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 386, in validate_mapping
    cval = cvalue(key_path, value)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/validators.py", line 205, in _run
    return self._exec(self._compiled, value, path)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/validators.py", line 285, in _exec
    v = func(path, v)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 635, in validate_sequence
    cval = validate(index_path, value)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
    return base_validate(path, iteritems(data), out)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 386, in validate_mapping
    cval = cvalue(key_path, value)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/validators.py", line 205, in _run
    return self._exec(self._compiled, value, path)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/validators.py", line 285, in _exec
    v = func(path, v)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 817, in validate_callable
    return schema(data)
  File "/usr/src/homeassistant/homeassistant/components/homeassistant/scene.py", line 37, in _convert_states
    if isinstance(states[entity_id], dict):
KeyError: 'group.ceiling_lights'

and now I am stuck, it does not revert to 0.100.3, after I give the below command in a second it says command completed succesfully but did nothing


core-ssh:~# hassio homeassistant update --version=0.100.3       Processing... Done.rocessing...

Command completed successfully.
core-ssh:~#

If it helps I am with proxmox and HASSIO ā€¦ is there anything I can do to fix this: either fix 0.101.2 or revert back to 0.100.3?

Any help?

canā€™t do a restore canā€™t revert to previous version, totally stuck

If it didnā€™t upgrade what is creating that log file? 0.100.3?

Came across this error after upgrading from 0.100.2 to 0.101.2:

2019-11-02 18:28:18 ERROR (MainThread) [homeassistant.setup] Error during setup of component stream
Traceback (most recent call last):
  File "/srv/homeassistant/venv/lib/python3.7/site-packages/homeassistant/setup.py", line 172, in _async_setup_component
    hass, processed_config
  File "/srv/homeassistant/venv/lib/python3.7/site-packages/homeassistant/components/stream/__init__.py", line 107, in async_setup
    from .recorder import async_setup_recorder
  File "/srv/homeassistant/venv/lib/python3.7/site-packages/homeassistant/components/stream/recorder.py", line 6, in <module>
    import av
  File "/srv/homeassistant/venv/lib/python3.7/site-packages/av/__init__.py", line 9, in <module>
    from av._core import time_base, pyav_version as __version__
ImportError: libswscale.so.4: cannot open shared object file: No such file or directory

Anyone else run into this?

Hi receiving Tons of errors adter upgrading to 101.3

Are you running 0.101.3 beta?

Because the latest stable I can see is 0.101.2:

If youā€™re trying to go to 0.101.2, can you tell me what version of Python you are running?

EDIT: @firstof9 My camera seems to have stopped working in v0.101.2 - Hereā€™s my error log when doing config checks. Iā€™m also getting an ā€˜AVā€™ related error :frowning:

INFO:homeassistant.util.package:Attempting install of av==6.1.2
ERROR:homeassistant.util.package:Unable to install package av==6.1.2: Failed building wheel for av Command "/srv/homeassistant/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-q0rc_ab4/av/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-micvu_bm/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/include/site/python3.7/av" failed with error code 1 in /tmp/pip-install-q0rc_ab4/av/
Failed config

Sorry it did upgrade but its not loading

My mistake I tried to upgraded from 100.3 to 101.2. It did upgrade (I could tell from core ssh) but did not load) but got all those errors and did not load

Is it just me or does there seem to be a lot of ā€˜dustā€™ with v101.x?

Iā€™m still holding off upgrading even though nothing Iā€™ve read overtly points to anything I have going wrong but there does seem to me a lot of people having a lot more problems than normal.

Or am I just being paranoid?

(No need for loads of ā€œI upgraded with no problemā€ replies. Clearly it has worked for thousands of people. Iā€™m just interested if anyone ā€˜in the knowā€™ has an insight into how much ā€˜dustā€™ there really is.)

How to check this?

I use proxmox on a NUC on which I installed HASSIO following the official instructions

The same for me
bug

I fixed it by myself. :smiley:
I had to add the configuration variable ā€œhostā€ to my configuration and all trackers where updated immediately after restart.
But dont ask me why this is necessary now (for me)ā€¦:thinking:

device_tracker:
  - platform: fritz
    host: !secret fb_ip
    username: !secret fb_user
    password: !secret fb_password

Same issue here, did you find out?

not sure if it helps but I have at the end a similar error

KeyError: ā€˜group.livingroomā€™

I would love to say I upgraded with no problem, but thatā€™s not quite the case.

Everything did upgrade OK, and everything seemed to work for a few days - no extra errors in the HA log.

However the config checker seems to be not working, I get the error I posted above only when running config check - itā€™s rather odd.

So it seemed live everything was good, and working well, but the first time I came to update or change my configs: ā€˜avā€™ error no matter how minor my YAML edits were.

Really if you were going to update I would allow some extra time and try config checker sooner rather than later. :slight_smile:

Ah OK if youā€™re running HASSIO you should already be running a recent enough version of Python.

Iā€™m not really sure what if causing these errors for you, I would just check other things in your system, such as free disk space, network connectivity, etc. Good luck :slight_smile:

EDIT: Iā€™d be tempted to just go back to v0.100.x if you cannot get rid of the errors for now, hopefully later version may fix whatever bugs are causing these issues for you.

1 Like

Yes, Iā€™m waitingā€¦

And as for the config checker, something is seriously not right with it still (for me).

I have raised an issue for it as I was asked to but so far, (almost) radio silence.

Itā€™s a little frustrating.

Thatā€™s odd that youā€™re getting no output at all from the config checker addon, for what itā€™s worth Iā€™m on VENV and the config check is failing for me also, but at least Iā€™m getting some sort feedback with a few error messages.

Yep it can be a little frustrating waiting on issues on github, Iā€™ve still had no answer for an issue I created 6 days ago, but I have had a frontend issue Iā€™ve created in the past get fixed with depite no replies from devs in the github issue but I was just happy to see it fixed. :slight_smile:

Unrelated to this topic but I noticed this:
Screenshot%20from%202019-11-03%2015-27-25

Happy Cake Day!

1 Like