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

How to handle AssertionError for assert self.socket is not None? #896

Open
elibroftw opened this issue Apr 18, 2024 · 0 comments
Open

How to handle AssertionError for assert self.socket is not None? #896

elibroftw opened this issue Apr 18, 2024 · 0 comments

Comments

@elibroftw
Copy link

After updating to v14, I have encountered a slew of errors. When I call cast.media_controller.update_status(), I get the following error

 File "C:\Users\maste\Documents\GitHub\music-caster\.venv\Lib\site-packages\pychromecast\socket_client.py", line 891, in send_message
    assert self.socket is not None
AssertionError

How should this be handled?

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

No branches or pull requests

1 participant