This is a bit frustrating situation, and I don't know how to solve the problem. I tried to figure out what's going on, and wanted to call function input_signature<http://gnuradio.org/doc/doxygen-3.6/classgr__basic__block.html#a58f6d05e85931200f3771d3e50741281>() from python i norder to see what is the actual output signature but this function can't be called. I also couldn't find right explanatoin for port problem. Any suggestions?
Nemanja On Tue, Sep 3, 2013 at 5:33 PM, Nemanja Savic <[email protected]> wrote: > I am sorry, the subject of previous post is wrong cause I solved that > problem meanwhile, but I forgot to change it in the draft. > > > On Tue, Sep 3, 2013 at 5:24 PM, Nemanja Savic <[email protected]> wrote: > >> Hi all, >> >> this thread is more or less extension of the thread: >> http://gnuradio.4.n7.nabble.com/3-6-4-2-test-fail-tc43452.html >> >> It looks that my 3.6.4git versio doesn't support message passing logic >> within python, so I switched to another pc where I run 3.7.0. I assume that >> because there is no function for registering message ports, but when I >> changed to 3.7.0, there was no that error any more. >> No the problem is the following: >> >> the block is very simple: >> >> def __init__(self): >> gr.sync_block.__init__(self, >> name="msg_sender", >> in_sig=[numpy.int8], >> out_sig=[None]) >> >> self.message_port_register_out(pmt.pmt_intern('out_port')) >> >> but when i run flowgraph, the following error comes out: >> RuntimeError: msg_sender(2): insufficient connected output ports (1 >> needed, 0 connected) >> >> >> From where came that output that I havent declared? >> >> -- >> Nemanja Savić >> > > > > -- > Nemanja Savić > -- Nemanja Savić
_______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
