You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
A few days ago the Alexa Media Player integration refused to launch.
I uninstalled the integration and wanted to reinstall it and since then I have this error message.
I understand that I am missing the pyopt package. But I don't know how to install it on my HA. I am on HAOS, if anyone can help me.
Thanks
System details
Enregistreur: homeassistant.loader
Source: loader.py:1272
S'est produit pour la première fois: 29 janvier 2025 à 20:44:12 (8 occurrences)
Dernier enregistrement: 29 janvier 2025 à 21:07:16
Unexpected exception importing platform custom_components.alexa_media.config_flow
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 1272, in _load_platform
cache[full_name] = self._import_platform(platform_name)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1304, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/loop.py", line 200, in protected_loop_func
return func(*args, **kwargs)
File "/usr/local/lib/python3.13/importlib/init.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1310, in _find_and_load_unlocked
File "", line 488, in _call_with_frames_removed
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 1026, in exec_module
File "", line 488, in _call_with_frames_removed
File "/config/custom_components/alexa_media/init.py", line 18, in
from alexapy import (
...<9 lines>...
)
File "/usr/local/lib/python3.13/site-packages/alexapy/init.py", line 17, in
from .alexaapi import AlexaAPI
File "/usr/local/lib/python3.13/site-packages/alexapy/alexaapi.py", line 24, in
from .alexalogin import AlexaLogin
File "/usr/local/lib/python3.13/site-packages/alexapy/alexalogin.py", line 76, in
class AlexaLogin:
...<1703 lines>...
self._headers.pop("Content-Type", None)
File "/usr/local/lib/python3.13/site-packages/alexapy/alexalogin.py", line 263, in AlexaLogin
def set_totp(self, otp_secret: str) -> Optional[pyotp.TOTP]:
^^^^^^^^^^
AttributeError: module 'pyotp' has no attribute 'TOTP'Additional context
The text was updated successfully, but these errors were encountered:
@Apollon16 this issue was automatically closed because it did not follow the issue template and this warning: IMPORTANT: Please search the issues, including closed issues, and the FAQ before opening a new issue. The template is mandatory; failure to use it will result in issue closure.
Hello,
A few days ago the Alexa Media Player integration refused to launch.
I uninstalled the integration and wanted to reinstall it and since then I have this error message.
I understand that I am missing the pyopt package. But I don't know how to install it on my HA. I am on HAOS, if anyone can help me.
Thanks
System details
Enregistreur: homeassistant.loader
Source: loader.py:1272
S'est produit pour la première fois: 29 janvier 2025 à 20:44:12 (8 occurrences)
Dernier enregistrement: 29 janvier 2025 à 21:07:16
Unexpected exception importing platform custom_components.alexa_media.config_flow
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 1272, in _load_platform
cache[full_name] = self._import_platform(platform_name)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1304, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/loop.py", line 200, in protected_loop_func
return func(*args, **kwargs)
File "/usr/local/lib/python3.13/importlib/init.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1310, in _find_and_load_unlocked
File "", line 488, in _call_with_frames_removed
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 1026, in exec_module
File "", line 488, in _call_with_frames_removed
File "/config/custom_components/alexa_media/init.py", line 18, in
from alexapy import (
...<9 lines>...
)
File "/usr/local/lib/python3.13/site-packages/alexapy/init.py", line 17, in
from .alexaapi import AlexaAPI
File "/usr/local/lib/python3.13/site-packages/alexapy/alexaapi.py", line 24, in
from .alexalogin import AlexaLogin
File "/usr/local/lib/python3.13/site-packages/alexapy/alexalogin.py", line 76, in
class AlexaLogin:
...<1703 lines>...
self._headers.pop("Content-Type", None)
File "/usr/local/lib/python3.13/site-packages/alexapy/alexalogin.py", line 263, in AlexaLogin
def set_totp(self, otp_secret: str) -> Optional[pyotp.TOTP]:
^^^^^^^^^^
AttributeError: module 'pyotp' has no attribute 'TOTP'Additional context
The text was updated successfully, but these errors were encountered: