librelist archives

« back to archive

doxygenclass + :members: fails

doxygenclass + :members: fails

From:
Gregory Vincic
Date:
2013-10-17 @ 08:45
Hi, just started to use sphinx + breathe and the initial setup as
explained in the examples works nice. Though when I tried to display
specific members of a class, like this

.. doxygenclass:: MyClass
     :members: getId, getTitle

rendering fails. End of the trace looks like

------------------------------- trace ---------------------------------
...
   File "/Users/gregory/breathe/breathe/renderer/rst/doxygen/filter.py",
line 174, in allow
     return self.first_filter.allow(parent_data_object, child_data_object)
\
   File "/Users/gregory/breathe/breathe/renderer/rst/doxygen/filter.py",
line 187, in allow
     or self.second_filter.allow(parent_data_object, child_data_object)
   File "/Users/gregory/breathe/breathe/renderer/rst/doxygen/filter.py",
line 80, in allow
     name = self.accessor(parent_data_object, child_data_object)
   File "/Users/gregory/breathe/breathe/renderer/rst/doxygen/filter.py",
line 25, in __call__
     return s.name
AttributeError: descriptionTypeSub instance has no attribute 'name'
------------------------------- end trace ------------------------------

I haven't been digging more into this and the logic behind Accessors in
general, but modifying the __call__(...) method like this

     def __call__(self, parent_data_object, child_data_object):
         s = self.selecter(parent_data_object, child_data_object)
         if hasattr(s, 'name'):
             return s.name
         return None

seems to do the trick. Maybe you can tell if this is a sane fix Michael?
If not, what would be?


Regards
   Gregory

Gregory Vincic
http://gregory.vincic.org

Re: [breathe] doxygenclass + :members: fails

From:
Michael Jones
Date:
2013-10-17 @ 10:40
Hi Gregory,

Not sure exactly what would be causing that, but sorry for the trouble. It
is getting a little late where I am but I'm happy to take a look tomorrow.

The example in the docs:



http://michaeljones.github.io/breathe/class.html#working-example-with-specific-members

Seems to work for me. Could you possible grab the code from github and see
if it builds for you? Else if you could provide an example of the kind of
code which is failing for you, I'll try to track it down.

That might be a reasonable fix. I tend to shy away from hasattr style
calls. It might be more appropriate to make sure the parsing code is
assigning some kind of name to the object. I can't be sure though without a
bit more investigation.

Thanks for taking the time to report the issue,
Michael


On Thu, Oct 17, 2013 at 9:45 PM, Gregory Vincic <gregory@7de.se> wrote:

>
> Hi, just started to use sphinx + breathe and the initial setup as
> explained in the examples works nice. Though when I tried to display
> specific members of a class, like this
>
> .. doxygenclass:: MyClass
>      :members: getId, getTitle
>
> rendering fails. End of the trace looks like
>
> ------------------------------- trace ---------------------------------
> ...
>    File "/Users/gregory/breathe/breathe/renderer/rst/doxygen/filter.py",
> line 174, in allow
>      return self.first_filter.allow(parent_data_object, child_data_object)
> \
>    File "/Users/gregory/breathe/breathe/renderer/rst/doxygen/filter.py",
> line 187, in allow
>      or self.second_filter.allow(parent_data_object, child_data_object)
>    File "/Users/gregory/breathe/breathe/renderer/rst/doxygen/filter.py",
> line 80, in allow
>      name = self.accessor(parent_data_object, child_data_object)
>    File "/Users/gregory/breathe/breathe/renderer/rst/doxygen/filter.py",
> line 25, in __call__
>      return s.name
> AttributeError: descriptionTypeSub instance has no attribute 'name'
> ------------------------------- end trace ------------------------------
>
> I haven't been digging more into this and the logic behind Accessors in
> general, but modifying the __call__(...) method like this
>
>      def __call__(self, parent_data_object, child_data_object):
>          s = self.selecter(parent_data_object, child_data_object)
>          if hasattr(s, 'name'):
>              return s.name
>          return None
>
> seems to do the trick. Maybe you can tell if this is a sane fix Michael?
> If not, what would be?
>
>
> Regards
>    Gregory
>
> Gregory Vincic
> http://gregory.vincic.org
>

Re: [breathe] doxygenclass + :members: fails

From:
Gregory Vincic
Date:
2013-10-17 @ 11:34
On Thu, 17 Oct 2013, Michael Jones wrote:

> Seems to work for me. Could you possible grab the code from github and see
> if it builds for you? Else if you could provide an example of the kind of
> code which is failing for you, I'll try to track it down.

Actually I'm using a clone of the latest revision already, sorry I can't 
give the complete example code but I can do one better than that. The 
error is caused by if doc string is written like the example below


failing.hh
---------------------------------------------------------------------------
/*! \class Failing */
class Failing {
public:
    /** @name Some section .
     * THIS IS CAUSING THE ERROR, must have an empty star line above
     *
     * @{
     */
    int getSomething() const; ///< some docs
    bool isSomething() const; ///< some more docs
    //@}
};

---------------------------------------------------------------------------




> That might be a reasonable fix. I tend to shy away from hasattr style
> calls. It might be more appropriate to make sure the parsing code is
> assigning some kind of name to the object. I can't be sure though without a
> bit more investigation.

Agree.

Gregory Vincic

Re: [breathe] doxygenclass + :members: fails

From:
Michael Jones
Date:
2013-10-17 @ 20:36
Hi Gregory,

Thanks for the example, that's really useful. I'll try to work through it
today.

Cheers,
Michael


On Fri, Oct 18, 2013 at 12:34 AM, Gregory Vincic <gregory@7de.se> wrote:

>
> On Thu, 17 Oct 2013, Michael Jones wrote:
>
> > Seems to work for me. Could you possible grab the code from github and
> see
> > if it builds for you? Else if you could provide an example of the kind of
> > code which is failing for you, I'll try to track it down.
>
> Actually I'm using a clone of the latest revision already, sorry I can't
> give the complete example code but I can do one better than that. The
> error is caused by if doc string is written like the example below
>
>
> failing.hh
> ---------------------------------------------------------------------------
> /*! \class Failing */
> class Failing {
> public:
>     /** @name Some section .
>      * THIS IS CAUSING THE ERROR, must have an empty star line above
>      *
>      * @{
>      */
>     int getSomething() const; ///< some docs
>     bool isSomething() const; ///< some more docs
>     //@}
> };
>
> ---------------------------------------------------------------------------
>
>
>
>
> > That might be a reasonable fix. I tend to shy away from hasattr style
> > calls. It might be more appropriate to make sure the parsing code is
> > assigning some kind of name to the object. I can't be sure though
> without a
> > bit more investigation.
>
> Agree.
>
> Gregory Vincic
>
>

Re: [breathe] doxygenclass + :members: fails

From:
Michael Jones
Date:
2013-10-17 @ 22:13
Hi,

