discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] CVS compilation problem (actually a test fails)


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] CVS compilation problem (actually a test fails)
Date: Mon, 2 May 2005 10:52:22 -0700
User-agent: Mutt/1.5.6i

On Mon, May 02, 2005 at 05:16:30PM +0100, address@hidden wrote:
> 
> Hi,
> 
> I can't check the archives at the moment as lists.gnu.org doesn't want
> to talk to anyone, but I don't remember anyone saying anything about
> this.
> 
> A couple of weeks ago I compiled and ran all the gnuradio code. I then
> had a disk failure and had to rebuild the whole of my system. I
> downloaded all of the source code again (from CVS) and rebuilt it, but
> now I get the following error:
> 
> >>> gr_fir_fff: using 3DNow!
> .
> ----------------------------------------------------------------------
> Ran 1 test in 0.011s
> 
> OK
> E.
> ======================================================================
> ERROR: test_blks_import (__main__.test_head)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "./qa_kludged_imports.py", line 35, in test_blks_import
>     from gnuradio import blks
>   File 
> "/data/matt/usrp/gr-build/gnuradio-core/src/python/gnuradio/blks/__init__.py",
>  line 37, in ?
>     exec "from gnuradio.blksimpl.%s import *" % (f,)
>   File "<string>", line 1, in ?
>   File 
> "/data/matt/usrp/gr-build/gnuradio-core/src/python/gnuradio/blksimpl/digital_voice.py",
>  line 33, in ?
>     from gnuradio.vocoder import gsm_full_rate
> ImportError: No module named vocoder
> ----------------------------------------------------------------------
> Ran 2 tests in 0.100s
> 
> FAILED (errors=1)
> .....

This is an unintended consequence of how I'm handling the blks module.
I'll see if I can come up with a better solution.

Background:  I've just recently added a digital voice hierarchical
block that glues together the GSM 06.11 full rate vocoder and the GMSK
code.  It's trying to load the vocoder module (which you haven't
installed and shouldn't have to) and failing.

To get past this:
  
  $ rm  gnuradio-core/src/python/gnuradio/blksimpl/digital_voice.py

You know you're in trouble when test code named "qa_kludged_imports.py"
is failing ;-)

Eric




reply via email to

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