View Issue Details

IDProjectCategoryView StatusLast Update
0000969ThirdPartyBugpublic2014-12-14 14:35
Reporterwyldckat Assigned Tohenry  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionno change required 
Platformx86_64OSUbuntuOS Version12.04
Summary0000969: Deb package "paraviewopenfoam3120" is missing some important VTK-Python libraries
DescriptionNote: I might be a bit too late for the Deb packages, but the same problem occurs if we erase the "$WM_THIRD_PARTY_DIR/build" folder for a custom build of ParaView 3.12.0.

The following library files are missing (at least) from the Deb package (haven't checked the RPMs), which are needed for some of the Python features that ParaView 3.12.0 can provide:

To fix this, before generating the Deb package (or before removing the build folder), the following command should be executed:
  cp $WM_THIRD_PARTY_DIR/build/$WM_ARCH$WM_COMPILER/paraview-$ParaView_VERSION/bin/vtk* $ParaView_DIR/lib/paraview-$ParaView_MAJOR/
Additional InformationI briefly wrote about this here: - back in June 23rd, 2013.
TagsNo tags attached.



2013-08-18 21:16

updater   ~0002423

A hack to fix this is available here: post #17


2014-03-01 23:16

updater   ~0002918

This issue can be closed.
It has been resolved with the release of OpenFOAM 2.3.0 Deb packages, which provide ParaView 4.1.0 and which doesn't have this problem.


2014-12-13 20:20

updater   ~0003312


Sorry, I was so focused backed then on the solution, that I completely forgot to properly document the problem that triggered the report in the first place.
The problem for which the solution is provided on this bug report, is exemplified here:

To better document this bug report, here are the steps and expected result - To reproduce, start ParaView 3.12.0 on a deb package installation of OpenFOAM 2.2 (any minor version), and then start up the Python shell within ParaView. Then run this command and the following output will appear:
    >>> from paraview.simple import *

    Traceback (most recent call last):
    File "<pyshell#1>", line 1, in <module>
    from paraview.simple import *
    File "/home/ofuser/OpenFOAM/ThirdParty-2.2.0/build/linuxGcc/paraview-3.12.0/Utilities/VTKPythonWrapping/site-packages/paraview/", line 40, in <module>
    import servermanager
    File "/home/ofuser/OpenFOAM/ThirdParty-2.2.0/build/linuxGcc/paraview-3.12.0/Utilities/VTKPythonWrapping/site-packages/paraview/", line 43, in <module>
    import paraview, re, os, os.path, new, sys, vtk
    File "/home/ofuser/OpenFOAM/ThirdParty-2.2.0/build/linuxGcc/paraview-3.12.0/Utilities/VTKPythonWrapping/site-packages/paraview/vtk/", line 1, in <module>
    from vtkCommonPython import *
    ImportError: No module named vtkCommonPython

And as reported on the previous comment, this issue is no longer reproducible with the latest ParaView 4.1.0 that is provided in the Deb and RPM packages.

Best regards,

Issue History

Date Modified Username Field Change
2013-08-18 19:57 wyldckat New Issue
2013-08-18 21:16 wyldckat Note Added: 0002423
2014-03-01 23:16 wyldckat Note Added: 0002918
2014-12-13 20:20 wyldckat Note Added: 0003312
2014-12-13 22:59 henry Status new => closed
2014-12-13 22:59 henry Assigned To => henry
2014-12-13 22:59 henry Resolution open => no change required