discuss-gnuradio
[Top][All Lists]
Advanced

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

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


From: Guy Holtzman
Subject: [Discuss-gnuradio] Problem with "Extras:Packet Framer"
Date: Sun, 13 Jan 2013 15:18:17 +0200

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?

Thanks, Guy

reply via email to

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