discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Problem with "Extras:Packet Framer"


From: Josh Blum
Subject: Re: [Discuss-gnuradio] Problem with "Extras:Packet Framer"
Date: Sun, 13 Jan 2013 12:35:16 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0


On 01/13/2013 07:18 AM, Guy Holtzman wrote:
> Hi, I am using GNU Radio 3.6.3rc0 with Ubuntu 12.10
> since I am new in GNURadio and python, I am currently using the
> gnuradio-companion to build simple examples.
> I have installed the Extras package and trying to use the Packet Framer.
> Extras: Socket to Blob --> Extras: Packet Framer --> GMSK mod
> al though my project is excuting, as soon as I try to stream to the socket
> using the nc command I get the following error:
> 
> handler caught exception: 'module' object has no attribute 'pmt_blob_length'
> 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],
>   File
> "/usr/local/lib/python2.7/dist-packages/gnuradio/extras/packet_framer.py",
> line 82, in work
>     pmt.pmt_blob_data(msg.value).tostring(),
>   File
> "/usr/local/lib/python2.7/dist-packages/gnuradio/extras/extras_pmt.py",
> line 48, in pmt_blob_data
>     return __pointer_to_ndarray(extras_swig.pmt_blob_rw_data(blob),
> extras_swig.pmt_blob_length(blob))
> AttributeError: 'module' object has no attribute 'pmt_blob_length'
> thread[thread-per-block[0]: <gr_block mod_pkts2 (8)>]: caught unrecognized
> exception
> 
> replacing the Extras: Packet Framer with Extras: Blob to stream seems to
> work so I know the problem is related to the Packet Framer block
> 
> how can I resolve this issue?
> 

Not sure why its doing that, pmt_blob_length should also be in that
module. Can you try this diff and see if it resolves the issue:

http://pastebin.com/jzFuqvQH

-josh

> Thanks, Guy
> 
> 
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 



reply via email to

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