Try running "nm -u -C libgnuradio-ins_blocks.so" and search for any class 
methods that are supposed to be defined in the module.
 
--Patrick
 
Date: Wed, 1 Jun 2016 12:01:04 -0700
From: richard.be...@gmail.com
To: discuss-gnuradio@gnu.org
Subject: [Discuss-gnuradio] OOT Module Issue

Hi,

This is on Ubuntu 14.04 with GNU Radio 3.7.10

I have a module that I use just for altering existing GNU Radio blocks. 
Currently, it has the header/payload demux block and the packet_header_parser 
block in it, which I copied and pasted from the built-in block files. The HPD 
block was working fine yesterday, but today when I added the 
packet_header_parser block, it appears to have broken not only itself, but the 
hpd block as well.

The issue is that I'm getting 

AttributeError: 'module' object has no attribute 'packet_headerparser_b_ins'

when I have either of these blocks included in a flowgraph. I did not forget to 
'sudo ldconfig'.

Here is the output of ldd

bell@rbell:~/Documents/pcodes/radio_devel/custom_grblocks/gr-ins_blocks/build/lib$
 ldd libgnuradio-ins_blocks.so 
    linux-vdso.so.1 =>  (0x00007fff000ea000)
    libboost_system.so.1.54.0 => 
/usr/lib/x86_64-linux-gnu/libboost_system.so.1.54.0 (0x00007fa5de816000)
    libgnuradio-runtime-3.7.10git.so.0.0.0 => 
/usr/local/lib/libgnuradio-runtime-3.7.10git.so.0.0.0 (0x00007fa5de53a000)
    libgnuradio-pmt-3.7.10git.so.0.0.0 => 
/usr/local/lib/libgnuradio-pmt-3.7.10git.so.0.0.0 (0x00007fa5de2ef000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 
(0x00007fa5ddfeb000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fa5ddce4000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fa5ddace000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fa5dd709000)
    libvolk.so.1.2.2 => /usr/local/lib/libvolk.so.1.2.2 (0x00007fa5dd2a0000)
    libboost_filesystem.so.1.54.0 => 
/usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.54.0 (0x00007fa5dd08a000)
    libboost_thread.so.1.54.0 => 
/usr/lib/x86_64-linux-gnu/libboost_thread.so.1.54.0 (0x00007fa5dce74000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
(0x00007fa5dcc55000)
    liblog4cpp.so.5 => /usr/lib/liblog4cpp.so.5 (0x00007fa5dca15000)
    librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fa5dc80d000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fa5dec64000)
    libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007fa5dc5f2000)

When I run the top level python flowgraph under gdb, I get no useful feedback, 
it only tells me the attributeError line that I already knew.

What is something that causes all blocks in a module to produce this sort of 
error?

Thanks,
Rich


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio                         
                  
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to