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

RuntimeError: Event loop is closed | when attempting pair #115

Open
ryanbender2 opened this issue Nov 14, 2020 · 1 comment
Open

RuntimeError: Event loop is closed | when attempting pair #115

ryanbender2 opened this issue Nov 14, 2020 · 1 comment

Comments

@ryanbender2
Copy link

When trying to do a pair attempt (pyvizio --ip={ip:port} --device_type={device_type} pair) I keep getting a runtime error that closes the main loop.

Stack Trace:

INFO:pyvizio.cli:Initiating pairing process, check your device for pin upon success
INFO:pyvizio.cli:Challenge type: 1
INFO:pyvizio.cli:Challenge token: 208779
Exception ignored in: <function _ProactorBasePipeTransport.del at 0x000002251D4DC8B0>
Traceback (most recent call last):
File "c:\users"user"\appdata\local\programs\python\python38\lib\asyncio\proactor_events.py", line 116, in del
self.close()
File "c:\users"user"\appdata\local\programs\python\python38\lib\asyncio\proactor_events.py", line 108, in close
self._loop.call_soon(self._call_connection_lost, None)
File "c:\users"user"\appdata\local\programs\python\python38\lib\asyncio\base_events.py", line 719, in call_soon
self._check_closed()
File "c:\users"user"\appdata\local\programs\python\python38\lib\asyncio\base_events.py", line 508, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed

@raman325
Copy link
Owner

Hi @ryanbender2 how are you running the CLI? Are you using the command line and running these commands manually? That shouldn't happen from what I can see. This error should also have no impact on your ability to continue through the pairing process although let me know if you disagree

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

2 participants