Re: [Discuss-gnuradio] x86_64 gr_feval problem RESOLVED for me

2006-11-22 Thread Eric Blossom
On Wed, Nov 22, 2006 at 06:01:14PM -0500, David P. Reed wrote: > Eric - > > Though Fedora Core 6 has swig 1.3.29 as its current release level, I > updated swig on my machine to swig-1.3.31 from swig.org. This fixed > the gr_feval bug on my x86_64 machine. > > I put in a ticket on this (106).

Re: [Discuss-gnuradio] gr.feval_dd questions

2006-11-22 Thread Eric Blossom
On Wed, Nov 22, 2006 at 05:32:57PM -0500, Marcus Leech wrote: > I guess that there's something I don't get about how gr.feval_XX is > supposed to work. > > I do the following > > class my_thing_dd(gr.feval_dd): >def eval(self,x): >x = x >return(x) > > ... > ... > ... > >

Re: [Discuss-gnuradio] x86_64 path proposal

2006-11-22 Thread David P. Reed
Eric - A very clean fix for the path problem on Fedora x86_64 machines is as follows: in each directory in site-packages/gnuradio modify the __init__.py file to include the following two lines as the first lines after the comments: import pkgutil __path__ = pkgutil.extend_path(__path__, __n

Re: [Discuss-gnuradio] x86_64 gr_feval problem RESOLVED for me

2006-11-22 Thread David P. Reed
Eric - Though Fedora Core 6 has swig 1.3.29 as its current release level, I updated swig on my machine to swig-1.3.31 from swig.org. This fixed the gr_feval bug on my x86_64 machine. I put in a ticket on this (106). But someone who doesn't re run bootstrap in the build won't discover the

[Discuss-gnuradio] gr.feval_dd questions

2006-11-22 Thread Marcus Leech
I guess that there's something I don't get about how gr.feval_XX is supposed to work. I do the following class my_thing_dd(gr.feval_dd): def eval(self,x): x = x return(x) ... ... ... my_handle = my_thing_dd() self.connect(some_block, my_handle, some_oth

[Discuss-gnuradio] Figuring out samples written to file

2006-11-22 Thread L. Miguel Bazdresch Sierra
Hello, I sampled an FM station and created a sample file with one second worth of samples: $ ./usrp_rx_cfile.py -d 256 -f 97.9M -N 256k fm1.out This works; I can listen to the audio just fine using: $ ./wfm_rcv_file.py fm1.out Now I want to input the samples to octave: octave> v = read_com

Re: [Discuss-gnuradio] Trouble building under cygwin

2006-11-22 Thread Steven Clark
You are right, I was using a newer w32api (3.8-1). Thanks for your help! -Steven On 11/21/06, Don Ward <[EMAIL PROTECTED]> wrote: The trouble is occuring during the installation of wxPython. I know this is "just" a GUI environment, but I'd still like to get it working. I get to step 6 of http

Re: [Discuss-gnuradio] x86_64 gr_feval problem

2006-11-22 Thread Eric Blossom
On Wed, Nov 22, 2006 at 10:53:21AM -0500, David P. Reed wrote: > Eric - here is the simplest test I can give, it fails by printing "Fired > = false" and nothing else. > from gnuradio import gr, gr_unittest > > class my_feval(gr.feval): > def __init__(self): > gr.feval.__init__(self)

Re: [Discuss-gnuradio] Still having problems installing wxPython from source

2006-11-22 Thread Eric Blossom
On Wed, Nov 22, 2006 at 12:47:54AM -0800, Newell Jensen wrote: > I am still having problems installing wxPython from source. I keep running > into this problem. I have read all the documentation and as far as I know I > am not missing anything. Here is the error. If anyone has a suggestion of >

Re: [Discuss-gnuradio] x86_64 gr_feval problem

2006-11-22 Thread David P. Reed
Eric - here is the simplest test I can give, it fails by printing "Fired = false" and nothing else. from gnuradio import gr, gr_unittest class my_feval(gr.feval): def __init__(self): gr.feval.__init__(self) self.fired = False def eval(self): print "firing"

Re: [Discuss-gnuradio] usrp_spectrum_sense.py

2006-11-22 Thread Shravan Rayanchu
Hi Eric, Thanks for getting back to me. I'll look into the fftw docs and the links you gave to understand the details. --Shravan I suggest that you take a look at the docs on www.fftw.org. Our fft block uses FFTW to do the work, and the output is exactly as they specify. http://www.fftw.org

[Discuss-gnuradio] Still having problems installing wxPython from source

2006-11-22 Thread Newell Jensen
I am still having problems installing wxPython from source. I keep running into this problem. I have read all the documentation and as far as I know I am not missing anything. Here is the error. If anyone has a suggestion of what I should do to remedy this it would be appreciated. I don't kno