Pre-cog Simple MAC Error

Hello

I am using the Pre-cog library for sending a simple data file from one
usrp
N210 to another USRP N210. I have replaced the TCP Block with a file
source
and a stream to blob block in the GRC.
When I disable the ARQ, I get the following error.

Uhandler caught exception: in method
‘gr_block_gw_message_type_work_args_return_value_set’, argument 2 of
type
‘int’
Traceback (most recent call last):
File
“/usr/lib/python2.7/dist-packages/gnuradio/extras/block_gateway.py”,
line 53, in eval
try: self._callback()
File
“/usr/lib/python2.7/dist-packages/gnuradio/extras/block_gateway.py”,
line 124, in __gr_block_handle
) for i in self.__out_indexes],
TypeError: in method
‘gr_block_gw_message_type_work_args_return_value_set’,
argument 2 of type ‘int’
thread[thread-per-block[16]: <gr_block mod_pkts2 (19)>]: caught
unrecognized exception

I have attached the python script with this email.

Regards

Abid

I haven’t seen that before. Not sure if this is the problem, but what
happens if you put a throttle on the ourput of the file source and set
it
to some unreasonably low rate?

Also, are you running gnuradio 3.6.5?

-John