We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
Failed to delete cookiefile: 'AlexaLogin' object has no attribute 'delete_cookiefile'
To Reproduce
Update AMP to v4.12.8
Expected behavior
No error when deleting the config entry
System details
const.py
pip show alexapy
Logs
Source: custom_components/alexa_media/__init__.py:1339 Failed to delete cookiefile: 'AlexaLogin' object has no attribute 'delete_cookiefile'
Solution (for now)
Edit /config/custom_components/alexa_media/__init__.py and comment out lines 1335 - 1342
/config/custom_components/alexa_media/__init__.py
# Delete cookiefile # try: # await login_obj.delete_cookiefile() # _LOGGER.debug("Deleted cookiefile") # except Exception as ex: # _LOGGER.error( # "Failed to delete cookiefile: %s", # ex, # )
The text was updated successfully, but these errors were encountered:
New code in PR #2471:
# Delete cookiefile if callable(getattr(AlexaLogin,'delete_cookiefile', None)): try: await login_obj.delete_cookiefile() _LOGGER.debug("Deleted cookiefile") except Exception as ex: _LOGGER.error( "Failed to delete cookiefile: %s", ex, ) else: _LOGGER.warn( "Could not remove cookiefile: /config/.storage/alexa_media.%s.pickle." " Please manually delete the file.", email, )
Sorry, something went wrong.
Fixed in AMP v4.12.9
No branches or pull requests
Describe the bug
Failed to delete cookiefile: 'AlexaLogin' object has no attribute 'delete_cookiefile'
To Reproduce
Update AMP to v4.12.8
Expected behavior
No error when deleting the config entry
System details
const.py
or HA startup):pip show alexapy
or HA startup):Logs
Solution (for now)
Edit
/config/custom_components/alexa_media/__init__.py
and comment out lines 1335 - 1342The text was updated successfully, but these errors were encountered: