[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] gr_modtool error Adding file .h
From: |
gong zhang |
Subject: |
[Discuss-gnuradio] gr_modtool error Adding file .h |
Date: |
Mon, 5 Nov 2012 10:27:08 +0800 |
I'm newbie to gnuradio.I got a problem when i use the latest
gr_modtool to check the howto_square_ff example.I work with
Ubuntu10.04,python2.6 and Cheetah2.4.4. When i excute 'gr_modtool add'
I got the following:
Add Python QA code? [Y/n] n
Add C++ QA code? [Y/n] n
Traversing lib...
Adding file 'howto_square_ff.h'...
Traceback (most recent call last):
File "/home/zg/gr-modtool/src/gr_modtool.py", line 46, in <module>
main()
File "/home/zg/gr-modtool/src/gr_modtool.py", line 40, in main
modtool.run()
File "/home/zg/gr-modtool/src/modtool_add.py", line 130, in run
self._run_lib()
File "/home/zg/gr-modtool/src/modtool_add.py", line 162, in _run_lib
self._write_tpl('block_h', 'include', fname_h)
File "/home/zg/gr-modtool/src/modtool_add.py", line 125, in _write_tpl
open(os.path.join(path, fname), 'w').write(get_template(tpl, **self._info))
File "/home/zg/gr-modtool/src/code_generator.py", line 43, in get_template
return str(GRMTemplate(Templates[tpl_id], searchList=kwargs))
File "/usr/lib/pymodules/python2.6/Cheetah/Template.py", line 981, in __str__
def __str__(self): return getattr(self, mainMethName)()
File "DynamicallyCompiledCheetahTemplate.py", line 88, in respond
NameMapper.NotFound: cannot find 'str_to_fancyc_comment'
Thanks.
- [Discuss-gnuradio] gr_modtool error Adding file .h,
gong zhang <=