If I add these lines from the benchmark_tx.py example in the gnuradio/gr-digital/examples/narrowband directory before building the flow-graph, then things seem to work without error:
if options.from_file is not None:
source_file = open(options.from_file, 'r')
I suspect this is an error in the code but since I am very new to GNU Radio and Python, I would not rule out a misunderstanding on my part.
Any comments that could help?
Thanks,
Lakshay.