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

Removing Subscription results in RuntimeError #25

Open
siebentausend opened this issue Oct 11, 2024 · 2 comments
Open

Removing Subscription results in RuntimeError #25

siebentausend opened this issue Oct 11, 2024 · 2 comments

Comments

@siebentausend
Copy link

Hi!
First of all - great approach and very helpful project! Unfortunately, trying to remove a subscription I run into the following error:

netaudio subscription remove --rx-channel-name=CH01 --rx-device-name=Monitor

  RuntimeError

  coroutine raised StopIteration

  at /usr/lib/python3.11/asyncio/base_events.py:653 in run_until_complete
       649│             future.remove_done_callback(_run_until_complete_cb)
       650│         if not future.done():
       651│             raise RuntimeError('Event loop stopped before Future completed.')
       652│ 
    →  653│         return future.result()
       654│ 
       655│     def stop(self):
       656│         
       657│ 

Is it me doing it wrong? Not sure if it makes a difference, but it's a Multicast subscription.

@chris-ritsen
Copy link
Owner

It's been a while since I've tested this feature. I'll look into it.

@siebentausend
Copy link
Author

Great! Big thanks!

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