discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] gr_modtool error Adding file .h


From: Martin Braun (CEL)
Subject: Re: [Discuss-gnuradio] gr_modtool error Adding file .h
Date: Mon, 5 Nov 2012 09:26:32 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

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:
> 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 mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

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

Dipl.-Ing. Martin Braun
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

Attachment: pgpzUNWoE_SGd.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]