[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] 'module' object has no attribute
From: |
Martin Dvh |
Subject: |
Re: [Discuss-gnuradio] 'module' object has no attribute |
Date: |
Mon, 15 May 2006 00:55:08 +0200 |
User-agent: |
Debian Thunderbird 1.0.2 (X11/20051002) |
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