Thursday, September 3, 2015

Re: [Discuss-gnuradio] How to add a new block

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:
> ubuntu@ubuntu:~/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'
>


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

No comments:

Post a Comment