← Back to team overview

dolfin team mailing list archive

Re: buildbot failure in FEniCS Buildbot on dolfin-jaunty-amd64

 

On Thursday October 7 2010 13:06:22 Kristian Ølgaard wrote:
> This bug should be fixed now. It was introduced when commenting the line:
> 
> //%feature("autodoc", "1");
> 
> in dolfin/swig/dolfin.i
> 
> I did this to avoid the Swig generated docstring signatures which make
> Sphinx unhappy, formatting issues, when building the programmer's
> reference in fenics-docs.
> 
> For some reason the class extensions in the *_post.i files where not
> added to the cpp.py module by Swig if the 'autodoc' line was absent.
> However, by adding lines like:

This does not make sense. I tested on my computer and the _pre and _post files 
get included. 

The trouble with the buildbot is that it is not happy with extending classes 
using double underscore attributes. This is not a problem when the method is 
added to the Python proxy in cpp.py, as it is when an automatic docstring is 
added. But when these are turned off it gets added using:

  Progress.__set = new_instancemethod(_cpp.Progress___set,None,Progress)

it seems like the Python interpreter get confused and cannot find the 
"private" attribute of __set in this case.

Changing __set to _set in log_post.i fixed the problem.

> %feature("docstring") dolfin::Array::array "Missing docstring";
> 
> before the extensions the problem disappeared.

I guess I can revert these changes, or do you need them for other stuff?

Johan

> Kristian
> 
> On 7 October 2010 01:51,  <buildbot@xxxxxxxxxx> wrote:
> > The Buildbot has detected a new failure of dolfin-jaunty-amd64 on FEniCS
> > Buildbot. Full details are available at:
> >  http://fenicsproject.org:8080/builders/dolfin-jaunty-amd64/builds/977
> > 
> > Buildbot URL: http://fenicsproject.org:8080/
> > 
> > Buildslave for this Build: jaunty-amd64
> > 
> > Build Reason:
> > Build Source Stamp: HEAD
> > Blamelist: Kristian B. =C3=98lgaard
> > 
> > BUILD FAILED: failed dolfin check
> > 
> > sincerely,
> >  -The Buildbot
> > 
> > 
> > _______________________________________________
> > Mailing list: https://launchpad.net/~dolfin
> > Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~dolfin
> > More help   : https://help.launchpad.net/ListHelp
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help   : https://help.launchpad.net/ListHelp



Follow ups

References