I'm afraid I am not able to reproduce this issue. Can I ask which version
of Doxygen you are using? Despite what the Breathe readme claims it seems I
am currently using doxygen-1.8.3.1.It seems the latest stable is 1.8.5.

Cheers,
Michael


On Fri, Oct 18, 2013 at 9:36 AM, Michael Jones <m.pricejones@gmail.com>wrote:

> Hi Gregory,
>
> Thanks for the example, that's really useful. I'll try to work through it
> today.
>
> Cheers,
> Michael
>
>
> On Fri, Oct 18, 2013 at 12:34 AM, Gregory Vincic <gregory@7de.se> wrote:
>
>>
>> On Thu, 17 Oct 2013, Michael Jones wrote:
>>
>> > Seems to work for me. Could you possible grab the code from github and
>> see
>> > if it builds for you? Else if you could provide an example of the kind
>> of
>> > code which is failing for you, I'll try to track it down.
>>
>> Actually I'm using a clone of the latest revision already, sorry I can't
>> give the complete example code but I can do one better than that. The
>> error is caused by if doc string is written like the example below
>>
>>
>> failing.hh
>>
>> ---------------------------------------------------------------------------
>> /*! \class Failing */
>> class Failing {
>> public:
>>     /** @name Some section .
>>      * THIS IS CAUSING THE ERROR, must have an empty star line above
>>      *
>>      * @{
>>      */
>>     int getSomething() const; ///< some docs
>>     bool isSomething() const; ///< some more docs
>>     //@}
>> };
>>
>>
>> ---------------------------------------------------------------------------
>>
>>
>>
>>
>> > That might be a reasonable fix. I tend to shy away from hasattr style
>> > calls. It might be more appropriate to make sure the parsing code is
>> > assigning some kind of name to the object. I can't be sure though
>> without a
>> > bit more investigation.
>>
>> Agree.
>>
>> Gregory Vincic
>>
>>
>

Re: [breathe] doxygenclass + :members: fails

From:
Gregory Vincic
Date:
2013-10-18 @ 02:28
On Fri, 18 Oct 2013, Michael Jones wrote:

> I'm afraid I am not able to reproduce this issue. Can I ask which version
> of Doxygen you are using? Despite what the Breathe readme claims it seems I
> am currently using doxygen-1.8.3.1.It seems the latest stable is 1.8.5.

1.8.5 is the one I'm using, maybe it's a combination of my settings for 
doxygen and that particular comment that causes the error. Here are my 
settings


----------------------------------------------------------------------------
# Doxyfile 1.5.0

#---------------------------------------------------------------------------
# Project related configuration options
#---------------------------------------------------------------------------
PROJECT_NAME           =
PROJECT_NUMBER         =
OUTPUT_DIRECTORY       =
CREATE_SUBDIRS         = NO
OUTPUT_LANGUAGE        = English
USE_WINDOWS_ENCODING   = NO
BRIEF_MEMBER_DESC      = YES
REPEAT_BRIEF           = YES
ABBREVIATE_BRIEF       = "The $name class" \
                          "The $name widget" \
                          "The $name file" \
                          is \
                          provides \
                          specifies \
                          contains \
                          represents \
                          a \
                          an \
                          the
