Error using Packet Decoder block in 3.7

The following error is thrown when trying to run dpsk_loopback.py in
gr digital examples.

File
“/usr/local/lib/python2.7/dist-packages/grc_gnuradio/blks2/packet.py”,
line 243, in recv_pkt
msg = blocks.message_from_string(payload, 0, self._item_size_out,
AttributeError: ‘module’ object has no attribute ‘message_from_string’

Any advice?

On Sat, Sep 21, 2013 at 12:29 AM, Vanush V. [email protected]
wrote:

The following error is thrown when trying to run dpsk_loopback.py in
gr digital examples.

File “/usr/local/lib/python2.7/dist-packages/grc_gnuradio/blks2/packet.py”,
line 243, in recv_pkt
msg = blocks.message_from_string(payload, 0, self._item_size_out,
AttributeError: ‘module’ object has no attribute ‘message_from_string’

Any advice?

Update your GNU Radio version. This was a bug introduced in the
renaming of things from 3.6 to 3.7 (my sed was a little to open). This
is fixed in 3.7.1.


Tom
GRCon13 Oct. 1 - 4
http://www.trondeau.com/grcon13