<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi. I'm trying to writing a python script that loads a saved state, but I'm having trouble with the server manager:<br><br>from paraview import servermanager as sm<br>c = sm.Connect()<br>sm.LoadState("test.pvsm")<br>view = sm.GetRenderView()<br>view.StillRender()<br><br>I set my LD_LIBRARY_PATH and PYTHONPATH to include $HOME/paraview-3.2.1-Linux-x86/lib/paraview-3.2/<br><br>But I get the following message for the import line above:<br><br>In [1]: from paraview import servermanager<br>---------------------------------------------------------------------------<br><type 'exceptions.ImportError'> Traceback (most recent call last)<br><br><ipython console> in
<module>()<br><br>/home/myname/paraview-3.2.1-Linux-x86/lib/paraview-3.2/paraview/__init__.py in <module>()<br> 38 import os<br> 39 if os.name == "posix":<br>---> 40 from libvtkPVServerCommonPython import *<br> 41 from libvtkPVServerManagerPython import *<br> 42 from libvtkCommonPython import *<br><br><type 'exceptions.ImportError'>: /home/myname/paraview-3.2.1-Linux-x86/lib/paraview-3.2/libvtkPVServerCommonPythonD.so: undefined symbol: PyVTKClass_vtkXMLParserNew<br><br><br><br><br><br>Any advice? Thanks.<br><br>Nate<br><br><br></div></div><br>
</body></html>