ALWAYS_DETAILED_SEC    = NO
INLINE_INHERITED_MEMB  = NO
FULL_PATH_NAMES        = YES
STRIP_FROM_PATH        = ./
STRIP_FROM_INC_PATH    =
SHORT_NAMES            = NO
JAVADOC_AUTOBRIEF      = NO
MULTILINE_CPP_IS_BRIEF = NO
DETAILS_AT_TOP         = NO
INHERIT_DOCS           = YES
SEPARATE_MEMBER_PAGES  = NO
TAB_SIZE               = 8
ALIASES                =
OPTIMIZE_OUTPUT_FOR_C  = NO
OPTIMIZE_OUTPUT_JAVA   = NO
BUILTIN_STL_SUPPORT    = NO
DISTRIBUTE_GROUP_DOC   = NO
SUBGROUPING            = YES
#---------------------------------------------------------------------------
# Build related configuration options
#---------------------------------------------------------------------------
EXTRACT_ALL            = NO
EXTRACT_PRIVATE        = NO
EXTRACT_STATIC         = NO
EXTRACT_LOCAL_CLASSES  = YES
EXTRACT_LOCAL_METHODS  = NO
HIDE_UNDOC_MEMBERS     = NO
HIDE_UNDOC_CLASSES     = NO
HIDE_FRIEND_COMPOUNDS  = NO
HIDE_IN_BODY_DOCS      = NO
INTERNAL_DOCS          = NO
CASE_SENSE_NAMES       = NO
HIDE_SCOPE_NAMES       = NO
SHOW_INCLUDE_FILES     = YES
INLINE_INFO            = YES
SORT_MEMBER_DOCS       = YES
SORT_BRIEF_DOCS        = NO
SORT_BY_SCOPE_NAME     = NO
GENERATE_TODOLIST      = YES
GENERATE_TESTLIST      = YES
GENERATE_BUGLIST       = YES
GENERATE_DEPRECATEDLIST= YES
ENABLED_SECTIONS       =
MAX_INITIALIZER_LINES  = 30
SHOW_USED_FILES        = YES
SHOW_DIRECTORIES       = NO
FILE_VERSION_FILTER    =
#---------------------------------------------------------------------------
# configuration options related to warning and progress messages
#---------------------------------------------------------------------------
QUIET                  = NO
WARNINGS               = YES
WARN_IF_UNDOCUMENTED   = YES
WARN_IF_DOC_ERROR      = YES
WARN_NO_PARAMDOC       = NO
WARN_FORMAT            = "$file:$line: $text"
WARN_LOGFILE           =
#---------------------------------------------------------------------------
# configuration options related to the input files
#---------------------------------------------------------------------------
INPUT_ENCODING         = ISO-8859-1
INPUT                  = ./
FILE_PATTERNS          = dag.hh
RECURSIVE              = NO
EXCLUDE                =
EXCLUDE_SYMLINKS       = YES
EXCLUDE_PATTERNS       =
EXAMPLE_PATH           =
EXAMPLE_PATTERNS       = *
EXAMPLE_RECURSIVE      = NO
IMAGE_PATH             =
INPUT_FILTER           =
FILTER_PATTERNS        =
FILTER_SOURCE_FILES    = NO
#---------------------------------------------------------------------------
# configuration options related to source browsing
#---------------------------------------------------------------------------
SOURCE_BROWSER         = NO
INLINE_SOURCES         = NO
STRIP_CODE_COMMENTS    = YES
REFERENCED_BY_RELATION = YES
REFERENCES_RELATION    = YES
REFERENCES_LINK_SOURCE = YES
USE_HTAGS              = NO
VERBATIM_HEADERS       = YES
#---------------------------------------------------------------------------
# configuration options related to the alphabetical class index
#---------------------------------------------------------------------------
ALPHABETICAL_INDEX     = NO
COLS_IN_ALPHA_INDEX    = 5
IGNORE_PREFIX          =
#---------------------------------------------------------------------------
# configuration options related to the HTML output
#---------------------------------------------------------------------------
GENERATE_HTML          = YES
HTML_OUTPUT            = out/
HTML_FILE_EXTENSION    = .html
HTML_HEADER            =
HTML_FOOTER            =
HTML_STYLESHEET        =
HTML_ALIGN_MEMBERS     = YES
GENERATE_HTMLHELP      = NO
CHM_FILE               =
HHC_LOCATION           =
GENERATE_CHI           = NO
BINARY_TOC             = NO
TOC_EXPAND             = NO
DISABLE_INDEX          = NO
ENUM_VALUES_PER_LINE   = 4
GENERATE_TREEVIEW      = NO
TREEVIEW_WIDTH         = 250
#---------------------------------------------------------------------------
# configuration options related to the LaTeX output
#---------------------------------------------------------------------------
GENERATE_LATEX         = YES
LATEX_OUTPUT           = latex
LATEX_CMD_NAME         = latex
MAKEINDEX_CMD_NAME     = makeindex
COMPACT_LATEX          = NO
PAPER_TYPE             = a4wide
EXTRA_PACKAGES         =
LATEX_HEADER           =
PDF_HYPERLINKS         = NO
USE_PDFLATEX           = NO
LATEX_BATCHMODE        = NO
LATEX_HIDE_INDICES     = NO
#---------------------------------------------------------------------------
# configuration options related to the RTF output
#---------------------------------------------------------------------------
GENERATE_RTF           = NO
RTF_OUTPUT             = rtf
COMPACT_RTF            = NO
RTF_HYPERLINKS         = NO
RTF_STYLESHEET_FILE    =
RTF_EXTENSIONS_FILE    =
#---------------------------------------------------------------------------
# configuration options related to the man page output
#---------------------------------------------------------------------------
GENERATE_MAN           = NO
MAN_OUTPUT             = man
MAN_EXTENSION          = .3
MAN_LINKS              = NO
#---------------------------------------------------------------------------
# configuration options related to the XML output
#---------------------------------------------------------------------------
GENERATE_XML           = YES
XML_OUTPUT             = xml
XML_SCHEMA             =
XML_DTD                =
XML_PROGRAMLISTING     = YES
#---------------------------------------------------------------------------
# configuration options for the AutoGen Definitions output
#---------------------------------------------------------------------------
GENERATE_AUTOGEN_DEF   = NO
#---------------------------------------------------------------------------
# configuration options related to the Perl module output
#---------------------------------------------------------------------------
GENERATE_PERLMOD       = NO
PERLMOD_LATEX          = NO
PERLMOD_PRETTY         = YES
PERLMOD_MAKEVAR_PREFIX =
#---------------------------------------------------------------------------
# Configuration options related to the preprocessor
#---------------------------------------------------------------------------
ENABLE_PREPROCESSING   = YES
MACRO_EXPANSION        = NO
EXPAND_ONLY_PREDEF     = NO
SEARCH_INCLUDES        = YES
INCLUDE_PATH           =
INCLUDE_FILE_PATTERNS  =
PREDEFINED             =
EXPAND_AS_DEFINED      =
SKIP_FUNCTION_MACROS   = YES
#---------------------------------------------------------------------------
# Configuration::additions related to external references
#---------------------------------------------------------------------------
TAGFILES               =
GENERATE_TAGFILE       =
ALLEXTERNALS           = NO
EXTERNAL_GROUPS        = YES
PERL_PATH              = /usr/bin/perl
#---------------------------------------------------------------------------
# Configuration options related to the dot tool
#---------------------------------------------------------------------------
CLASS_DIAGRAMS         = NO
HIDE_UNDOC_RELATIONS   = NO
HAVE_DOT               = NO
CLASS_GRAPH            = NO
COLLABORATION_GRAPH    = NO
GROUP_GRAPHS           = NO
UML_LOOK               = NO
TEMPLATE_RELATIONS     = YES
INCLUDE_GRAPH          = YES
INCLUDED_BY_GRAPH      = YES
CALL_GRAPH             = YES
CALLER_GRAPH           = YES
GRAPHICAL_HIERARCHY    = YES
DIRECTORY_GRAPH        = YES
DOT_IMAGE_FORMAT       = dot
DOT_PATH               = /usr/local/bin
DOTFILE_DIRS           =
MAX_DOT_GRAPH_WIDTH    = 1024
MAX_DOT_GRAPH_HEIGHT   = 1024
MAX_DOT_GRAPH_DEPTH    = 1000
DOT_TRANSPARENT        = NO
DOT_MULTI_TARGETS      = NO
GENERATE_LEGEND        = YES
DOT_CLEANUP            = YES
#---------------------------------------------------------------------------
# Configuration::additions related to the search engine
#---------------------------------------------------------------------------
SEARCHENGINE           = NO

----------------------------------------------------------------------------

Re: [breathe] doxygenclass + :members: fails

From:
Michael Jones
Date:
2013-10-18 @ 03:37
Ah, I'm sorry, I'm a fool. I set up the code but didn't include the
:member: part of the actual directive in the rst file. Sorry for the
trouble, it is failing now.

I will have a closer look.
Michael


On Fri, Oct 18, 2013 at 3:28 PM, Gregory Vincic <gregory@7de.se> wrote:

