discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Problem with new swig docs stuff


From: Josh Blum
Subject: Re: [Discuss-gnuradio] Problem with new swig docs stuff
Date: Tue, 06 Dec 2011 16:09:11 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1


On 12/06/2011 02:56 PM, Tom Rondeau wrote:
> On Tue, Dec 6, 2011 at 5:51 PM, Josh Blum <address@hidden> wrote:
> 
>>
>>> <snip>
>>> [ 47%] Generating general_swig_doc.i
>>> Error in xml in file
>> /home/gr/source/git/gnuradio/build/gnuradio-core/src/lib/swig/general_swig_doc_swig_docs/xml/gr__simple__framer__sync_8h.xml
>>> Traceback (most recent call last):
>>>   File "/home/gr/source/git/gnuradio/docs/doxygen/swig_doc.py", line
>> 253, in <module>
>>>     make_swig_interface_file(di, swigdocfilename,
>> custom_output=custom_output)
>>>   File "/home/gr/source/git/gnuradio/docs/doxygen/swig_doc.py", line
>> 196, in make_swig_interface_file
>>>     blocks = di.in_category(Block)
>>>   File "/home/gr/source/git/gnuradio/docs/doxygen/doxyxml/base.py", line
>> 140, in in_category
>>>     self.confirm_no_error()
>>>   File "/home/gr/source/git/gnuradio/docs/doxygen/doxyxml/base.py", line
>> 206, in confirm_no_error
>>>     self.check_parsed()
>>>   File "/home/gr/source/git/gnuradio/docs/doxygen/doxyxml/base.py", line
>> 203, in check_parsed
>>>     self._parse()
>>>   File "/home/gr/source/git/gnuradio/docs/doxygen/doxyxml/doxyindex.py",
>> line 51, in _parse
>>>     self._members += converted.members()
>>>   File "/home/gr/source/git/gnuradio/docs/doxygen/doxyxml/base.py", line
>> 174, in members
>>>     self.confirm_no_error()
>>>   File "/home/gr/source/git/gnuradio/docs/doxygen/doxyxml/base.py", line
>> 206, in confirm_no_error
>>>     self.check_parsed()
>>>   File "/home/gr/source/git/gnuradio/docs/doxygen/doxyxml/base.py", line
>> 203, in check_parsed
>>>     self._parse()
>>>   File "/home/gr/source/git/gnuradio/docs/doxygen/doxyxml/doxyindex.py",
>> line 163, in _parse
>>>     self.set_descriptions(self._retrieved_data.compounddef)
>>> AttributeError: 'NoneType' object has no attribute 'compounddef'
>>> make[2]: *** [gnuradio-core/src/lib/swig/general_swig_doc.i] Error 1
>>> make[1]: ***
>> [gnuradio-core/src/lib/swig/CMakeFiles/_gnuradio_core_filter.dir/all] Error
>> 2
>>> make: *** [all] Error 2
>>>
>>
>> Tom/Ben,
>>
>> I think doxyindex.py may be relying on an xml field that older doxygen's
>> do not define.
>>
>> Perhaps we could put a big try/catch around this in case it fails and
>> print to stderr. That way the build keeps going, and its just a warning
>> printed out in the terminal.
>>
>> -josh
>>
> 
> 
> Version info, please?
> 
> Tom
> 

Also please attach the gr__simple__framer__sync_8h.xml

-josh



reply via email to

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