Hi!
I think that you can reproduce this behaviour easily by creating a
hierblock2 without connecting the input port.
Dominik
start: entered
flattening ofdm_rx
Flattening edge file_source(1):0->throttle(75):0
Flattening edge throttle(75):0->receive_path(2):0
Resolving endpoint receive_path(2):0 as an input, recursing
Resolving port 0 as an input of receive_path
Traceback (most recent call last):
File “…/…/src/python/rx.py”, line 262, in ?
main()
File “…/…/src/python/rx.py”, line 246, in main
runtime.run()
File “d:/python24/Lib/site-packages/gnuradio/gr\hier_block2.py”, line
98,
in run
runtime_run_unlocked(self._r)
File
“d:/python24/Lib/site-packages/gnuradio/gr\gnuradio_swig_py_runtime.py”,
line 1477, in runtime_run_unlocked
return _gnuradio_swig_py_runtime.runtime_run_unlocked(*args)
RuntimeError: block is not a valid gr_block or gr_hier_block2!
–
class receive_path(gr.hier_block2):
def init(self, options):
gr.hier_block2.init(self, “receive_path”,
gr.io_signature(1,1,gr.sizeof_gr_complex),
gr.io_signature(0,0,0))