>
> On Fri, 18 Oct 2013, Michael Jones wrote:
>
> > I'm afraid I am not able to reproduce this issue. Can I ask which version
> > of Doxygen you are using? Despite what the Breathe readme claims it
> seems I
> > am currently using doxygen-1.8.3.1.It seems the latest stable is 1.8.5.
>
> 1.8.5 is the one I'm using, maybe it's a combination of my settings for
> doxygen and that particular comment that causes the error. Here are my
> settings
>
>
>
> ----------------------------------------------------------------------------
> # Doxyfile 1.5.0
>
>
> #---------------------------------------------------------------------------
> # Project related configuration options
>
> #---------------------------------------------------------------------------
> PROJECT_NAME           =
> PROJECT_NUMBER         =
> OUTPUT_DIRECTORY       =
> CREATE_SUBDIRS         = NO
> OUTPUT_LANGUAGE        = English
> USE_WINDOWS_ENCODING   = NO
> BRIEF_MEMBER_DESC      = YES
> REPEAT_BRIEF           = YES
> ABBREVIATE_BRIEF       = "The $name class" \
>                           "The $name widget" \
>                           "The $name file" \
>                           is \
>                           provides \
>                           specifies \
>                           contains \
>                           represents \
>                           a \
>                           an \
>                           the
> ALWAYS_DETAILED_SEC    = NO
> INLINE_INHERITED_MEMB  = NO
> FULL_PATH_NAMES        = YES
> STRIP_FROM_PATH        = ./
> STRIP_FROM_INC_PATH    =
> SHORT_NAMES            = NO
> JAVADOC_AUTOBRIEF      = NO
> MULTILINE_CPP_IS_BRIEF = NO
> DETAILS_AT_TOP         = NO
> INHERIT_DOCS           = YES
> SEPARATE_MEMBER_PAGES  = NO
> TAB_SIZE               = 8
> ALIASES                =
> OPTIMIZE_OUTPUT_FOR_C  = NO
> OPTIMIZE_OUTPUT_JAVA   = NO
> BUILTIN_STL_SUPPORT    = NO
> DISTRIBUTE_GROUP_DOC   = NO
> SUBGROUPING            = YES
>
> #---------------------------------------------------------------------------
> # Build related configuration options
>
> #---------------------------------------------------------------------------
> EXTRACT_ALL            = NO
> EXTRACT_PRIVATE        = NO
> EXTRACT_STATIC         = NO
> EXTRACT_LOCAL_CLASSES  = YES
> EXTRACT_LOCAL_METHODS  = NO
> HIDE_UNDOC_MEMBERS     = NO
> HIDE_UNDOC_CLASSES     = NO
> HIDE_FRIEND_COMPOUNDS  = NO
> HIDE_IN_BODY_DOCS      = NO
> INTERNAL_DOCS          = NO
> CASE_SENSE_NAMES       = NO
> HIDE_SCOPE_NAMES       = NO
> SHOW_INCLUDE_FILES     = YES
> INLINE_INFO            = YES
> SORT_MEMBER_DOCS       = YES
> SORT_BRIEF_DOCS        = NO
> SORT_BY_SCOPE_NAME     = NO
> GENERATE_TODOLIST      = YES
> GENERATE_TESTLIST      = YES
> GENERATE_BUGLIST       = YES
> GENERATE_DEPRECATEDLIST= YES
> ENABLED_SECTIONS       =
> MAX_INITIALIZER_LINES  = 30
> SHOW_USED_FILES        = YES
> SHOW_DIRECTORIES       = NO
> FILE_VERSION_FILTER    =
>
> #---------------------------------------------------------------------------
> # configuration options related to warning and progress messages
>
> #---------------------------------------------------------------------------
> QUIET                  = NO
> WARNINGS               = YES
> WARN_IF_UNDOCUMENTED   = YES
> WARN_IF_DOC_ERROR      = YES
> WARN_NO_PARAMDOC       = NO
> WARN_FORMAT            = "$file:$line: $text"
> WARN_LOGFILE           =
>
> #---------------------------------------------------------------------------
> # configuration options related to the input files
>
> #---------------------------------------------------------------------------
> INPUT_ENCODING         = ISO-8859-1
> INPUT                  = ./
> FILE_PATTERNS          = dag.hh
> RECURSIVE              = NO
> EXCLUDE                =
> EXCLUDE_SYMLINKS       = YES
> EXCLUDE_PATTERNS       =
> EXAMPLE_PATH           =
> EXAMPLE_PATTERNS       = *
> EXAMPLE_RECURSIVE      = NO
> IMAGE_PATH             =
> INPUT_FILTER           =
> FILTER_PATTERNS        =
> FILTER_SOURCE_FILES    = NO
>
> #---------------------------------------------------------------------------
> # configuration options related to source browsing
>
> #---------------------------------------------------------------------------
> SOURCE_BROWSER         = NO
> INLINE_SOURCES         = NO
> STRIP_CODE_COMMENTS    = YES
> REFERENCED_BY_RELATION = YES
> REFERENCES_RELATION    = YES
> REFERENCES_LINK_SOURCE = YES
> USE_HTAGS              = NO
> VERBATIM_HEADERS       = YES
>
> #---------------------------------------------------------------------------
> # configuration options related to the alphabetical class index
>
> #---------------------------------------------------------------------------
> ALPHABETICAL_INDEX     = NO
> COLS_IN_ALPHA_INDEX    = 5
> IGNORE_PREFIX          =
>
> #---------------------------------------------------------------------------
> # configuration options related to the HTML output
>
> #---------------------------------------------------------------------------
> GENERATE_HTML          = YES
> HTML_OUTPUT            = out/
> HTML_FILE_EXTENSION    = .html
> HTML_HEADER            =
> HTML_FOOTER            =
> HTML_STYLESHEET        =
> HTML_ALIGN_MEMBERS     = YES
> GENERATE_HTMLHELP      = NO
> CHM_FILE               =
> HHC_LOCATION           =
> GENERATE_CHI           = NO
> BINARY_TOC             = NO
> TOC_EXPAND             = NO
> DISABLE_INDEX          = NO
> ENUM_VALUES_PER_LINE   = 4
> GENERATE_TREEVIEW      = NO
> TREEVIEW_WIDTH         = 250
>
> #---------------------------------------------------------------------------
> # configuration options related to the LaTeX output
>
> #---------------------------------------------------------------------------
> GENERATE_LATEX         = YES
> LATEX_OUTPUT           = latex
> LATEX_CMD_NAME         = latex
> MAKEINDEX_CMD_NAME     = makeindex
> COMPACT_LATEX          = NO
> PAPER_TYPE             = a4wide
> EXTRA_PACKAGES         =
> LATEX_HEADER           =
> PDF_HYPERLINKS         = NO
> USE_PDFLATEX           = NO
> LATEX_BATCHMODE        = NO
> LATEX_HIDE_INDICES     = NO
>
> #---------------------------------------------------------------------------
> # configuration options related to the RTF output
>
> #---------------------------------------------------------------------------
> GENERATE_RTF           = NO
> RTF_OUTPUT             = rtf
> COMPACT_RTF            = NO
> RTF_HYPERLINKS         = NO
> RTF_STYLESHEET_FILE    =
> RTF_EXTENSIONS_FILE    =
>
> #---------------------------------------------------------------------------
> # configuration options related to the man page output
>
> #---------------------------------------------------------------------------
> GENERATE_MAN           = NO
> MAN_OUTPUT             = man
> MAN_EXTENSION          = .3
> MAN_LINKS              = NO
>
> #---------------------------------------------------------------------------
> # configuration options related to the XML output
>
> #---------------------------------------------------------------------------
> GENERATE_XML           = YES
> XML_OUTPUT             = xml
> XML_SCHEMA             =
> XML_DTD                =
> XML_PROGRAMLISTING     = YES
>
> #---------------------------------------------------------------------------
> # configuration options for the AutoGen Definitions output
>
> #---------------------------------------------------------------------------
> GENERATE_AUTOGEN_DEF   = NO
>
> #---------------------------------------------------------------------------
> # configuration options related to the Perl module output
>
> #---------------------------------------------------------------------------
> GENERATE_PERLMOD       = NO
> PERLMOD_LATEX          = NO
> PERLMOD_PRETTY         = YES
> PERLMOD_MAKEVAR_PREFIX =
>
> #---------------------------------------------------------------------------
> # Configuration options related to the preprocessor
>
> #---------------------------------------------------------------------------
> ENABLE_PREPROCESSING   = YES
> MACRO_EXPANSION        = NO
> EXPAND_ONLY_PREDEF     = NO
> SEARCH_INCLUDES        = YES
> INCLUDE_PATH           =
> INCLUDE_FILE_PATTERNS  =
> PREDEFINED             =
> EXPAND_AS_DEFINED      =
> SKIP_FUNCTION_MACROS   = YES
>
> #---------------------------------------------------------------------------
> # Configuration::additions related to external references
>
> #---------------------------------------------------------------------------
> TAGFILES               =
> GENERATE_TAGFILE       =
> ALLEXTERNALS           = NO
> EXTERNAL_GROUPS        = YES
> PERL_PATH              = /usr/bin/perl
>
> #---------------------------------------------------------------------------
> # Configuration options related to the dot tool
>
> #---------------------------------------------------------------------------
> CLASS_DIAGRAMS         = NO
> HIDE_UNDOC_RELATIONS   = NO
> HAVE_DOT               = NO
> CLASS_GRAPH            = NO
> COLLABORATION_GRAPH    = NO
> GROUP_GRAPHS           = NO
> UML_LOOK               = NO
> TEMPLATE_RELATIONS     = YES
> INCLUDE_GRAPH          = YES
> INCLUDED_BY_GRAPH      = YES
> CALL_GRAPH             = YES
> CALLER_GRAPH           = YES
> GRAPHICAL_HIERARCHY    = YES
> DIRECTORY_GRAPH        = YES
> DOT_IMAGE_FORMAT       = dot
> DOT_PATH               = /usr/local/bin
> DOTFILE_DIRS           =
> MAX_DOT_GRAPH_WIDTH    = 1024
> MAX_DOT_GRAPH_HEIGHT   = 1024
> MAX_DOT_GRAPH_DEPTH    = 1000
> DOT_TRANSPARENT        = NO
> DOT_MULTI_TARGETS      = NO
> GENERATE_LEGEND        = YES
> DOT_CLEANUP            = YES
>
> #---------------------------------------------------------------------------
> # Configuration::additions related to the search engine
>
> #---------------------------------------------------------------------------
> SEARCHENGINE           = NO
>
>
> ----------------------------------------------------------------------------
>

