discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] First-timer Question


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] First-timer Question
Date: Wed, 21 May 2008 17:26:39 -0700
User-agent: Mutt/1.5.17 (2007-11-01)

On Wed, May 21, 2008 at 11:28:54PM +0000, Cameron Moore wrote:

> > $ yum install sdcc
> > 
> > then did these:
> > $ yum groupinstall "Engineering and Scientific" "Development Tools"
> > $ yum install fftw-devel cppunit-devel wxPython-devel libusb-devel guile
> > boost-devel alsa-lib-devel numpy
> > 
> > 
> > then added these two manually to "/home/[user]/.bashrc":
> > 
> > PYTHONPATH=/usr/local/lib/python2.4/site-packages
> > PATH=/usr/libexec/sdcc:$PATH

I'm pretty sure Fedora 8 ships with Python 2.5.

32-bit:

  PYTHONPATH=/usr/local/lib/python2.5/site-packages

64-bit:

  PYTHONPATH=/usr/local/lib64/python2.5/site-packages

> > 
> > Now for a test I ran this:
> > $ cd /gnuradio-examples/python/audio/
> > $ python dial_tone.py
> > 
> > Which gives me this error:
> > 
> >     audio_alsa_sink[hw:0,0]: set_period_time_near failed: Invalid
> >     argument
> >     Traceback (most recent call last):
> >       File "dial_tone.py", line 55, in <module>
> >         my_top_block().run()
> >       File "dial_tone.py", line 48, in __init__
> >         dst = audio.sink (sample_rate, options.audio_output)
> >       File "/usr/lib/python2.5/site-packages/gnuradio/audio_alsa.py",
> >       line 236, in sink
> >         return _audio_alsa.sink(*args)
> >     RuntimeError: audio_alsa_sink


Try

  ./dial_tone -O plughw:0,0


Eric




reply via email to

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