<div dir="ltr"><div>Hi, Yves Rogez </div><div><br></div><div>I have encountered the same problem. And I think it is a problem about the path.</div><div><br>Please compare the python version and environment setting in different releases :</div><div><br></div><div>>>> import sys</div><div>>>> sys.version</div><div>>>> sys.path</div><div><br></div><div>And I think there are some differences responsible for the segfault .</div><div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">Di CHENG<br><br>Institute of Mechanics, Chinese Academy of Sciences<br>No.15 Beisihuanxi Road, Beijing (100190)<br>P. R. China<br>E-mail: <a href="mailto:chengdi@imech.ac.cn" target="_blank">chengdi@imech.ac.cn</a><br></div></div>
<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
<br>
Message: 2<br>
Date: Sat, 25 Apr 2015 22:18:54 +0200<br>
From: Yves Rogez <<a href="mailto:yves.rogez@obs.ujf-grenoble.fr">yves.rogez@obs.ujf-grenoble.fr</a>><br>
To: <a href="mailto:paraview@paraview.org">paraview@paraview.org</a><br>
Subject: [Paraview] pvpython with pvserver SelectionModel<br>
Message-ID: <<a href="mailto:553BF6AE.9070603@obs.ujf-grenoble.fr">553BF6AE.9070603@obs.ujf-grenoble.fr</a>><br>
Content-Type: text/plain; charset="utf-8"; Format="flowed"<br>
<br>
Hello,<br>
<br>
I've just compiled paraview on its last git master branch and I get a<br>
strange segfault using pvpython with connection to a pvserver (no MPI,<br>
on localhost, linux). This occurs for instance, when creating a simple<br>
sphere with the following code:<br>
<br>
from paraview.simple import *<br>
servermanager.Connect( "localhost" )<br>
s = Sphere()<br>
<br>
The strange thing is that under the ParaView GUI python shell all works<br>
well.<br>
<br>
I've made a little debugging and the error comes from<br>
ParaViewCore/ServerManager/Core/vtkSMParaViewPipelineController.cxx:609<br>
(vtkSMParaViewPipelineController::RegisterPipelineProxy())<br>
the selmodel variable is NULL after<br>
proxy->GetSessionProxyManager()->GetSelectionModel("ActiveSources")<br>
<br>
I recompiled on the<br>
<br>
* 4.3.1 release tag => same problem<br>
* 4.1.0 release tag => all works fine<br>
* 4.2.0 release tag => same problem<br>
<br>
Any idea ?<br>
<br>
Yves<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://public.kitware.com/pipermail/paraview/attachments/20150425/2e427e37/attachment-0001.html" target="_blank">http://public.kitware.com/pipermail/paraview/attachments/20150425/2e427e37/attachment-0001.html</a>><br>
<br></blockquote></div></div></div></div>