Re: [breathe] doxygenclass + :members: fails

From:
Michael Jones
Date:
2013-10-18 @ 04:15
Hi,

I've pushed a fix on the members branch in the git repository. Could you
possibly give it a go and see if it helps?

Cheers,
Michael


On Fri, Oct 18, 2013 at 4:37 PM, Michael Jones <m.pricejones@gmail.com>wrote:

> Ah, I'm sorry, I'm a fool. I set up the code but didn't include the
> :member: part of the actual directive in the rst file. Sorry for the
> trouble, it is failing now.
>
> I will have a closer look.
> Michael
>
>
> On Fri, Oct 18, 2013 at 3:28 PM, Gregory Vincic <gregory@7de.se> wrote:
>
>>
>> On Fri, 18 Oct 2013, Michael Jones wrote:
>>
>> > I'm afraid I am not able to reproduce this issue. Can I ask which
>> version
>> > of Doxygen you are using? Despite what the Breathe readme claims it
>> seems I
>> > am currently using doxygen-1.8.3.1.It seems the latest stable is 1.8.5.
>>
>> 1.8.5 is the one I'm using, maybe it's a combination of my settings for
>> doxygen and that particular comment that causes the error. Here are my
>> settings
>>
>>
>>
>> ----------------------------------------------------------------------------
>> # Doxyfile 1.5.0
>>
>>
>> #---------------------------------------------------------------------------
>> # Project related configuration options
>>
>> #---------------------------------------------------------------------------
>> PROJECT_NAME           =
>> PROJECT_NUMBER         =
>> OUTPUT_DIRECTORY       =
>> CREATE_SUBDIRS         = NO
>> OUTPUT_LANGUAGE        = English
>> USE_WINDOWS_ENCODING   = NO
>> BRIEF_MEMBER_DESC      = YES
>> REPEAT_BRIEF           = YES
>> ABBREVIATE_BRIEF       = "The $name class" \
>>                           "The $name widget" \
>>                           "The $name file" \
>>                           is \
>>                           provides \
>>                           specifies \
>>                           contains \
>>                           represents \
>>                           a \
>>                           an \
>>                           the
>> ALWAYS_DETAILED_SEC    = NO
>> INLINE_INHERITED_MEMB  = NO
>> FULL_PATH_NAMES        = YES
>> STRIP_FROM_PATH        = ./
>> STRIP_FROM_INC_PATH    =
>> SHORT_NAMES            = NO
>> JAVADOC_AUTOBRIEF      = NO
>> MULTILINE_CPP_IS_BRIEF = NO
>> DETAILS_AT_TOP         = NO
>> INHERIT_DOCS           = YES
>> SEPARATE_MEMBER_PAGES  = NO
>> TAB_SIZE               = 8
>> ALIASES                =
>> OPTIMIZE_OUTPUT_FOR_C  = NO
>> OPTIMIZE_OUTPUT_JAVA   = NO
>> BUILTIN_STL_SUPPORT    = NO
>> DISTRIBUTE_GROUP_DOC   = NO
>> SUBGROUPING            = YES
>>
>> #---------------------------------------------------------------------------
>> # Build related configuration options
>>
>> #---------------------------------------------------------------------------
>> EXTRACT_ALL            = NO
>> EXTRACT_PRIVATE        = NO
>> EXTRACT_STATIC         = NO
>> EXTRACT_LOCAL_CLASSES  = YES
>> EXTRACT_LOCAL_METHODS  = NO
>> HIDE_UNDOC_MEMBERS     = NO
>> HIDE_UNDOC_CLASSES     = NO
>> HIDE_FRIEND_COMPOUNDS  = NO
>> HIDE_IN_BODY_DOCS      = NO
>> INTERNAL_DOCS          = NO
>> CASE_SENSE_NAMES       = NO
>> HIDE_SCOPE_NAMES       = NO
>> SHOW_INCLUDE_FILES     = YES
>> INLINE_INFO            = YES
>> SORT_MEMBER_DOCS       = YES
>> SORT_BRIEF_DOCS        = NO
>> SORT_BY_SCOPE_NAME     = NO
>> GENERATE_TODOLIST      = YES
>> GENERATE_TESTLIST      = YES
>> GENERATE_BUGLIST       = YES
>> GENERATE_DEPRECATEDLIST= YES
>> ENABLED_SECTIONS       =
>> MAX_INITIALIZER_LINES  = 30
>> SHOW_USED_FILES        = YES
>> SHOW_DIRECTORIES       = NO
>> FILE_VERSION_FILTER    =
>>
>> #---------------------------------------------------------------------------
>> # configuration options related to warning and progress messages
>>
>> #---------------------------------------------------------------------------
>> QUIET                  = NO
>> WARNINGS               = YES
>> WARN_IF_UNDOCUMENTED   = YES
>> WARN_IF_DOC_ERROR      = YES
>> WARN_NO_PARAMDOC       = NO
>> WARN_FORMAT            = "$file:$line: $text"
>> WARN_LOGFILE           =
>>
>> #---------------------------------------------------------------------------
>> # configuration options related to the input files
>>
>> #---------------------------------------------------------------------------
>> INPUT_ENCODING         = ISO-8859-1
>> INPUT                  = ./
>> FILE_PATTERNS          = dag.hh
>> RECURSIVE              = NO
>> EXCLUDE                =
>> EXCLUDE_SYMLINKS       = YES
>> EXCLUDE_PATTERNS       =
>> EXAMPLE_PATH           =
>> EXAMPLE_PATTERNS       = *
>> EXAMPLE_RECURSIVE      = NO
>> IMAGE_PATH             =
>> INPUT_FILTER           =
>> FILTER_PATTERNS        =
>> FILTER_SOURCE_FILES    = NO
>>
>> #---------------------------------------------------------------------------
>> # configuration options related to source browsing
>>
>> #---------------------------------------------------------------------------
>> SOURCE_BROWSER         = NO
>> INLINE_SOURCES         = NO
>> STRIP_CODE_COMMENTS    = YES
>> REFERENCED_BY_RELATION = YES
>> REFERENCES_RELATION    = YES
>> REFERENCES_LINK_SOURCE = YES
>> USE_HTAGS              = NO
>> VERBATIM_HEADERS       = YES
>>
>> #---------------------------------------------------------------------------
>> # configuration options related to the alphabetical class index
>>
>> #---------------------------------------------------------------------------
>> ALPHABETICAL_INDEX     = NO
>> COLS_IN_ALPHA_INDEX    = 5
>> IGNORE_PREFIX          =
>>
>> #---------------------------------------------------------------------------
>> # configuration options related to the HTML output
>>
>> #---------------------------------------------------------------------------
>> GENERATE_HTML          = YES
>> HTML_OUTPUT            = out/
>> HTML_FILE_EXTENSION    = .html
>> HTML_HEADER            =
>> HTML_FOOTER            =
>> HTML_STYLESHEET        =
>> HTML_ALIGN_MEMBERS     = YES
>> GENERATE_HTMLHELP      = NO
>> CHM_FILE               =
>> HHC_LOCATION           =
>> GENERATE_CHI           = NO
>> BINARY_TOC             = NO
>> TOC_EXPAND             = NO
>> DISABLE_INDEX          = NO
>> ENUM_VALUES_PER_LINE   = 4
>> GENERATE_TREEVIEW      = NO
>> TREEVIEW_WIDTH         = 250
>>
>> #---------------------------------------------------------------------------
>> # configuration options related to the LaTeX output
>>
>> #---------------------------------------------------------------------------
>> GENERATE_LATEX         = YES
>> LATEX_OUTPUT           = latex
>> LATEX_CMD_NAME         = latex
>> MAKEINDEX_CMD_NAME     = makeindex
>> COMPACT_LATEX          = NO
>> PAPER_TYPE             = a4wide
>> EXTRA_PACKAGES         =
>> LATEX_HEADER           =
>> PDF_HYPERLINKS         = NO
>> USE_PDFLATEX           = NO
>> LATEX_BATCHMODE        = NO
>> LATEX_HIDE_INDICES     = NO
>>
>> #---------------------------------------------------------------------------
>> # configuration options related to the RTF output
>>
>> #---------------------------------------------------------------------------
>> GENERATE_RTF           = NO
>> RTF_OUTPUT             = rtf
>> COMPACT_RTF            = NO
>> RTF_HYPERLINKS         = NO
>> RTF_STYLESHEET_FILE    =
>> RTF_EXTENSIONS_FILE    =
>>
>> #---------------------------------------------------------------------------
>> # configuration options related to the man page output
>>
>> #---------------------------------------------------------------------------
>> GENERATE_MAN           = NO
>> MAN_OUTPUT             = man
>> MAN_EXTENSION          = .3
>> MAN_LINKS              = NO
>>
>> #---------------------------------------------------------------------------
>> # configuration options related to the XML output
>>
>> #---------------------------------------------------------------------------
>> GENERATE_XML           = YES
>> XML_OUTPUT             = xml
>> XML_SCHEMA             =
>> XML_DTD                =
>> XML_PROGRAMLISTING     = YES
>>
>> #---------------------------------------------------------------------------
>> # configuration options for the AutoGen Definitions output
>>
>> #---------------------------------------------------------------------------
>> GENERATE_AUTOGEN_DEF   = NO
>>
>> #---------------------------------------------------------------------------
>> # configuration options related to the Perl module output
>>
>> #---------------------------------------------------------------------------
>> GENERATE_PERLMOD       = NO
>> PERLMOD_LATEX          = NO
>> PERLMOD_PRETTY         = YES
>> PERLMOD_MAKEVAR_PREFIX =
>>
>> #---------------------------------------------------------------------------
>> # Configuration options related to the preprocessor
>>
>> #---------------------------------------------------------------------------
>> ENABLE_PREPROCESSING   = YES
>> MACRO_EXPANSION        = NO
>> EXPAND_ONLY_PREDEF     = NO
>> SEARCH_INCLUDES        = YES
>> INCLUDE_PATH           =
>> INCLUDE_FILE_PATTERNS  =
>> PREDEFINED             =
>> EXPAND_AS_DEFINED      =
>> SKIP_FUNCTION_MACROS   = YES
>>
>> #---------------------------------------------------------------------------
>> # Configuration::additions related to external references
>>
>> #---------------------------------------------------------------------------
>> TAGFILES               =
>> GENERATE_TAGFILE       =
>> ALLEXTERNALS           = NO
>> EXTERNAL_GROUPS        = YES
>> PERL_PATH              = /usr/bin/perl
>>
>> #---------------------------------------------------------------------------
>> # Configuration options related to the dot tool
>>
>> #---------------------------------------------------------------------------
>> CLASS_DIAGRAMS         = NO
>> HIDE_UNDOC_RELATIONS   = NO
>> HAVE_DOT               = NO
>> CLASS_GRAPH            = NO
>> COLLABORATION_GRAPH    = NO
>> GROUP_GRAPHS           = NO
>> UML_LOOK               = NO
>> TEMPLATE_RELATIONS     = YES
>> INCLUDE_GRAPH          = YES
>> INCLUDED_BY_GRAPH      = YES
>> CALL_GRAPH             = YES
>> CALLER_GRAPH           = YES
>> GRAPHICAL_HIERARCHY    = YES
>> DIRECTORY_GRAPH        = YES
>> DOT_IMAGE_FORMAT       = dot
>> DOT_PATH               = /usr/local/bin
>> DOTFILE_DIRS           =
>> MAX_DOT_GRAPH_WIDTH    = 1024
>> MAX_DOT_GRAPH_HEIGHT   = 1024
>> MAX_DOT_GRAPH_DEPTH    = 1000
>> DOT_TRANSPARENT        = NO
>> DOT_MULTI_TARGETS      = NO
>> GENERATE_LEGEND        = YES
>> DOT_CLEANUP            = YES
>>
>> #---------------------------------------------------------------------------
>> # Configuration::additions related to the search engine
>>
>> #---------------------------------------------------------------------------
>> SEARCHENGINE           = NO
>>
>>
>> ----------------------------------------------------------------------------
>>
>
>

