discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AW: AW: [Discuss-gnuradio] Hier-Block2: Infinite streams (in/out)


From: Dominik Auras
Subject: AW: AW: [Discuss-gnuradio] Hier-Block2: Infinite streams (in/out)
Date: Thu, 23 Aug 2007 19:13:36 +0200

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))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]