I’ve just finished my block that generates PSDUs and then, it transmits
downstream subscribers using message passing mechanism. I am using as a
sink “Extras: Blob to Socket”, but when I run my flowgraph in GNU Radio
Companion (after connect my new block and the sink), I got the following
error:
Traceback (most recent call last):
File “/home/usrpvm/Desktop/only_test_block/asrp/top_block.py”, line
51,
in
tb = top_block()
File “/home/usrpvm/Desktop/only_test_block/asrp/top_block.py”, line
33,
in init
0, 0, 0, 0, 0, 1, 1, 1)
TypeError: unbound method make() must be called with my_block instance
as
first argument (got int instance instead)
I would really appreciate some help with this issue. Thanks a lot,
I’ve attached the xml file for “my_block.xml”. I don’t have a .i file
(like
“my_block.i”), because it is using the “extras_blobs.i” file. I’ve
attached
for you extras_blob.i and I added some lines to that .i file in order to
include “my_block”.
All the example is based on blob to stream and socket to block.
in
tb = top_block()
File “/home/usrpvm/Desktop/only_test_block/asrp/top_block.py”, line 33,
in init
0, 0, 0, 0, 0, 1, 1, 1)
TypeError: unbound method make() must be called with my_block instance as
first argument (got int instance instead)
I think the code getting generated is malformed. You might double check
and the code in top_block.py
-josh
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.