Re: [breathe] doxygenclass + :members: fails

From:
Gregory Vincic
Date:
2013-10-18 @ 05:00
On Fri, 18 Oct 2013, Michael Jones wrote:

> I've pushed a fix on the members branch in the git repository. Could you
> possibly give it a go and see if it helps?

The members branch also fails on the "Failing.hh" example. Veryfied it by 
switching back and forth between the quick fix I made in the master branch 
and the members branch.


Gregory

Re: [breathe] doxygenclass + :members: fails

From:
Michael Jones
Date:
2013-10-18 @ 06:08
Sorry to hear that, could you possibly send the class_failing.xml file
through from the doxygen xml output so I can check it against what I am
generating? I'll also attempt to update my local doxygen to match yours in
case there are any changes.

And possibly the stacktrace again from your run on the current members
branch?

Cheers,
Michael


On Fri, Oct 18, 2013 at 6:00 PM, Gregory Vincic <gregory@7de.se> wrote:

> On Fri, 18 Oct 2013, Michael Jones wrote:
>
> > I've pushed a fix on the members branch in the git repository. Could you
> > possibly give it a go and see if it helps?
>
> The members branch also fails on the "Failing.hh" example. Veryfied it by
> switching back and forth between the quick fix I made in the master branch
> and the members branch.
>
>
> Gregory
>

