Hi,
I’m looking to develop a block called dfts ofdm, based in a similar
block called ofdm mod, when I’m trying to create the new block with
gr-modtool I get this error.
$ python gr-modtool.py add -t hierpython dftsofdm
Operating in directory .
GNU Radio module name identified: Umbrella
Code is of type: hierpython
Block/code identifier: dftsofdm
Full block/code identifier is: Umbrella_dftsofdm
Enter valid argument list, including default arguments:
Add Python QA code? [Y/n] n
Traversing python…
Adding file ‘dftsofdm.py’…
Traceback (most recent call last):
File “gr-modtool.py”, line 2315, in
main()
File “gr-modtool.py”, line 2312, in main
modtool.run()
File “gr-modtool.py”, line 760, in run
self._run_python_hierblock()
File “gr-modtool.py”, line 857, in _run_python_hierblock
self._write_tpl(‘hier_python’, ‘python’, fname_py)
File “gr-modtool.py”, line 741, in _write_tpl
open(os.path.join(path, fname),
‘w’).write(self.tpl.get_template(tpl, **self._info))
File “gr-modtool.py”, line 437, in get_template
kwargs[‘grblocktype’] = self.grtypelist[kwargs[‘blocktype’]]
KeyError: ‘hierpython’
which is my error?
Regards,
Ivan Rodriguez