<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    <br>
    thank you for your answer, but I come back to this issue...<br>
    I've made the test with different releases and I get the strict
    exact same version and path... I also rebuilt ParaView with strictly
    same python versions (2.7.6). The very strange thing is that with
    Paraview GUI shell it works but not with pvpython or pvbatch, only
    since v4.2.0...<br>
    <br>
    Any other idea ?<br>
    <br>
    Yves<br>
    <br>
    <div class="moz-cite-prefix">Le 26/04/2015 19:22, 程迪 a écrit :<br>
    </div>
    <blockquote
cite="mid:CAMkQf0sKL8xBPKKQs_GmJjYjB3mG4MoEGCqvwnsoOA4AFT1q4Q@mail.gmail.com"
      type="cite">
      <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 moz-do-not-send="true"
                  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 moz-do-not-send="true"
                  href="mailto:yves.rogez@obs.ujf-grenoble.fr">yves.rogez@obs.ujf-grenoble.fr</a>><br>
                To: <a moz-do-not-send="true"
                  href="mailto:paraview@paraview.org">paraview@paraview.org</a><br>
                Subject: [Paraview] pvpython with pvserver
                SelectionModel<br>
                Message-ID: <<a moz-do-not-send="true"
                  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 moz-do-not-send="true"
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>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      Yves Rogez<br>
      <em>CONSERT Operations Engineer</em><br>
      <br>
      <b>IPAG</b><br>
      <em>Institut de Planétologie et d'Astrophysique de Grenoble </em><br>
      <font size="2">Bat D de Physique - BP. 53 - 38041 Grenoble -
        FRANCE<br>
        <br>
      </font> tel : +33 (0)4 76 63 52 80<br>
      lab : +33 (0)4 76 63 57 60<br>
    </div>
  </body>
</html>