Forum: GNU Radio Error using Packet Decoder block in 3.7

F18b7b61dfbfe46c7af3cbcbda568c4f?d=identicon&s=25 Vanush Vaswani (Guest)
on 2013-09-21 06:31
(Received via mailing list)
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?
C539637020fd56193dd6daec746c4a84?d=identicon&s=25 Tom Rondeau (Guest)
on 2013-09-21 17:26
(Received via mailing list)
On Sat, Sep 21, 2013 at 12:29 AM, Vanush Vaswani <vanush@gmail.com>
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
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.