[Paraview] pvpython, pvbatch error loading module?

Jean Favre jfavre at cscs.ch
Thu Mar 26 06:52:06 EDT 2009


CVS users,

I have PV cvs compiled in full (i.e. PARAVIEW_BUILD_QT_GUI = ON) on one
cluster. No problem anywhere.

if I do another compilation (same cluster, same tools, same compiler)
but with PARAVIEW_BUILD_QT_GUI = OFF, I get these errors. Is the
"representations" stuff somehow missing if we compile without GUI?:

./bin/pvpython
Python 2.3.4 (#1, May 26 2007, 19:27:46)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from paraview.simple import *
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/apps-vis/PV/Utilities/VTKPythonWrapping/paraview/simple.py",
line 19, in ?
    import servermanager
  File
"/apps-vis/PV/Utilities/VTKPythonWrapping/paraview/servermanager.py",
line 2816, in ?
    _createModules()
  File
"/apps-vis/PV/Utilities/VTKPythonWrapping/paraview/servermanager.py",
line 2394, in _createModules
    rendering = createModule('representations')
  File
"/apps-vis/PV/Utilities/VTKPythonWrapping/paraview/servermanager.py",
line 2435, in createModule
    iter = PropertyIterator(proto)
  File
"/apps-vis/PV/Utilities/VTKPythonWrapping/paraview/servermanager.py",
line 1595, in __init__
    self.SMIterator = aProxy.NewPropertyIterator()
AttributeError: 'NoneType' object has no attribute 'NewPropertyIterator'

-- 
Jean --
Swiss National Supercomputing Center


More information about the ParaView mailing list