← Back to team overview

dolfin team mailing list archive

Re: Problems after shared_ptr patch

 

On Tuesday 13 January 2009 23:02:40 Anders Logg wrote:
> On Tue, Jan 13, 2009 at 10:32:36PM +0100, Johan Hake wrote:
> > On Tuesday 13 January 2009 22:20:19 Anders Logg wrote:
> > > It still doesn't work for me. Now it breaks earlier:
> >
> > Looks like the buildbot is haveing the same problems.
> >
> > Have you removed your old ufc/ installation? Also if an old version of
> > ufc/ resides in your ufc/build directory it will be reinstalled if you
> > have removed it earlier.
> >
> > If this is does not solve the problem, maybee you can try to:
> >
> >   cd ~/.instant/cache
> >   ipython
> >   import form_126ab72e63bbe3e5a4773c65847745e2d844021b
> >
> > and report the error message.
> >
> > Maybe this error message could be added to the error message reported
> > from instant?
> >
> > Johan
>
> I tried removing all UFC files, including the build directory and
> still see the same problem. Here's what I get when importing the
> module directly:

This is exact the same problem I had while a 

  python2.5/site-packages/ufc/ 

directory excisted. 

Are you sure no such directory excist in your installation?

Johan

>
> In [1]: import form_126ab72e63bbe3e5a4773c65847745e2d844021b
> ---------------------------------------------------------------------------
> TypeError                                 Traceback (most recent call
> last)
>
> /home/logg/.instant/cache/<ipython console> in <module>()
>
> /home/logg/.instant/cache/form_126ab72e63bbe3e5a4773c65847745e2d844021b/__i
>nit__.py in <module>()
> ----> 1 from form_126ab72e63bbe3e5a4773c65847745e2d844021b import *
>
> /home/logg/.instant/cache/form_126ab72e63bbe3e5a4773c65847745e2d844021b/for
>m_126ab72e63bbe3e5a4773c65847745e2d844021b.py in <module>()
>      59
>      60 import ufc
> ---> 61 class
> form_126ab72e63bbe3e5a4773c65847745e2d844021b_finite_element_0(ufc.finite_e
>lement): 62     thisown = _swig_property(lambda x: x.this.own(), lambda x,
> v: x.this.own(v), doc='The membership flag')
>      63     __repr__ = _swig_repr
>
> TypeError: Error when calling the metaclass bases
>     module.__init__() takes at most 2 arguments (3 given)




Follow ups

References