Re: hier_blocks2 error

AttributeError: ‘hier_block2_sptr’ object has no attribute ‘_hb’
marked protected they should not be accessed from outside the wrapper
directly (I remember some WXGUI code did that, but that has been fixed).
In the gnuradio tree I can’t seem to find anything like this.

Can you check and see from where this Exception is raised from?

Sebastian

The issue was in my python code that I derived from packet.py file. I
was
using this with 3.6.3

gr.io_signature(1, 1,
packet_source._hb.output_signature().sizeof_stream_item(0)) # Output
signature)

I replaced it with

gr.io_signature(1, 1,
packet_source.output_signature().sizeof_stream_item(0)) # Output
signature)

GRC flowgraph is working fine.

Thanks,
Bob