Hi,
I have two classes A and B both derived from hier_block2. A also
contains a message_source. The intention is to connect A with B inside a
top_block:
class A(gr.hier_block2):
def __init__(self):
self._source = gr.message_source()
…
class B(gr.hier_block2):
…
I connect the message_queue (in A) with B in a top_block like:
connect(A._source, B)
run()
The subsequent run() command crashed with:
python: /usr/include/boost/shared_ptr.hpp:253: T*
boost::shared_ptr::operator->() const [with T = gr_basic_block]:
Assertion `px != 0’ failed.
Aborted
Did I connect the wrong components?
Thanks.
- David