Hi,

thank you for your answer, but I come back to this issue...
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...

Any other idea ?

Yves

Le 26/04/2015 19:22, 程迪 a écrit :
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] <mailto:[email protected]>



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


--
Yves Rogez
/CONSERT Operations Engineer/

*IPAG*
/Institut de Planétologie et d'Astrophysique de Grenoble /
Bat D de Physique - BP. 53 - 38041 Grenoble - FRANCE

tel : +33 (0)4 76 63 52 80
lab : +33 (0)4 76 63 57 60
_______________________________________________
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