[Paraview] python in Paraview III

David E DeMarle dave.demarle at kitware.com
Wed Feb 7 10:31:52 EST 2007


Yet another typo in my reply. :)
"paraview.Connect()" instead of "paraview.Connect" or "paraview.connect()"

On 2/7/07, David E DeMarle <dave.demarle at kitware.com> wrote:
> "paraview.Connect" instead of "paraview.connect()"
>
> On 2/7/07, Olivier Ricou <olivier at ricou.eu.org> wrote:
> > Hi,
> >
> >  I compile the last version of Paraview III with Python shell.
> > I run the Python shell here is what I did and get :
> >
> > Python 2.4.4c1 (#1, Oct 11 2006, 21:48:21)
> > [GCC 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)] on linux2
> > >>> import os
> > >>> dir(os)
> > >>> import paraview
> > >>> c=paraview.connect()
> > Traceback (most recent call last):
> > File "<string>", line 1, in ?
> > AttributeError: 'module' object has no attribute 'connect'
> > >>> dir(paraview)
> > >>>
> >
> > It seems I can load paraview but it does nothing.
> >
> > Can someone explain me my mistake ?
> >
> > Olivier.
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.3 (GNU/Linux)
> >
> > iD8DBQFFyer5Xwl5UewLtBARAn81AJsEnkSTpnZQzkizt682sgnM+JXVpwCgopke
> > ZN5cwjO+tccXtvTmGvEUO8w=
> > =Tkbp
> > -----END PGP SIGNATURE-----
> >
> > _______________________________________________
> > ParaView mailing list
> > ParaView at paraview.org
> > http://www.paraview.org/mailman/listinfo/paraview
> >
> >
>


More information about the ParaView mailing list