I am using GNU radio 3.1.1 but I have been using the block blks2. Now I am 
using blks2impl and the error is gone. But I am now facing a new problem.
----------------------------------------------------------------------------------------------------------------------
 "/usr/local/lib/python2.5/site-packages/gnuradio/gr/basic_flow_graph.py", line 
84, in coerce_endpoint
    raise ValueError, "Not coercible to endpoint: %s" % (x,)
ValueError: Not coercible to endpoint: <gnuradio.blks2impl.gmsk.gmsk_demod 
object at 0xb649deac>
------------------------------------------------------------------------------------------------------------------
Here is the code:

from gnuradio import gr
from gnuradio.blks2impl import gmsk
from optparse import OptionParser
from gnuradio.eng_option import eng_option
import struct

class graph(gr.flow_graph):

    def __init__(self):
        gr.flow_graph.__init__(self)

        filename = '/home/fasika/Desktop/Binary'
        outputfilename = "demod"

        self.src = gr.file_source(gr.sizeof_gr_complex, filename)
        demod = gmsk.gmsk_demod()
        self.dst = gr.file_sink(gr.sizeof_char, outputfilename)
        self.connect(self.src, demod, self.dst)
     
if __name__ == '__main__':
    try:
        graph().run()
    except KeyboardInterrupt:
        pass

Fasika 

Eric Blossom <[EMAIL PROTECTED]> wrote: On Mon, Feb 04, 2008 at 02:27:09AM 
-0800, Fasika Alemayehu wrote:
> Hi ,
> 
> I was running a GMSK demodulator to demodulate a file source signal,
> and I have come up with the following error. I think there is a data
> type problem associated. Does anybody have similar problem ? I check
> the previous posts but there is no answer on that.

Which GMSK demodulator?  
gnuadio-core/src/python/gnuradio/blks2impl/gmsk.py?
Which version of GNU Radio?

> Here is the code : 
> [EMAIL PROTECTED]:~$python demod_file.py 
> >>> gr_fir_fff: using SSE
> python: gri_mmse_fir_interpolator.cc:66: float 
> gri_mmse_fir_interpolator::interpolate(const float*, float) const: Assertion 
> `imu >= 0' failed.
> Aborted (core dumped)
> 
> Fasika 

Eric


       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to