discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] 'module' object has no attribute


From: Lee Patton
Subject: Re: [Discuss-gnuradio] 'module' object has no attribute
Date: Sun, 14 May 2006 20:34:45 -0400

Thanks Martin! I was staring at that code for a half hour, and didn't
see it. I even grepped 'gr_' to see if it was something like that, and I
still didn't see it

Thanks for your time.

On Mon, 2006-05-15 at 00:55 +0200, Martin Dvh wrote:
> Lee Patton wrote:
> > I am attempting to build modified versions of gr_file_source, and
> > gr_file_sink outside of gnuradio-core.  I have successfully built, and
> > used my version of file_source (called rad_wvfm_source). However, I
> > cannot get my version of file_sink (called rad_wvfm_sink) to build into
> > a module so that it is callable from python.  My python QA script fails
> > with an AttributeError: 'module' object has no attribute 'wvfm_sink'.
> If you use:
> GR_SWIG_BLOCK_MAGIC(rad,wvfm_sink)
> 
> Then should use:
> rad_make_wvfm_sink
> 
> in stead of:
> gr_make_wvfm_sink
> 
> 
> I hope this helps,
> Martin
> 
> 
> > 
> > I've attached my swig files. Any help is appreciated.
> > 
> > Thanks,
> >  - Lee
> > 
> > P.S. 
> > 
> > You can browse all the code at http://svn.pattoncentral.org, just click
> > gr_radar. If it is easier, you can check out the code with
> > 
> > $] svn co http://svn.pattoncentral.org/gr_radar --username=anon
> > 
> > and empty password.
> > 
> > 
> > ------------------------------------------------------------------------
> > 
> > _______________________________________________
> > Discuss-gnuradio mailing list
> > address@hidden
> > http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 





reply via email to

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