The code for figuring out dependencies (expr_utils.py) is failing here, I believe. That has been reported before and is on the list to be rewritten (not very high prio though). In the meantime moving all the probes to the end sounds like a good workaround (even though I usually dislike special-casing blocks).
So, yes, a PR would much a appreciated. Thanks Sebastian On 11/29/2016 04:10 AM, John Malsbury wrote: > I often find that GRC instantiates function_probes/threads before the > block/object/probe that is being called by the function probe, which > causes an exception. It takes some trickery, like copying and > re-pasting blocks in GRC to change the order in the generated python > file. > > To fix this I've modified: > > grc/core/FlowGraph.py > grc/core/generator/Generator.py > grc/core/generator/flow_graph.tmpl > > so function probes are always declared after all blocks. > > Is there a reason why we haven't done this before? If not I can > submit a PR for the simple fix. > > -John > > > _______________________________________________ > 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