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

fix: 'AlexaLogin' object has no attribute 'delete_cookiefile' #2471

Merged
merged 3 commits into from
Aug 19, 2024

Conversation

danielbrunt57
Copy link
Collaborator

@danielbrunt57 danielbrunt57 commented Aug 18, 2024

Check if AlexaLogin.delete_cookiefile exists before trying to call.
Fixes issue #2470

danielbrunt57 and others added 3 commits August 18, 2024 16:00
Added `if callable(getattr(os,'delete_cookiefile', None)):`
for compatibility with alexapy<=1.28.2
Class was wrong
Needs to be `AlexaLogin,'delete_cookiefile'`
@alandtse
Copy link
Owner

Bandaids upon bandaids. Should really just wait till alexapy is bumped. But I guess that's fine.

@alandtse alandtse merged commit 36d36b6 into alandtse:dev Aug 19, 2024
4 checks passed
alandtse added a commit that referenced this pull request Aug 19, 2024
fix: 'AlexaLogin' object has no attribute 'delete_cookiefile' (#2471)
@petrotti77
Copy link

@danielbrunt57

You had posted a guide a few days ago for replacing the /usr/local/lib/python3.12/http/cookies.py file with version 3.13. My question is whether with the version of AMP 4.12.10 the procedure was automated. I'm still stuck at HA 2024.7.4 and AMP v4.12.5 and I'm terrified of upgrading due to constant failures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants