Hi all,
I am building an OOT module. When I run gr_modtool makexml beacon_gen, I got error:
GNU Radio module name identified: PNC
Warning: This is an experimental feature. Don't expect any magic.
Searching for matching files in lib/:
Making GRC bindings for lib/beacon_gen_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 "/opt/gnuradio-3.7.3/lib/python2.7/dist-packages/gnuradio/modtool/modtool_makexml.py", line 66, in run
(params, iosig, blockname) = self._parse_cc_h(f)
File "/opt/gnuradio-3.7.3/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 "/opt/gnuradio-3.7.3/lib/python2.7/dist-packages/gnuradio/modtool/parser_cc_block.py", line 82, in read_io_signature
iosig_match.group('intype'))
File "/opt/gnuradio-3.7.3/lib/python2.7/dist-packages/gnuradio/modtool/parser_cc_block.py", line 47, in _figure_out_iotype_and_vlen
return {'type': [_typestr_to_iotype(x) for x in typestr.split(',')],
File "/opt/gnuradio-3.7.3/lib/python2.7/dist-packages/gnuradio/modtool/parser_cc_block.py", line 55, in _typestr_to_iotype
return self.type_trans(type_match.group(1))
File "/opt/gnuradio-3.7.3/lib/python2.7/dist-packages/gnuradio/modtool/modtool_makexml.py", line 140, in _type_translate
if p_type in ('int',) and default_v[:2].lower() == '0x':
TypeError: 'NoneType' object has no attribute '__getitem__'
Can anyone help me with this?
Thank you,
Ly
Van-Ly Nguyen,
Signals and Systems Laboratory - SSL
Faculty of Electronics and Telecommunications - FET
University of Engineering and Technology - UET
Vietnam National University, Hanoi - VNU
Tel: (+84) 978 819 406