Can someone explain this? What does it mean and what is the New Platform?
It’s been a week since the release so I’m surprised no one else has asked. Unless of course I’ve missed something very obvious…
Can someone explain this? What does it mean and what is the New Platform?
It’s been a week since the release so I’m surprised no one else has asked. Unless of course I’ve missed something very obvious…
haha yes, I wondered too, but since we’ve been bombarded with Github mails about the import moves for all components the last couple of weeks, I took it for an internal architectural change… Don’t suppose we need to do anything with it, and hope the internal processes benefit from this
Is someone looking into it or do we need to open a defect ?
It’s an internal architectural change. They just moved some code around, it should not impact anything.
It’s an internal architectural change. They just moved some code around, it should not impact anything
Unfortunately I believe that the mqtt component import move under 27835 broke my owntracks HTTP Nabu Casa integration when I moved from 0.100.3 to 0.101.2 - I had to revert the import moves for a couple of elements to resolve it without rolling back my upgrade (and a move to python 3.7).
Issue’s raised here
I would give 0.101.1 a try, I have a feeling it may have been a change in 0.101.2 that may have caused this.
I have the same problem with Open Therm Gateway, no climate entity. Also tried to remove it from configuration, without any succes.
Since i am trying to upgrade to 0.101.3 from 0.100.3 i get tons of errors as log says:
2019-11-09 12:49:46 ERROR (MainThread) [homeassistant.setup] Setup failed for mqtt: unknown error
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 138, in _async_setup_component
component = integration.get_component()
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/loader.py", line 223, in get_component
cache[self.domain] = importlib.import_module(self.pkg_path)
File "/usr/local/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mqtt/__init__.py", line 50, in <module>
from . import config_flow, discovery, server # noqa pylint: disable=unused-import
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mqtt/server.py", line 7, in <module>
from hbmqtt.broker import Broker, BrokerException
File "/srv/homeassistant/lib/python3.7/site-packages/hbmqtt/broker.py", line 6, in <module>
import websockets
File "/srv/homeassistant/lib/python3.7/site-packages/websockets/__init__.py", line 3, in <module>
from .client import *
File "/srv/homeassistant/lib/python3.7/site-packages/websockets/client.py", line 12, in <module>
from .protocol import CONNECTING, OPEN, WebSocketCommonProtocol
File "/srv/homeassistant/lib/python3.7/site-packages/websockets/protocol.py", line 17, in <module>
from .compatibility import asyncio_ensure_future
File "/srv/homeassistant/lib/python3.7/site-packages/websockets/compatibility.py", line 9
asyncio_ensure_future = asyncio.async # Python < 3.5
^
SyntaxError: invalid syntax
2019-11-09 12:52:25 ERROR (MainThread) [homeassistant.setup] Error during setup of component tts
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 172, in _async_setup_component
hass, processed_config
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/tts/__init__.py", line 179, in async_setup
await asyncio.wait(setup_tasks)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 363, in wait
return await _wait(fs, timeout, return_when, loop)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 456, in _wait
await waiter
concurrent.futures._base.CancelledError
2019-11-09 12:52:25 ERROR (MainThread) [homeassistant.setup] Error during setup of component media_player
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 584, in run_until_complete
return future.result()
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/__main__.py", line 302, in setup_and_run_hass
log_no_color=args.log_no_color,
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/bootstrap.py", line 146, in async_from_config_file
config_dict, hass, enable_log=False, skip_pip=skip_pip
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/bootstrap.py", line 91, in async_from_config_dict
await _async_set_up_integrations(hass, config)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/bootstrap.py", line 372, in _async_set_up_integrations
*(async_setup_component(hass, domain, config) for domain in domains_to_load)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/discovery.py", line 151, in async_load_platform
setup_success = await setup.async_setup_component(hass, component, hass_config)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 45, in async_setup_component
return await setup_tasks[domain] # type: ignore
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/discovery.py", line 151, in async_load_platform
setup_success = await setup.async_setup_component(hass, component, hass_config)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 45, in async_setup_component
return await setup_tasks[domain] # type: ignore
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/discovery.py", line 151, in async_load_platform
setup_success = await setup.async_setup_component(hass, component, hass_config)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 45, in async_setup_component
return await setup_tasks[domain] # type: ignore
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/discovery.py", line 151, in async_load_platform
setup_success = await setup.async_setup_component(hass, component, hass_config)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 45, in async_setup_component
return await setup_tasks[domain] # type: ignore
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/discovery.py", line 151, in async_load_platform
setup_success = await setup.async_setup_component(hass, component, hass_config)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 45, in async_setup_component
return await setup_tasks[domain] # type: ignore
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/discovery.py", line 151, in async_load_platform
setup_success = await setup.async_setup_component(hass, component, hass_config)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 45, in async_setup_component
return await setup_tasks[domain] # type: ignore
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/discovery.py", line 151, in async_load_platform
setup_success = await setup.async_setup_component(hass, component, hass_config)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 45, in async_setup_component
return await setup_tasks[domain] # type: ignore
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/discovery.py", line 151, in async_load_platform
setup_success = await setup.async_setup_component(hass, component, hass_config)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 45, in async_setup_component
return await setup_tasks[domain] # type: ignore
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/discovery.py", line 151, in async_load_platform
setup_success = await setup.async_setup_component(hass, component, hass_config)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 45, in async_setup_component
return await setup_tasks[domain] # type: ignore
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/discovery.py", line 151, in async_load_platform
setup_success = await setup.async_setup_component(hass, component, hass_config)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 45, in async_setup_component
return await setup_tasks[domain] # type: ignore
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/discovery.py", line 151, in async_load_platform
setup_success = await setup.async_setup_component(hass, component, hass_config)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 45, in async_setup_component
return await setup_tasks[domain] # type: ignore
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 51, in async_setup_component
return await task # type: ignore
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 147, in _async_setup_component
hass, config, integration
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/config.py", line 755, in async_process_component_config
platform = p_integration.get_platform(domain)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/loader.py", line 232, in get_platform
f"{self.pkg_path}.{platform_name}"
File "/usr/local/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mqtt/__init__.py", line 50, in <module>
from . import config_flow, discovery, server # noqa pylint: disable=unused-import
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mqtt/server.py", line 7, in <module>
from hbmqtt.broker import Broker, BrokerException
File "/srv/homeassistant/lib/python3.7/site-packages/hbmqtt/broker.py", line 6, in <module>
import websockets
File "/srv/homeassistant/lib/python3.7/site-packages/websockets/__init__.py", line 3, in <module>
from .client import *
File "/srv/homeassistant/lib/python3.7/site-packages/websockets/client.py", line 12, in <module>
from .protocol import CONNECTING, OPEN, WebSocketCommonProtocol
File "/srv/homeassistant/lib/python3.7/site-packages/websockets/protocol.py", line 17, in <module>
from .compatibility import asyncio_ensure_future
File "/srv/homeassistant/lib/python3.7/site-packages/websockets/compatibility.py", line 9
asyncio_ensure_future = asyncio.async # Python < 3.5
^
SyntaxError: invalid syntax
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 172, in _async_setup_component
hass, processed_config
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/media_player/__init__.py", line 223, in async_setup
await component.async_setup(config)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity_component.py", line 121, in async_setup
await asyncio.wait(tasks)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 363, in wait
return await _wait(fs, timeout, return_when, loop)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 456, in _wait
await waiter
concurrent.futures._base.CancelledError
2019-11-09 12:52:25 ERROR (MainThread) [homeassistant.setup] Error during setup of component browser_mod
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 584, in run_until_complete
return future.result()
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/__main__.py", line 302, in setup_and_run_hass
log_no_color=args.log_no_color,
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/bootstrap.py", line 146, in async_from_config_file
config_dict, hass, enable_log=False, skip_pip=skip_pip
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/bootstrap.py", line 91, in async_from_config_dict
await _async_set_up_integrations(hass, config)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/bootstrap.py", line 372, in _async_set_up_integrations
*(async_setup_component(hass, domain, config) for domain in domains_to_load)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/discovery.py", line 151, in async_load_platform
setup_success = await setup.async_setup_component(hass, component, hass_config)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 45, in async_setup_component
return await setup_tasks[domain] # type: ignore
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/discovery.py", line 151, in async_load_platform
setup_success = await setup.async_setup_component(hass, component, hass_config)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 45, in async_setup_component
return await setup_tasks[domain] # type: ignore
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/discovery.py", line 151, in async_load_platform
setup_success = await setup.async_setup_component(hass, component, hass_config)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 45, in async_setup_component
return await setup_tasks[domain] # type: ignore
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/discovery.py", line 151, in async_load_platform
setup_success = await setup.async_setup_component(hass, component, hass_config)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 45, in async_setup_component
return await setup_tasks[domain] # type: ignore
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/discovery.py", line 151, in async_load_platform
setup_success = await setup.async_setup_component(hass, component, hass_config)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 45, in async_setup_component
return await setup_tasks[domain] # type: ignore
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/discovery.py", line 151, in async_load_platform
setup_success = await setup.async_setup_component(hass, component, hass_config)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 45, in async_setup_component
return await setup_tasks[domain] # type: ignore
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/discovery.py", line 151, in async_load_platform
setup_success = await setup.async_setup_component(hass, component, hass_config)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 45, in async_setup_component
return await setup_tasks[domain] # type: ignore
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/discovery.py", line 151, in async_load_platform
setup_success = await setup.async_setup_component(hass, component, hass_config)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 45, in async_setup_component
return await setup_tasks[domain] # type: ignore
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/discovery.py", line 151, in async_load_platform
setup_success = await setup.async_setup_component(hass, component, hass_config)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 45, in async_setup_component
return await setup_tasks[domain] # type: ignore
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/discovery.py", line 151, in async_load_platform
setup_success = await setup.async_setup_component(hass, component, hass_config)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 45, in async_setup_component
return await setup_tasks[domain] # type: ignore
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/discovery.py", line 151, in async_load_platform
setup_success = await setup.async_setup_component(hass, component, hass_config)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 45, in async_setup_component
return await setup_tasks[domain] # type: ignore
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 51, in async_setup_component
return await task # type: ignore
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 147, in _async_setup_component
hass, config, integration
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/config.py", line 755, in async_process_component_config
platform = p_integration.get_platform(domain)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/loader.py", line 232, in get_platform
f"{self.pkg_path}.{platform_name}"
File "/usr/local/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mqtt/__init__.py", line 50, in <module>
from . import config_flow, discovery, server # noqa pylint: disable=unused-import
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mqtt/server.py", line 7, in <module>
from hbmqtt.broker import Broker, BrokerException
File "/srv/homeassistant/lib/python3.7/site-packages/hbmqtt/broker.py", line 6, in <module>
import websockets
File "/srv/homeassistant/lib/python3.7/site-packages/websockets/__init__.py", line 3, in <module>
from .client import *
File "/srv/homeassistant/lib/python3.7/site-packages/websockets/client.py", line 12, in <module>
from .protocol import CONNECTING, OPEN, WebSocketCommonProtocol
File "/srv/homeassistant/lib/python3.7/site-packages/websockets/protocol.py", line 17, in <module>
from .compatibility import asyncio_ensure_future
File "/srv/homeassistant/lib/python3.7/site-packages/websockets/compatibility.py", line 9
asyncio_ensure_future = asyncio.async # Python < 3.5
^
SyntaxError: invalid syntax
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 172, in _async_setup_component
hass, processed_config
File "/home/homeassistant/.homeassistant/custom_components/browser_mod/__init__.py", line 29, in async_setup
await hass.helpers.discovery.async_load_platform("sensor", DOMAIN, {}, config)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/discovery.py", line 151, in async_load_platform
setup_success = await setup.async_setup_component(hass, component, hass_config)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 45, in async_setup_component
return await setup_tasks[domain] # type: ignore
concurrent.futures._base.CancelledError
2019-11-09 12:52:43 ERROR (Thread-2) [xiaomi_gateway] Cannot process multicast message: {'cmd': 'report', 'model': 'sensor_motion.aq2', 'sid': '158d0001ddac9e', 'short_id': 64952, 'data': '{"no_motion":"600"}'}
2019-11-09 12:52:54 ERROR (Thread-2) [xiaomi_gateway] Cannot process multicast message: {'cmd': 'report', 'model': 'sensor_motion.aq2', 'sid': '158d0002006e75', 'short_id': 37238, 'data': '{"lux":"4"}'}
2019-11-09 12:52:54 ERROR (Thread-2) [xiaomi_gateway] Cannot process multicast message: {'cmd': 'report', 'model': 'sensor_motion.aq2', 'sid': '158d0002006e75', 'short_id': 37238, 'data': '{"status":"motion"}'}
2019-11-09 12:52:56 ERROR (Thread-2) [xiaomi_gateway] Cannot process multicast message: {'cmd': 'report', 'model': 'motion', 'sid': '158d0001a98a62', 'short_id': 47288, 'data': '{"status":"motion"}'}
2019-11-09 12:53:02 ERROR (Thread-2) [xiaomi_gateway] Cannot process multicast message: {'cmd': 'report', 'model': 'gateway', 'sid': '7811dcb25b7c', 'short_id': 0, 'data': '{"rgb":0,"illumination":978}'}
2019-11-09 12:53:50 ERROR (Thread-2) [xiaomi_gateway] Cannot process multicast message: {'cmd': 'report', 'model': 'motion', 'sid': '158d0001a92ca1', 'short_id': 60237, 'data': '{"no_motion":"120"}'}
2019-11-09 12:54:10 ERROR (Thread-2) [xiaomi_gateway] Cannot process multicast message: {'cmd': 'report', 'model': 'sensor_motion.aq2', 'sid': '158d0002006e75', 'short_id': 37238, 'data': '{"lux":"6"}'}
2019-11-09 12:54:10 ERROR (Thread-2) [xiaomi_gateway] Cannot process multicast message: {'cmd': 'report', 'model': 'sensor_motion.aq2', 'sid': '158d0002006e75', 'short_id': 37238, 'data': '{"status":"motion"}'}
2019-11-09 12:54:22 ERROR (Thread-2) [xiaomi_gateway] Cannot process multicast message: {'cmd': 'heartbeat', 'model': 'plug', 'sid': '158d0001f55131', 'short_id': 48107, 'data': '{"voltage":3600,"status":"off","inuse":"0","power_consumed":"14755","load_power":"0.00"}'}
2019-11-09 12:54:26 ERROR (Thread-2) [xiaomi_gateway] Cannot process multicast message: {'cmd': 'heartbeat', 'model': 'magnet', 'sid': '158d0002c7e0d8', 'short_id': 6043, 'data': '{"voltage":3015,"status":"close"}'}
Any help?
Running HA on a raspberry pi3 with hassbian.
Have you got rid of any api-password settings?
Have you checked any scene configurations against the new requirements?
They seem to be the main barriers to updating.
Check the log, not sure how to in hassbian (not the home-assistant.log file).
Or try to remove scene.yaml and restart
On the platform I’m using (a UDOO Neo based on ubuntu) python3.7 gives problems related to SSL, so I ended up installing python3.6 and Home Assistant in virtual environment.
v0.101 breaks compatibility with python3.6? So I should NOT upgrade or it will break my setup based on python3.6?
Do I need to disable also the base_url option together with api_password?
Not necessarily… that will break other stuff.
After removing scenes.yaml i now get this error checking the configuration when installed 0.101.3
(homeassistant) homeassistant@hassbian:/home/pi $ hacheckconf
Testing configuration at /home/homeassistant/.homeassistant
INFO:homeassistant.util.package:Attempting install of home-assistant-frontend==20191025.1
ERROR:homeassistant.scripts.check_config:BURB
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/scripts/check_config.py", line 206, in check
async_check_ha_config_file(hass)
File "/usr/local/lib/python3.7/asyncio/base_events.py", line 584, in run_until_complete
return future.result()
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/check_config.py", line 107, in async_check_ha_config_file
integration = await async_get_integration_with_requirements(hass, domain)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/requirements.py", line 55, in async_get_integration_with_requirements
*[async_get_integration_with_requirements(hass, dep) for dep in deps]
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/requirements.py", line 48, in async_get_integration_with_requirements
hass, integration.domain, integration.requirements
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/requirements.py", line 80, in async_process_requirements
ret = await hass.async_add_executor_job(_install, hass, req, kwargs)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/requirements.py", line 93, in _install
progress_path.unlink()
File "/usr/local/lib/python3.7/pathlib.py", line 1277, in unlink
self._accessor.unlink(self)
FileNotFoundError: [Errno 2] No such file or directory: '/home/homeassistant/.homeassistant/.pip_progress'
Fatal error while loading config: [Errno 2] No such file or directory: '/home/homeassistant/.homeassistant/.pip_progress'
Failed config
General Errors:
- [Errno 2] No such file or directory: '/home/homeassistant/.homeassistant/.pip_progress'
Successful config (partial)
What is that directory not found??? .pip_progress?
And more i get this:
SyntaxError: invalid syntax
Fatal error while loading config: invalid syntax (compatibility.py, line 9)
Failed config
General Errors:
- invalid syntax (compatibility.py, line 9)
I get your pardon for this long message, but i am still not able to upgrade to 0.101.3 from 0.100.3
After many problems of config.actually i get this in the logfile generated by hacheckconf command:
(homeassistant) homeassistant@hassbian:/home/pi $ hacheckconf
Testing configuration at /home/homeassistant/.homeassistant
INFO:homeassistant.util.package:Attempting install of av==6.1.2
ERROR:homeassistant.util.package:Unable to install package av==6.1.2: ERROR: Command errored out with exit status 1:
command: /srv/homeassistant/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-7wq9uxf3/av/setup.py'"'"'; __file__='"'"'/tmp/pip-install-7wq9uxf3/av/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-ivea6u_u --python-tag cp37
cwd: /tmp/pip-install-7wq9uxf3/av/
Complete output (59 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-3.7
creating build/lib.linux-armv7l-3.7/av
copying av/datasets.py -> build/lib.linux-armv7l-3.7/av
copying av/__init__.py -> build/lib.linux-armv7l-3.7/av
copying av/deprecation.py -> build/lib.linux-armv7l-3.7/av
copying av/__main__.py -> build/lib.linux-armv7l-3.7/av
creating build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/audio_player.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/encode_frames.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/qtproxy.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/graph.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/dump_format.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/remux.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/seekmany.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/cctx_decode.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/resource_use.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/cctx_encode.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/save_subtitles.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/decode.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/second_seek_example.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/__init__.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/experimental.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/average.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/filmstrip.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/audio.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/player.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/decode_threads.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/frame_seek_example.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/show_frames_opencv.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/glproxy.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/merge-filmstrip.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/encode.py -> build/lib.linux-armv7l-3.7/scratchpad
creating build/lib.linux-armv7l-3.7/av/video
copying av/video/__init__.py -> build/lib.linux-armv7l-3.7/av/video
creating build/lib.linux-armv7l-3.7/av/codec
copying av/codec/__init__.py -> build/lib.linux-armv7l-3.7/av/codec
creating build/lib.linux-armv7l-3.7/av/audio
copying av/audio/__init__.py -> build/lib.linux-armv7l-3.7/av/audio
creating build/lib.linux-armv7l-3.7/av/container
copying av/container/__init__.py -> build/lib.linux-armv7l-3.7/av/container
creating build/lib.linux-armv7l-3.7/av/filter
copying av/filter/__init__.py -> build/lib.linux-armv7l-3.7/av/filter
creating build/lib.linux-armv7l-3.7/av/data
copying av/data/__init__.py -> build/lib.linux-armv7l-3.7/av/data
creating build/lib.linux-armv7l-3.7/av/subtitles
copying av/subtitles/__init__.py -> build/lib.linux-armv7l-3.7/av/subtitles
running build_ext
running config
Could not find libavformat with pkg-config.
Could not find libavcodec with pkg-config.
Could not find libavdevice with pkg-config.
Could not find libavutil with pkg-config.
Could not find libavfilter with pkg-config.
Could not find libswscale with pkg-config.
Could not find libswresample with pkg-config.
----------------------------------------
ERROR: Failed building wheel for av
ERROR: Command errored out with exit status 1:
command: /srv/homeassistant/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-7wq9uxf3/av/setup.py'"'"'; __file__='"'"'/tmp/pip-install-7wq9uxf3/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-xzr1irt0/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/include/site/python3.7/av
cwd: /tmp/pip-install-7wq9uxf3/av/
Complete output (59 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-armv7l-3.7
creating build/lib.linux-armv7l-3.7/av
copying av/datasets.py -> build/lib.linux-armv7l-3.7/av
copying av/__init__.py -> build/lib.linux-armv7l-3.7/av
copying av/deprecation.py -> build/lib.linux-armv7l-3.7/av
copying av/__main__.py -> build/lib.linux-armv7l-3.7/av
creating build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/audio_player.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/encode_frames.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/qtproxy.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/graph.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/dump_format.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/remux.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/seekmany.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/cctx_decode.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/resource_use.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/cctx_encode.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/save_subtitles.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/decode.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/second_seek_example.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/__init__.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/experimental.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/average.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/filmstrip.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/audio.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/player.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/decode_threads.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/frame_seek_example.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/show_frames_opencv.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/glproxy.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/merge-filmstrip.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/encode.py -> build/lib.linux-armv7l-3.7/scratchpad
creating build/lib.linux-armv7l-3.7/av/video
copying av/video/__init__.py -> build/lib.linux-armv7l-3.7/av/video
creating build/lib.linux-armv7l-3.7/av/codec
copying av/codec/__init__.py -> build/lib.linux-armv7l-3.7/av/codec
creating build/lib.linux-armv7l-3.7/av/audio
copying av/audio/__init__.py -> build/lib.linux-armv7l-3.7/av/audio
creating build/lib.linux-armv7l-3.7/av/container
copying av/container/__init__.py -> build/lib.linux-armv7l-3.7/av/container
creating build/lib.linux-armv7l-3.7/av/filter
copying av/filter/__init__.py -> build/lib.linux-armv7l-3.7/av/filter
creating build/lib.linux-armv7l-3.7/av/data
copying av/data/__init__.py -> build/lib.linux-armv7l-3.7/av/data
creating build/lib.linux-armv7l-3.7/av/subtitles
copying av/subtitles/__init__.py -> build/lib.linux-armv7l-3.7/av/subtitles
running build_ext
running config
Could not find libavformat with pkg-config.
Could not find libavcodec with pkg-config.
Could not find libavdevice with pkg-config.
Could not find libavutil with pkg-config.
Could not find libavfilter with pkg-config.
Could not find libswscale with pkg-config.
Could not find libswresample with pkg-config.
----------------------------------------
ERROR: Command errored out with exit status 1: /srv/homeassistant/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-7wq9uxf3/av/setup.py'"'"'; __file__='"'"'/tmp/pip-install-7wq9uxf3/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-xzr1irt0/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/include/site/python3.7/av Check the logs for full command output.
WARNING: You are using pip version 19.2.1, however version 19.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
ERROR:homeassistant.scripts.check_config:BURB
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/scripts/check_config.py", line 206, in check
async_check_ha_config_file(hass)
File "/usr/local/lib/python3.7/asyncio/base_events.py", line 584, in run_until_complete
return future.result()
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/check_config.py", line 156, in async_check_ha_config_file
platform = p_integration.get_platform(domain)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/loader.py", line 232, in get_platform
f"{self.pkg_path}.{platform_name}"
File "/usr/local/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mqtt/__init__.py", line 50, in <module>
from . import config_flow, discovery, server # noqa pylint: disable=unused-import
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mqtt/server.py", line 7, in <module>
from hbmqtt.broker import Broker, BrokerException
File "/srv/homeassistant/lib/python3.7/site-packages/hbmqtt/broker.py", line 6, in <module>
import websockets
File "/srv/homeassistant/lib/python3.7/site-packages/websockets/__init__.py", line 3, in <module>
from .client import *
File "/srv/homeassistant/lib/python3.7/site-packages/websockets/client.py", line 12, in <module>
from .protocol import CONNECTING, OPEN, WebSocketCommonProtocol
File "/srv/homeassistant/lib/python3.7/site-packages/websockets/protocol.py", line 17, in <module>
from .compatibility import asyncio_ensure_future
File "/srv/homeassistant/lib/python3.7/site-packages/websockets/compatibility.py", line 9
asyncio_ensure_future = asyncio.async # Python < 3.5
^
SyntaxError: invalid syntax
Fatal error while loading config: invalid syntax (compatibility.py, line 9)
Failed config
General Errors:
- invalid syntax (compatibility.py, line 9)
Can somebody help me to trace all these errors and how to solve them?
Hi Balloob,
not to push, but is this parameter being worked on right now? If not, could we help in any way? (did file a feature request, but dint think that is picked yet )
Really ‘need’ the transition to activate scenes again…
thanks!
Hey!
I have some problems with TTS since upgrading to 0.101.3. All worked good with default config on previous version (can’t remember. something like 0.9?.?). I’ve upgraded, and now, each time I try to run the google_translate_say service, I get and error:
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/websocket_api/commands.py", line 133, in handle_call_service
connection.context(msg),
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/core.py", line 1236, in async_call
await asyncio.shield(self._execute_service(handler, service_call))
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/core.py", line 1261, in _execute_service
await handler.func(service_call)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/tts/__init__.py", line 152, in async_say_handle
p_type, message, cache=cache, language=language, options=options
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/tts/__init__.py", line 326, in async_get_url
engine, key, message, use_cache, language, options
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/tts/__init__.py", line 345, in async_get_tts_audio
data = self.write_tags(filename, data, provider, message, language, options)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/tts/__init__.py", line 449, in write_tags
tts_file = mutagen.File(data_bytes, easy=True)
File "/srv/homeassistant/lib/python3.7/site-packages/mutagen/_util.py", line 148, in wrapper_func
return func(h, *args, **kwargs)
File "/srv/homeassistant/lib/python3.7/site-packages/mutagen/_file.py", line 241, in File
from mutagen.easyid3 import EasyID3FileType as ID3FileType
File "/srv/homeassistant/lib/python3.7/site-packages/mutagen/easyid3.py", line 15, in <module>
import mutagen.id3
File "/srv/homeassistant/lib/python3.7/site-packages/mutagen/id3/__init__.py", line 33, in <module>
from ._file import ID3, ID3FileType, delete, ID3v1SaveOptions
File "/srv/homeassistant/lib/python3.7/site-packages/mutagen/id3/_file.py", line 20, in <module>
from ._tags import ID3Tags, ID3Header, ID3SaveConfig
File "/srv/homeassistant/lib/python3.7/site-packages/mutagen/id3/_tags.py", line 19, in <module>
from ._frames import TDRC, APIC, TDOR, TIME, TIPL, TORY, TDAT, Frames_2_2, \
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 724, in exec_module
File "<frozen importlib._bootstrap_external>", line 857, in get_code
File "<frozen importlib._bootstrap_external>", line 525, in _compile_bytecode
ValueError: bad marshal data (unknown type code)
Any suggestions about that?
I tried from Node Red, and from the Home Assistant : Developer Tools : Services tab, with the Yaml:
{message: 'May the Force be with you.'}
Still unable to upgrade to 0.101.3.
This is the complete logfile i get when trying to run HA after upgrading to 0.101.3.
With the previous release 0.100.3 i get no probs at all !!!
Has unused entities stopped populating for anyone else. I see nothing in the list even with the default theme.