No no no, you are perfectly right !
It was my mistake.
The old version of mayavi was not removed and
the new version was installed "locally".
I made some changes and it is working perfectly fine.

Thank a lot for your help.



> Date: Fri, 21 May 2010 11:10:02 +0200
> From: cimr...@ntc.zcu.cz
> To: sfepy...@googlegroups.com
> Subject: Re: Postprocessing problems
>
> On 05/21/10 10:59, Michel Dupront wrote:
> >
> >
> > Here is the result of the check you ask me to do:
> >
> > # mayavi2 --version
> > Mayavi 3.3.0
> >
> > In [1]: from enthought.mayavi.tools.mlab_scene_model import MlabSceneModel
> > In [2]: m=MlabSceneModel()
> > In [3]: m.scene.mayavi_scene
> > ---------------------------------------------------------------------------
> > AttributeError Traceback (most recent call last)
> >
> > /home/ ... /sfepy-release-2010.2/<ipython console> in<module>()
> > AttributeError: 'MlabSceneModel' object has no attribute 'mayavi_scene'
> >
> >
> > If version 3.3.0 is recent enough I guess it has not been install properly ...
> > I am going to check that.
>
> Ok, it seems that I wrongly assumed that 3.3.0 already contains the missing
> attribute. Can you try 3.3.1?
>
> Sorry for the inconvenience!
>
> r.
>
> >
> >> This is strange - maybe the old mayavi was not properly uninstalled?
> >>
> >> Actually, I use:
> >>
> >> $ mayavi2 --version
> >> Mayavi 3.3.1
> >>
> >> In ipython (or regular Python shell) the following should work:
> >>
> >> In [1]: from enthought.mayavi.tools.mlab_scene_model import MlabSceneModel
> >> In [2]: m = MlabSceneModel()
> >> In [3]: m.scene.mayavi_scene
> >> Out[3]:<enthought.mayavi.core.scene.Scene object at 0x71e9590>
> >>
> >> Can you verify that?
> >>
> >> r.
> >>
> >
> > _________________________________________________________________
> > Vous voulez regarder la TV directement depuis votre PC ? C'est très simple avec Windows 7
> > http://clk.atdmt.com/FRM/go/229960614/direct/01/
> >
>
> --
> You received this message because you are subscribed to the Google Groups "sfepy-devel" group.
> To post to this group, send email to sfepy...@googlegroups.com.
> To unsubscribe from this group, send email to sfepy-devel...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/sfepy-devel?hl=en.
>


Vous voulez protéger votre numéro de CB ? Utilisez Internet Explorer 8

--
You received this message because you are subscribed to the Google Groups "sfepy-devel" group.
To post to this group, send email to sfepy...@googlegroups.com.
To unsubscribe from this group, send email to sfepy-devel...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sfepy-devel?hl=en.