Dfts ofdm block

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

On Thu, 30 Aug 2012 09:54:30 -0700, Viktor Ivan Rodriguez Abdala wrote:

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

I ran into similar problem a few days ago. Seems like hierpython type is
not supported indeed. Perhaps it’s better to open an issue to gr-modtool
project.

Alick

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