discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] GNURadio 3.7 on IGEPv2 Board (Ubuntu Linaro)


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] GNURadio 3.7 on IGEPv2 Board (Ubuntu Linaro)
Date: Wed, 3 Jul 2013 09:42:16 -0400

On Wed, Jul 3, 2013 at 5:35 AM, Luigi Picari <address@hidden> wrote:
> Dear All,
>
> I Installed gnuradio-3.7.0rc0 in Ubuntu Linaro 12.04.2 LTS (OMAP3 Board -
> IGEPv2).
>
> uname -a
> Linux linaro-ubuntu-desktop 2.6.37+ #2 Mon Feb 13 13:22:25 CET 2012 armv7l
> armv7l armv7l GNU/Linux
>
> I used these commands to compile and everything went well:
> cmake -DENABLE_BAD_BOOST=ON ../
> make
> sudo make install
>
> If I try 'make test' the board fails the first and it remains stalled on the
> second:
>         Start   1: qa_volk_test_all
>   1/174 Test   #1: qa_volk_test_all .................***Failed    5.56 sec
>         Start   2: gr-runtime-test

Run 'ctest -V -R volk' and post the output to help us figure out
what's going wrong there.

> If I try to execute a simple code Signal Source --> Multiply Const --> Audio
> Sink (http://nopaste.info/647932116a.html)I get this error:
>   File "./Segnale_Audio_NO_GUI.py", line 14, in <module>
>     from gnuradio.gr import firdes
> ImportError: cannot import name firdes
>
> Can someone help me to understand where I'm wrong?
>
> Luigi

You're using 3.7, which changed the structure of the modules. The
'firdes' Python module is now underneath the 'filter' module. So you
have to make sure you do:

from gnuradio import filter
from gnuradio.filter import firdes

You can now use 'filter.firdes....' or just 'firdes...'.

Tom



reply via email to

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