If I forget to connect a port of an hierblock2, I will get a confusing
RuntimeError: block is not a valid gr_block or gr_hier_block2!
It would be useful if you check this upon entering the flattening
for example and give a more useful message. The debug trace finally
me to my mistake. The error message didn’t help at all.