Re: [breathe] doxygenclass + :members: fails

From:
Gregory Vincic
Date:
2013-10-18 @ 06:16
On Fri, 18 Oct 2013, Michael Jones wrote:

> Sorry to hear that, could you possibly send the class_failing.xml file
> through from the doxygen xml output so I can check it against what I am
> generating?

See attachement: class_failing.xml


> And possibly the stacktrace again from your run on the current members
> branch?

See attachement: stacktrace.log


/Gregory

Re: [breathe] doxygenclass + :members: fails

From:
Michael Jones
Date:
2013-10-18 @ 06:30
Hi,

Sorry to be awkward, but I don't think you're picking up the right code
there. I totally could be wrong. I've made plenty of mistakes already :)
but the *self.second_filter.allow* call should now be on line 182 as I
somewhat bizarrely removed the padding line above it on the members branch.
My stacktrace (if I slightly break my fix) hits line 182 and hits it twice
due to the addition OrFilter which has been introduced. Yours hits it once
and at 183.

I might be reading it wrong though. Sorry if I am. Otherwise, our xml files
look very similar and my local test appears to work if I copy your file
over mine, so not much happening there.

Sorry this is dragging out a bit!
Michael


On Fri, Oct 18, 2013 at 7:16 PM, Gregory Vincic <gregory@7de.se> wrote:

