[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] How to add a new block
From: |
Marcus Müller |
Subject: |
Re: [Discuss-gnuradio] How to add a new block |
Date: |
Thu, 3 Sep 2015 17:00:40 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 |
Hi Bala,
are you using an old gr_modtool that you found somewhere online?
You should never do that. When you install GNU Radio, it will install a
version of gr_modtool that works with your GNU Radio version.
Best regards,
Marcus
On 03.09.2015 12:57, Bala V. wrote:
> address@hidden:~/gr-howto$ gr_modtool makexml square_ff
> GNU Radio module name identified: howto
> Warning: This is an experimental feature. Don't expect any magic.
> Searching for matching files in lib/:
> Making GRC bindings for lib/square_ff_impl.cc...
> Traceback (most recent call last):
> File "/usr/local/bin/gr_modtool", line 47, in <module>
> main()
> File "/usr/local/bin/gr_modtool", line 39, in main
> modtool.run()
> File
> "/usr/local/lib/python2.7/dist-packages/gnuradio/modtool/modtool_makexml.py",
> line 66, in run
> (params, iosig, blockname) = self._parse_cc_h(f)
> File
> "/usr/local/lib/python2.7/dist-packages/gnuradio/modtool/modtool_makexml.py",
> line 165, in _parse_cc_h
> return (parser.read_params(), parser.read_io_signature(), blockname)
> File
> "/usr/local/lib/python2.7/dist-packages/gnuradio/modtool/parser_cc_block.py",
> line 81, in read_io_signature
> iosig['in'] =
> _figure_out_iotype_and_vlen(iosig_match.group('incall'),
> AttributeError: 'NoneType' object has no attribute 'group'
>