After HA reboot often, the alexa media player is in error state and unusable #2310
Stephan-4711
started this conversation in
General
Replies: 2 comments 2 replies
-
same here again, sometimes this happens without any restart |
Beta Was this translation helpful? Give feedback.
1 reply
-
this
seems to be related to this: and its origin seems to be within python 3.12 ... (until a workaround could be found / implemented) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
often, when I restart HA the alexa media player doesn't load corretly. When I then restart AMP it's always working.
The only thing I found was:
Logger: homeassistant.config_entries
Quelle: config_entries.py:586
Erstmals aufgetreten: 06:56:04 (1 Vorkommnisse)
Zuletzt protokolliert: 06:56:04
Error setting up entry [email protected] - amazon.de for alexa_media
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 586, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/alexa_media/init.py", line 335, in async_setup_entry
await login.login(cookies=await login.load_cookie())
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/alexapy/alexalogin.py", line 328, in load_cookie
cookies = pickle.loads(await myfile.read())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/http/cookies.py", line 312, in setitem
raise CookieError("Invalid attribute %r" % (K,))
http.cookies.CookieError: Invalid attribute 'partitioned'
Beta Was this translation helpful? Give feedback.
All reactions