Gr_modtool error Adding file .h

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
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.

I accidentally pushed a buggy version somewhere along the line, you must
have caught that.
Just get a new version, it should work. Which branch are you on, master
of format37?

M

On Mon, Nov 05, 2012 at 10:27:08AM +0800, gong zhang wrote:

main()

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 mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin B.
Research Associate

Kaiserstraße 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-43790
Fax: +49 721 608-46071
www.cel.kit.edu

KIT – University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association

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