[Paraview] pvpython, pvbatch error loading module?
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Thu Mar 26 09:16:14 EDT 2009
Jean,
I've just committed a fix for this issue. Let me know if it does not
work. The new charting representations/views have Qt dependencies.
Those needed to be disabled from the server manager XML as well when
Qt support was not enabled.
/cvsroot/ParaView3/ParaView3/vtkPVConfig.h.in,v <-- vtkPVConfig.h.in
new revision: 1.5; previous revision: 1.4
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/Resources/rendering.xml,v
<-- Servers/ServerManager/Resources/rendering.xml
new revision: 1.336; previous revision: 1.335
Utkarsh
On Thu, Mar 26, 2009 at 6:52 AM, Jean Favre <jfavre at cscs.ch> wrote:
> 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
> _______________________________________________
> 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
>
More information about the ParaView
mailing list