discuss-gnuradio
[Top][All Lists]
Advanced

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

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


From: David P. Reed
Subject: Re: [Discuss-gnuradio] x86_64 gr_feval problem RESOLVED for me
Date: Wed, 22 Nov 2006 18:01:14 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.0.8) Gecko/20061107 Fedora/1.5.0.8-1.fc6 Thunderbird/1.5.0.8 Mnenhy/0.7.4.0

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 problem.



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"
        self.fired = True

if __name__ == '__main__':
    f = my_feval()
    gr.feval_example(f)
    print "fired = "+`f.fired`


reply via email to

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