> On Fri, 18 Oct 2013, Michael Jones wrote:
>
>  Sorry to hear that, could you possibly send the class_failing.xml file
>> through from the doxygen xml output so I can check it against what I am
>> generating?
>>
>
> See attachement: class_failing.xml
>
>
>
>  And possibly the stacktrace again from your run on the current members
>> branch?
>>
>
> See attachement: stacktrace.log
>
>
> /Gregory
> # Sphinx version: 1.2b3
> # Python version: 2.7.5
> # Docutils version: 0.11 release
> # Jinja2 version: 2.7.1
> # Loaded extensions:
> #   breathe from /Users/gregory/breathe-members/breathe/__init__.pyc
> #   sphinx.ext.autodoc from
> 
/var/virtual_envs/work/lib/python2.7/site-packages/Sphinx-1.2b3-py2.7.egg/sphinx/ext/autodoc.pyc
> #   sphinx.ext.coverage from
> 
/var/virtual_envs/work/lib/python2.7/site-packages/Sphinx-1.2b3-py2.7.egg/sphinx/ext/coverage.pyc
> #   sphinx.ext.pngmath from
> 
/var/virtual_envs/work/lib/python2.7/site-packages/Sphinx-1.2b3-py2.7.egg/sphinx/ext/pngmath.pyc
> #   sphinx.ext.ifconfig from
> 
/var/virtual_envs/work/lib/python2.7/site-packages/Sphinx-1.2b3-py2.7.egg/sphinx/ext/ifconfig.pyc
> #   sphinx.ext.oldcmarkup from
> 
/var/virtual_envs/work/lib/python2.7/site-packages/Sphinx-1.2b3-py2.7.egg/sphinx/ext/oldcmarkup.pyc
> Traceback (most recent call last):
>   File
> 
"/var/virtual_envs/work/lib/python2.7/site-packages/Sphinx-1.2b3-py2.7.egg/sphinx/cmdline.py",
> line 246, in main
>     app.build(force_all, filenames)
>   File
> 
"/var/virtual_envs/work/lib/python2.7/site-packages/Sphinx-1.2b3-py2.7.egg/sphinx/application.py",
> line 212, in build
>     self.builder.build_update()
>   File
> 
"/var/virtual_envs/work/lib/python2.7/site-packages/Sphinx-1.2b3-py2.7.egg/sphinx/builders/__init__.py",
> line 214, in build_update
>     'out of date' % len(to_build))
>   File
> 
"/var/virtual_envs/work/lib/python2.7/site-packages/Sphinx-1.2b3-py2.7.egg/sphinx/builders/__init__.py",
> line 234, in build
>     purple, length):
>   File
> 
"/var/virtual_envs/work/lib/python2.7/site-packages/Sphinx-1.2b3-py2.7.egg/sphinx/builders/__init__.py",
> line 134, in status_iterator
>     for item in iterable:
>   File
> 
"/var/virtual_envs/work/lib/python2.7/site-packages/Sphinx-1.2b3-py2.7.egg/sphinx/environment.py",
> line 470, in update_generator
>     self.read_doc(docname, app=app)
>   File
> 
"/var/virtual_envs/work/lib/python2.7/site-packages/Sphinx-1.2b3-py2.7.egg/sphinx/environment.py",
> line 618, in read_doc
>     pub.publish()
>   File
> 
"/var/virtual_envs/work/lib/python2.7/site-packages/docutils-0.11-py2.7.egg/docutils/core.py",
> line 217, in publish
>     self.settings)
>   File
> 
"/var/virtual_envs/work/lib/python2.7/site-packages/docutils-0.11-py2.7.egg/docutils/readers/__init__.py",
> line 72, in read
>     self.parse()
>   File
> 
"/var/virtual_envs/work/lib/python2.7/site-packages/docutils-0.11-py2.7.egg/docutils/readers/__init__.py",
> line 78, in parse
>     self.parser.parse(self.input, document)
>   File
> 
"/var/virtual_envs/work/lib/python2.7/site-packages/docutils-0.11-py2.7.egg/docutils/parsers/rst/__init__.py",
> line 172, in parse
>     self.statemachine.run(inputlines, document, inliner=self.inliner)
>   File
> 
"/var/virtual_envs/work/lib/python2.7/site-packages/docutils-0.11-py2.7.egg/docutils/parsers/rst/states.py",
> line 170, in run
>     input_source=document['source'])
>   File
> 
"/var/virtual_envs/work/lib/python2.7/site-packages/docutils-0.11-py2.7.egg/docutils/statemachine.py",
> line 239, in run
>     context, state, transitions)
>   File
> 
"/var/virtual_envs/work/lib/python2.7/site-packages/docutils-0.11-py2.7.egg/docutils/statemachine.py",
> line 460, in check_line
>     return method(match, context, next_state)
>   File
> 
"/var/virtual_envs/work/lib/python2.7/site-packages/docutils-0.11-py2.7.egg/docutils/parsers/rst/states.py",
> line 2726, in underline
>     self.section(title, source, style, lineno - 1, messages)
>   File
> 
"/var/virtual_envs/work/lib/python2.7/site-packages/docutils-0.11-py2.7.egg/docutils/parsers/rst/states.py",
> line 327, in section
>     self.new_subsection(title, lineno, messages)
>   File
> 
"/var/virtual_envs/work/lib/python2.7/site-packages/docutils-0.11-py2.7.egg/docutils/parsers/rst/states.py",
> line 395, in new_subsection
>     node=section_node, match_titles=True)
>   File
> 
"/var/virtual_envs/work/lib/python2.7/site-packages/docutils-0.11-py2.7.egg/docutils/parsers/rst/states.py",
> line 282, in nested_parse
>     node=node, match_titles=match_titles)
>   File
> 
"/var/virtual_envs/work/lib/python2.7/site-packages/docutils-0.11-py2.7.egg/docutils/parsers/rst/states.py",
> line 195, in run
>     results = StateMachineWS.run(self, input_lines, input_offset)
>   File
> 
"/var/virtual_envs/work/lib/python2.7/site-packages/docutils-0.11-py2.7.egg/docutils/statemachine.py",
> line 239, in run
>     context, state, transitions)
>   File
> 
"/var/virtual_envs/work/lib/python2.7/site-packages/docutils-0.11-py2.7.egg/docutils/statemachine.py",
> line 460, in check_line
>     return method(match, context, next_state)
>   File
> 
"/var/virtual_envs/work/lib/python2.7/site-packages/docutils-0.11-py2.7.egg/docutils/parsers/rst/states.py",
> line 2299, in explicit_markup
>     nodelist, blank_finish = self.explicit_construct(match)
>   File
> 
"/var/virtual_envs/work/lib/python2.7/site-packages/docutils-0.11-py2.7.egg/docutils/parsers/rst/states.py",
> line 2311, in explicit_construct
>     return method(self, expmatch)
>   File
> 
"/var/virtual_envs/work/lib/python2.7/site-packages/docutils-0.11-py2.7.egg/docutils/parsers/rst/states.py",
> line 2054, in directive
>     directive_class, match, type_name, option_presets)
>   File
> 
"/var/virtual_envs/work/lib/python2.7/site-packages/docutils-0.11-py2.7.egg/docutils/parsers/rst/states.py",
> line 2103, in run_directive
>     result = directive_instance.run()
>   File "/Users/gregory/breathe-members/breathe/directives.py", line 331,
> in run
>     node_list = object_renderer.render()
>   File
> "/Users/gregory/breathe-members/breathe/renderer/rst/doxygen/index.py",
> line 101, in render
>     nodelist.extend(data_renderer.render())
>   File
> "/Users/gregory/breathe-members/breathe/renderer/rst/doxygen/compound.py",
> line 8, in render
>     nodelist = compound_renderer.render()
>   File
> "/Users/gregory/breathe-members/breathe/renderer/rst/doxygen/compound.py",
> line 72, in render
>     subnodes = renderer.render()
>   File
> "/Users/gregory/breathe-members/breathe/renderer/rst/doxygen/compound.py",
> line 144, in render
>     renderer = self.renderer_factory.create_renderer(self.data_object,
> self.data_object.description)
>   File
> "/Users/gregory/breathe-members/breathe/renderer/rst/doxygen/__init__.py",
> line 95, in create_renderer
>     if not self.filter_.allow(parent_data_object, data_object):
>   File
> "/Users/gregory/breathe-members/breathe/renderer/rst/doxygen/filter.py",
> line 170, in allow
>     return self.first_filter.allow(parent_data_object, child_data_object) \
>   File
> "/Users/gregory/breathe-members/breathe/renderer/rst/doxygen/filter.py",
> line 183, in allow
>     or self.second_filter.allow(parent_data_object, child_data_object)
>   File
> "/Users/gregory/breathe-members/breathe/renderer/rst/doxygen/filter.py",
> line 76, in allow
>     name = self.accessor(parent_data_object, child_data_object)
>   File
> "/Users/gregory/breathe-members/breathe/renderer/rst/doxygen/filter.py",
> line 24, in __call__
>     return self.selecter(parent_data_object, child_data_object).name
> AttributeError: descriptionTypeSub instance has no attribute 'name'
>
>

Re: [breathe] doxygenclass + :members: fails

From:
Gregory Vincic
Date:
2013-10-18 @ 06:45
On Fri, 18 Oct 2013, Michael Jones wrote:

> Sorry to be awkward, but I don't think you're picking up the right code
> there. I totally could be wrong. I've made plenty of mistakes already :)

This one is on me Michael. Apparently browsing the branch on github and 
hitting 'Clone on Desktop' clones the master and not the branch :-)

Cloned the members correctly and the error is gone. Great work!

/Gregory

Re: [breathe] doxygenclass + :members: fails

From:
Michael Jones
Date:
2013-10-18 @ 06:50
Cool :) A relief as I had no idea what to try next!

Thanks for giving Breathe a go, I hope it plays nicely with the rest of
your code and thanks for taking the time to report the issue and help me
chase it.

Michael


On Fri, Oct 18, 2013 at 7:45 PM, Gregory Vincic <gregory@7de.se> wrote:

> On Fri, 18 Oct 2013, Michael Jones wrote:
>
> > Sorry to be awkward, but I don't think you're picking up the right code
> > there. I totally could be wrong. I've made plenty of mistakes already :)
>
> This one is on me Michael. Apparently browsing the branch on github and
> hitting 'Clone on Desktop' clones the master and not the branch :-)
>
> Cloned the members correctly and the error is gone. Great work!
>
> /Gregory
>
>

Re: [breathe] doxygenclass + :members: fails

From:
Gregory Vincic
Date:
2013-10-18 @ 09:03
On Fri, 18 Oct 2013, Michael Jones wrote:

> Cool :) A relief as I had no idea what to try next!
>
> Thanks for giving Breathe a go, I hope it plays nicely with the rest of
> your code and thanks for taking the time to report the issue and help me
> chase it.

No problem, keep up the good work.

/Gregory