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: [email protected]


>
> Message: 2
> Date: Sat, 25 Apr 2015 22:18:54 +0200
> From: Yves Rogez <[email protected]>
> To: [email protected]
> Subject: [Paraview] pvpython with pvserver SelectionModel
> Message-ID: <[email protected]>
> 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
> >
>
>
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to