[Paraview] pvpython with pvserver SelectionModel

程迪 chengdi123000 at gmail.com
Sun Apr 26 13:22:22 EDT 2015


Hi, Yves Rogez

I have encountered the same problem. And I think it is a problem about the
path.

Please compare the python version and environment setting in different
releases :

>>> import sys
>>> sys.version
>>> sys.path

And I think there are some differences responsible for the segfault .

Di CHENG

Institute of Mechanics, Chinese Academy of Sciences
No.15 Beisihuanxi Road, Beijing (100190)
P. R. China
E-mail: chengdi at imech.ac.cn


>
> Message: 2
> Date: Sat, 25 Apr 2015 22:18:54 +0200
> From: Yves Rogez <yves.rogez at obs.ujf-grenoble.fr>
> To: paraview at paraview.org
> Subject: [Paraview] pvpython with pvserver SelectionModel
> Message-ID: <553BF6AE.9070603 at obs.ujf-grenoble.fr>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
> Hello,
>
> I've just compiled paraview on its last git master branch and I get a
> strange segfault using pvpython with connection to a pvserver (no MPI,
> on localhost, linux). This occurs for instance, when creating a simple
> sphere with the following code:
>
> from paraview.simple import *
> servermanager.Connect( "localhost" )
> s = Sphere()
>
> The strange thing is that under the ParaView GUI python shell all works
> well.
>
> I've made a little debugging and the error comes from
> ParaViewCore/ServerManager/Core/vtkSMParaViewPipelineController.cxx:609
> (vtkSMParaViewPipelineController::RegisterPipelineProxy())
> the selmodel variable is NULL after
> proxy->GetSessionProxyManager()->GetSelectionModel("ActiveSources")
>
> I recompiled on the
>
>   * 4.3.1 release tag => same problem
>   * 4.1.0 release tag => all works fine
>   * 4.2.0 release tag => same problem
>
> Any idea ?
>
> Yves
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://public.kitware.com/pipermail/paraview/attachments/20150425/2e427e37/attachment-0001.html
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150427/a9ca907c/attachment.html>


More information about the ParaView mailing list