i downloaded the last one of gr-Modtool , and same Problem exists, so can any one help me to get better copy or help me in this error. --- On Mon, 1/28/13, Martin Braun (CEL) <martin.br...@kit.edu> wrote:
From: Martin Braun (CEL) <martin.br...@kit.edu> Subject: Re: [Discuss-gnuradio] adding block using gr_modtool To: discuss-gnuradio@gnu.org Date: Monday, January 28, 2013, 4:06 PM Hi Mohammed, grab the newest modtool from github, that should do the trick. MB On Mon, Jan 28, 2013 at 01:55:47AM -0800, Mohammed Ramadan wrote: > it's my first time to use gr_modtool to creat Block i read the tutoral and > make > the steps and made module named howto. and now want to install the module and > i > write > gr_modtool add > asked me about the code type, block name, adding python QA , and C++ QA code , > then give me the following > > Must be one of ('sink', 'source', 'sync', 'decimator', 'interpolator', > 'general', 'hiercpp', 'hierpython', 'impl') > Enter code type: source > Code is of type: source > Enter name of block/code (without module name prefix): mohammed > Block/code identifier: mohammed > Full block/code identifier is: howto_mohammed > Enter valid argument list, including default arguments: in > Add Python QA code? [Y/n] n > Add C++ QA code? [Y/n] n > Traversing lib... > Adding file 'howto_mohammed.h'... > Adding file 'howto_mohammed.cc'... > Traceback (most recent call last): > File "gr_modtool.py", line 2315, in <module> > main() > File "gr_modtool.py", line 2312, in main > modtool.run() > File "gr_modtool.py", line 746, in run > self._run_lib() > File "gr_modtool.py", line 785, in _run_lib > ed.append_value('add_library', fname_cc) > File "gr_modtool.py", line 501, in append_value > count=1, flags=re.MULTILINE) > TypeError: sub() got an unexpected keyword argument 'flags' > el-hadidy@ubuntu:~/gr-howto$ > > so what i can do now , to check for making the new block , is it Done or Not, > Please i need your help > > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > 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 -----Inline Attachment Follows----- _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio