Thursday, September 19, 2024
HomeBitcoinlightning community - What does KeyError: 'zmq-pub-channel-opened' imply?

lightning community – What does KeyError: ‘zmq-pub-channel-opened’ imply?


Can anyone inform me if this is a matter when loading the zeromq plugin for Core Lightning?

2024-06-09T14:54:53.169Z INFO    plugin-cl-zmq.py: Traceback (most up-to-date name final):
2024-06-09T14:54:53.169Z INFO    plugin-cl-zmq.py:   File "/usr/native/lib/python3.11/dist-packages/pyln/consumer/plugin.py">
2024-06-09T14:54:53.169Z INFO    plugin-cl-zmq.py:     consequence = self._exec_func(methodology.func, request)
2024-06-09T14:54:53.169Z INFO    plugin-cl-zmq.py:              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-06-09T14:54:53.169Z INFO    plugin-cl-zmq.py:   File "/usr/native/lib/python3.11/dist-packages/pyln/consumer/plugin.py">
2024-06-09T14:54:53.169Z INFO    plugin-cl-zmq.py:     ret = func(*ba.args, **ba.kwargs)
2024-06-09T14:54:53.169Z INFO    plugin-cl-zmq.py:           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-06-09T14:54:53.169Z INFO    plugin-cl-zmq.py:   File "/usr/native/lib/python3.11/dist-packages/pyln/consumer/plugin.py">
2024-06-09T14:54:53.169Z INFO    plugin-cl-zmq.py:     return self._exec_func(self.child_init, request)
2024-06-09T14:54:53.169Z INFO    plugin-cl-zmq.py:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-06-09T14:54:53.169Z INFO    plugin-cl-zmq.py:   File "/usr/native/lib/python3.11/dist-packages/pyln/consumer/plugin.py">
2024-06-09T14:54:53.169Z INFO    plugin-cl-zmq.py:     ret = func(*ba.args, **ba.kwargs)
2024-06-09T14:54:53.169Z INFO    plugin-cl-zmq.py:           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-06-09T14:54:53.169Z INFO    plugin-cl-zmq.py:   File "/residence/essential/.lightning/reckless/plugins/plugins/zmq/cl-zmq.py",>
2024-06-09T14:54:53.169Z INFO    plugin-cl-zmq.py:     Setup.check_option_warnings(choices, plugin)
2024-06-09T14:54:53.169Z INFO    plugin-cl-zmq.py:   File "/residence/essential/.lightning/reckless/plugins/plugins/zmq/cl-zmq.py",>
2024-06-09T14:54:53.169Z INFO    plugin-cl-zmq.py:     for endpoint in Setup._iter_endpoints_not_ok(choices):
2024-06-09T14:54:53.169Z INFO    plugin-cl-zmq.py:   File "/residence/essential/.lightning/reckless/plugins/plugins/zmq/cl-zmq.py",>
2024-06-09T14:54:53.169Z INFO    plugin-cl-zmq.py:     endpoint = choices[endpoint_opt]
2024-06-09T14:54:53.169Z INFO    plugin-cl-zmq.py:                ~~~~~~~^^^^^^^^^^^^^^
2024-06-09T14:54:53.169Z INFO    plugin-cl-zmq.py: KeyError: 'zmq-pub-channel-opened'
2024-06-09T14:54:53.169Z INFO    plugin-cl-zmq.py:

I am working the example-subscriber.py file and I by no means see a shutdown occasion logged. I did add shutdown to the notification listing.

python3 example-subscriber.py --zmq-sub-shutdown=tcp://127.0.0.1:5555

Here is how I am beginning the plugin:

lightningd --regtest --daemon --plugin=/residence/essential/.lightning/reckless/plugins/plugins/zmq/cl-zmq.py --log-file=/residence/essential/.lightning/logs.txt --zmq-pub-shutdown=tcp://127.0.0.1:5555

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments