Forum: GNU Radio Gr_Extras Packet_Framer problem

Posted by George Sklivanitis (Guest)
on 2013-02-04 22:55
(Received via mailing list)
Hello all,

I have just installed the Extras package and trying to use the Packet
Framer.
By using a gr_vector_f -> float_to_short -> Stream_to_Blobs ->
Packet_Framer ->  GMSK Mod
i get the following error

gr_fir_fff: using SSE
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/local/lib/python2.7/dist-packages/gnuradio/extras/block_gateway.py",
line 53, in eval
    try: self._callback()
  File
"/usr/local/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[5]: <gr_block mod_pkts2 (3)>]: caught 
unrecognized
exception


any suggestions on how to resolve this. I also saw Josh's proposal in 
Guy's
similar problem but didn't work for me.

Thanks,
-George
Posted by Josh Blum (Guest)
on 2013-02-05 00:03
(Received via mailing list)
On 02/04/2013 03:54 PM, George Sklivanitis wrote:
> 'gr_block_gw_message_type_work_args_return_value_set', argument 2 of type
> TypeError: in method 'gr_block_gw_message_type_work_args_return_value_set',
> argument 2 of type 'int'
> thread[thread-per-block[5]: <gr_block mod_pkts2 (3)>]: caught unrecognized
> exception
>
>
> any suggestions on how to resolve this. I also saw Josh's proposal in Guy's
> similar problem but didn't work for me.
>

I think the work is returning something it should not in the packet
framer module.

So, I was looking at the code, and this call "line 124, in
__gr_block_handle" I think is on the different line in the most recent
master branch. Perhaps you have something out of date?

This is the latest commit 4bbb1cf01a8ac35a989bc2468fd0ccd384dede45
what do you have installed?

-josh
Posted by George Sklivanitis (Guest)
on 2013-02-05 00:21
(Received via mailing list)
Hi Josh,

Thanks for the quick response.
I am in the latest commit since, I made the clone yesterday.

-George
Posted by George Sklivanitis (Guest)
on 2013-02-05 03:16
(Received via mailing list)
Hi Josh,

in case you also needed my gnuradio version, it's 3.6.2 in Ubuntu 12.04.

Thanks again,
-George

On Mon, Feb 4, 2013 at 6:20 PM, George Sklivanitis <
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.