OpenCyphal / yukon

The OpenCyphal IDE
https://opencyphal.org
MIT License
16 stars 0 forks source link

Error on unsubscribing #219

Closed silverv closed 1 year ago

silverv commented 1 year ago

Starts with:

Traceback (most recent call last):
  File "C:\Users\silver\Documents\zubax\yukon\yukon\services\cyphal_worker\cyphal_worker.py", line 94, in _internal_method
    await do_unsubscribe_requests_work(state, queue_element)
  File "C:\Users\silver\Documents\zubax\yukon\yukon\services\cyphal_worker\unsubscribe_requests_work.py", line 11, in do_unsubscribe_requests_work
    if not state.queues.unsubscribe_requests.empty():
AttributeError: 'QueuesState' object has no attribute 'unsubscribe_requests'
22-11-15 23:48:56 yukon.server C: Traceback (most recent call last):
File "C:\Users\silver\Documents\zubax\yukon\yukon\services\api.py", line 478, in unsubscribe
response = self.state.queues.unsubscribe_requests_responses.get(timeout=5)
File "C:\Python310\lib\queue.py", line 179, in get
raise Empty
_queue.Empty
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\silver\Documents\zubax\yukon\yukon\server.py", line 62, in landing_and_bridge
response = found_method(*(_object["arguments"]))
File "C:\Users\silver\Documents\zubax\yukon\yukon\services\api.py", line 480, in unsubscribe
raise Exception("Failed to receive a response for unsubscribing.")
Exception: Failed to receive a response for unsubscribing.
silverv commented 1 year ago

Fixed, this was unfinished