Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] #330

Open
robertomontinaro80 opened this issue Apr 19, 2024 · 0 comments
Open

[BUG] #330

robertomontinaro80 opened this issue Apr 19, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@robertomontinaro80
Copy link
Contributor

First of all please check my wikipage: https://github.com/fustom/ariston-remotethermo-home-assistant-v3/wiki and the previous issues (included the closed ones) before you create a new one.

Describe the bug
Integration fails on setup

Expected behavior
Integration could not fail on setup

Screenshots
screnshot attached

Environment (please complete the following information):

  • HA version: 2024.4.3
  • Version of the integration: 0.19.1
  • Ariston device type (check the integration Device info): Chaffoteaux INOA S 24

Additional context, debug log
`Registratore: homeassistant.util.package
Fonte: util/package.py:123
Prima occorrenza: 08:01:41 (9 occorrenze)
Ultima registrazione: 08:02:34

Unable to install package janus>=1.0.0: WARNING: Skipping /usr/local/lib/python3.12/site-packages/evohome_async-0.4.19.dist-info due to invalid metadata entry 'name' ERROR: Exception: Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper status = run_func(*args) ^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pip/_internal/cli/req_command.py", line 245, in wrapper return func(self, options, args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pip/_internal/commands/install.py", line 324, in run session = self.get_default_session(options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pip/_internal/cli/req_command.py", line 95, in get_default_session self._session = self.enter_context(self._build_session(options)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pip/_internal/cli/req_command.py", line 122, in _build_session session = PipSession( ^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pip/_internal/network/session.py", line 342, in init self.headers["User-Agent"] = user_agent() ^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pip/_internal/network/session.py", line 175, in user_agent setuptools_dist = get_default_environment().get_distribution("setuptools") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py", line 189, in get_distribution return next(matches, None) ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py", line 184, in matches = ( ^ File "/usr/local/lib/python3.12/site-packages/pip/_internal/metadata/base.py", line 626, in iter_all_distributions for dist in self._iter_distributions(): File "/usr/local/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py", line 176, in _iter_distributions yield from finder.find(location) File "/usr/local/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py", line 79, in find for dist, info_location in self._find_impl(location): File "/usr/local/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py", line 64, in _find_impl raw_name = get_dist_name(dist) ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_compat.py", line 52, in get_dist_name name = cast(Any, dist).name ^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/importlib/metadata/init.py", line 457, in name return self.metadata['Name'] ^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/importlib/metadata/init.py", line 444, in metadata self.read_text('METADATA') File "/usr/local/lib/python3.12/importlib/metadata/init.py", line 818, in read_text return self._path.joinpath(filename).read_text(encoding='utf-8') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/pathlib.py", line 1028, in read_text return f.read() ^^^^^^^^ File "", line 322, in decode UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb1 in position 0: invalid start byte
Unable to install package aioblescan>=0.2.14: WARNING: Skipping /usr/local/lib/python3.12/site-packages/evohome_async-0.4.19.dist-info due to invalid metadata entry 'name' ERROR: Exception: Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper status = run_func(*args) ^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pip/_internal/cli/req_command.py", line 245, in wrapper return func(self, options, args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pip/_internal/commands/install.py", line 324, in run session = self.get_default_session(options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pip/_internal/cli/req_command.py", line 95, in get_default_session self._session = self.enter_context(self._build_session(options)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pip/_internal/cli/req_command.py", line 122, in _build_session session = PipSession( ^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pip/_internal/network/session.py", line 342, in init self.headers["User-Agent"] = user_agent() ^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pip/_internal/network/session.py", line 175, in user_agent setuptools_dist = get_default_environment().get_distribution("setuptools") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py", line 189, in get_distribution return next(matches, None) ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py", line 184, in matches = ( ^ File "/usr/local/lib/python3.12/site-packages/pip/_internal/metadata/base.py", line 626, in iter_all_distributions for dist in self._iter_distributions(): File "/usr/local/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py", line 176, in _iter_distributions yield from finder.find(location) File "/usr/local/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py", line 79, in find for dist, info_location in self._find_impl(location): File "/usr/local/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py", line 64, in _find_impl raw_name = get_dist_name(dist) ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_compat.py", line 52, in get_dist_name name = cast(Any, dist).name ^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/importlib/metadata/init.py", line 457, in name return self.metadata['Name'] ^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/importlib/metadata/init.py", line 444, in metadata self.read_text('METADATA') File "/usr/local/lib/python3.12/importlib/metadata/init.py", line 818, in read_text return self._path.joinpath(filename).read_text(encoding='utf-8') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/pathlib.py", line 1028, in read_text return f.read() ^^^^^^^^ File "", line 322, in decode UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb1 in position 0: invalid start byte
Unable to install package ariston==0.19.3: WARNING: Skipping /usr/local/lib/python3.12/site-packages/evohome_async-0.4.19.dist-info due to invalid metadata entry 'name' ERROR: Exception: Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper status = run_func(*args) ^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pip/_internal/cli/req_command.py", line 245, in wrapper return func(self, options, args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pip/_internal/commands/install.py", line 324, in run session = self.get_default_session(options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pip/_internal/cli/req_command.py", line 95, in get_default_session self._session = self.enter_context(self._build_session(options)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pip/_internal/cli/req_command.py", line 122, in _build_session session = PipSession( ^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pip/_internal/network/session.py", line 342, in init self.headers["User-Agent"] = user_agent() ^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pip/_internal/network/session.py", line 175, in user_agent setuptools_dist = get_default_environment().get_distribution("setuptools") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py", line 189, in get_distribution return next(matches, None) ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py", line 184, in matches = ( ^ File "/usr/local/lib/python3.12/site-packages/pip/_internal/metadata/base.py", line 626, in iter_all_distributions for dist in self._iter_distributions(): File "/usr/local/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py", line 176, in _iter_distributions yield from finder.find(location) File "/usr/local/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py", line 79, in find for dist, info_location in self._find_impl(location): File "/usr/local/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py", line 64, in _find_impl raw_name = get_dist_name(dist) ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_compat.py", line 52, in get_dist_name name = cast(Any, dist).name ^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/importlib/metadata/init.py", line 457, in name return self.metadata['Name'] ^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/importlib/metadata/init.py", line 444, in metadata self.read_text('METADATA') File "/usr/local/lib/python3.12/importlib/metadata/init.py", line 818, in read_text return self._path.joinpath(filename).read_text(encoding='utf-8') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/pathlib.py", line 1028, in read_text return f.read() ^^^^^^^^ File "", line 322, in decode UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb1 in position 0: invalid start byte`
ariston_error_setup

@robertomontinaro80 robertomontinaro80 added the bug Something isn't working label Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants