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?


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

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

I replaced it with

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

GRC flowgraph is working fine.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs