discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Undocumented custom blocks in GNU Radio


From: Martin Braun
Subject: Re: [Discuss-gnuradio] Undocumented custom blocks in GNU Radio
Date: Fri, 31 Mar 2017 10:13:20 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

Both these problems probably stem from the same root cause. Try and load
the underlying library file in Python (something like "cd build/swig;
python -c 'import _channelsounder_swig.py'") and it'll most likely
crash. That should clue you into what's going wrong.

-- M

On 03/30/2017 10:36 PM, Ammar Mahmood wrote:
> Dear all,
> 
> 
> I am trying to run the gr-channelsounder flow graph
> (https://github.com/gbaier/gr_channelsounder
> <https://github.com/gbaier/gr_channelsounder>). The custom blocks in the
> flowgraph build successfully but are shown as *undocumented in GNU
> Radio*. Also, the following error occurs if these blocks are used in a
> simulation:
> 
> Traceback (most recent call last):
>   File "/home/ammar/top_block.py", line 87, in <module>
>     main()
>   File "/home/ammar/top_block.py", line 81, in main
>     tb = top_block_cls()
>   File "/home/ammar/top_block.py", line 61, in __init__
>     self.channelsounder_avg_m_over_n_cc_0 =
> channelsounder.avg_m_over_n_cc(2000, 255)
> AttributeError: 'module' object has no attribute 'avg_m_over_n_cc'
> 
> Can anybody help me out regarding how to remove this error?
> 
> Regards,
> Ammar
> 
> p.s. I also tried the solution provided to remove attribute errors
> provided on below mentioned link to no avail as there were no faulty
> methods or I was not able to find them by running the " nm -C -u
> libgnuradio-<modulename>.so | grep MyClass " command replacing
> modulename and Myclass with the respective names of my module and class.
> http://lists.gnu.org/archive/html/discuss-gnuradio/2015-08/msg00374.html
> <http://lists.gnu.org/archive/html/discuss-gnuradio/2015-08/msg00374.html>
> 
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 




reply via email to

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