[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] No attribute 'message_sink'
From: |
Ting Wu |
Subject: |
Re: [Discuss-gnuradio] No attribute 'message_sink' |
Date: |
Sat, 2 Nov 2013 15:57:07 +0900 |
Hi Marcus,
Thanks!
I changed the line to " self.sink = blocks.message_sink(gr.sizeof_short*2,
self.queue, False)"
and now it works.
Wu
-----Original Message-----
From: Marcus Müller [mailto:address@hidden
Sent: Friday, November 01, 2013 6:23 PM
To: Ting Wu
Cc: address@hidden
Subject: Re: [Discuss-gnuradio] No attribute 'message_sink'
Hi Wu,
yes, something has changed: GNU Radio made a version progression from
3.6 to 3.7. Part of this progress was that the standards blocks are now part of
the "blocks" module, and no longer of the "gr" module.
Please refer to the official GR wiki to learn about conversion from 3.6 to 3.7.
Greetings,
Marcus
On Fri, 2013-11-01 at 17:00 +0900, Ting Wu wrote:
> Hi,
>
>
>
> I’m using USRP N210 with LFRX.
>
> I installed uhd and gnuradio with build-gnuradio script without any
> problem.
>
> However, when I run an application, it has such error message:
>
>
>
> self.sink = gr.message_sink(gr.sizeof_short*2, self.queue, False)
>
> AttributeError: 'module' object has no attribute 'message_sink'
>
>
>
> Several months ago, I installed on several computers with the
> build-gnuradio script and run the same application, and there was no
> such problem.
>
> Has gnuradio changed something recently?
>
>
>
> Best regards,
>
>
>
> Wu
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio