A patch would be great.  Thanks!

On 11/11/2011 07:14 PM, David Partyka wrote:
Some of the logic in VTK was changed to install the python module and
shared libs. I thought I corrected it before tagging 3.12.0 but it
appears not. Let me see if I can send you a diff, or if you want, you
just need to copy libvtk*Python.so into your lib/paraview-<blah> directory.

On Fri, Nov 11, 2011 at 6:42 PM, Orion Poplawski <[email protected]
<mailto:[email protected]>> wrote:

    No PNG issues for me, but with python shell:

    Python 2.7.2 (default, Sep 30 2011, 20:54:11)
    [GCC 4.6.1 20110908 (Red Hat 4.6.1-9)] on linux2
     >>> from paraview.simple import *
    Traceback (most recent call last):
      File "<string>", line 4, in <module>
      File
    "/usr/lib64/paraview/site-__packages/paraview/__servermanager.py",
    line 43, in <module>
        import paraview, re, os, os.path, new, sys, vtk
      File
    "/usr/lib64/paraview/site-__packages/paraview/vtk/__init____.py",
    line 1, in <module>
        from vtkCommonPython import *
    ImportError: No module named vtkCommonPython

    Looks like vtkCommonPython.so is built but not installed.

    $ grep -F vtkCommonPython.so build.log
    Linking CXX shared module ../../bin/vtkCommonPython.so
    /usr/lib64/ccache/g++  -fPIC -O2 -g -pipe -Wall
    -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
    --param=ssp-buffer-size=4  -m64 -mtune=generic  -Wno-deprecated
      -Wno-deprecated -g  -Wl,-z,relro   -shared
    -Wl,-soname,vtkCommonPython.so -o ../../bin/vtkCommonPython.so
    CMakeFiles/vtkCommonPython.__dir/vtkCommonPythonInit.cxx.o
    ../../bin/libvtkCommonPythonD.__so.pv3.12
    ../../bin/libvtkPythonCore.so.__pv3.12
    ../../bin/libvtkCommon.so.pv3.__12 ../../bin/libvtksys.so.pv3.12
    -ldl -lm
    cd /builddir/build/BUILD/__ParaView-3.12.0/fedora/VTK/__Common &&
    /usr/bin/cmake -E create_symlink vtkCommonPython.so
    /builddir/build/BUILD/__ParaView-3.12.0/fedora/bin/__libvtkCommonPython.so
    Linking CXX shared module ../../bin/vtkCommonPython.so

    Missing a build flag?

    --
    Orion Poplawski
    Technical Manager 303-415-9701 x222 <tel:303-415-9701%20x222>
    NWRA/CoRA Division                    FAX: 303-415-9702
    <tel:303-415-9702>
    3380 Mitchell Lane [email protected] <mailto:[email protected]>
    Boulder, CO 80301 http://www.cora.nwra.com
    _________________________________________________
    Powered by www.kitware.com <http://www.kitware.com>

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

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

    Follow this link to subscribe/unsubscribe:
    http://www.paraview.org/__mailman/listinfo/paraview
    <http://www.paraview.org/mailman/listinfo/paraview>




--
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  [email protected]
Boulder, CO 80301              http://www.cora.nwra.com
_______________________________________________
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to