Can you try setting the environment variable PV_PLUGIN_DEBUG=1 before running pvpython and then post the generated output. Looks like ParaView wasn't able to load the shared library for some reason.
Utkarsh On Tue, Jul 27, 2010 at 8:36 AM, Stefan Melber <stefan.mel...@dlr.de> wrote: > Hi, > > i try to use the SurfaceLIC in combination with python. Running the > SurfaceLIC from the GUI it works fine (only when use the 185.18.31 > Nvidia-driver, with newer drivers it crashes). > > Now i use this script to run the stuff in batch (means pyton) mode: > > > from paraview.servermanager import * > > Connect() > LoadPlugin("/opt/PARAVIEW_3_8/ParaView-3.8.0-RC2-Linux-x86_64/lib/paraview-3.8/libSurfaceLIC.so", > False) > LoadState("alvlic.pvsm") > view = GetRenderView() > view.WriteImage("test.png", "vtkPNGWriter", 1) > > > In this case i get the error: > > > AUSW_AUTOMATIC_NEW/SURFACE_P_LIC> > /opt/PARAVIEW_3_8_build/ParaView-3.8.0_bin/bin/pvbatch make_pv_pic.py > Traceback (most recent call last): > File "make_pv_pic.py", line 4, in <module> > > LoadPlugin("/opt/PARAVIEW_3_8/ParaView-3.8.0-RC2-Linux-x86_64/lib/paraview-3.8/libSurfaceLIC.so", > False) > File > "/opt/PARAVIEW_3_8_build/ParaView-3.8.0_bin/Utilities/VTKPythonWrapping/paraview/servermanager.py", > line 2116, in LoadPlugin > LoadXML(f.read()) > File > "/opt/PARAVIEW_3_8_build/ParaView-3.8.0_bin/Utilities/VTKPythonWrapping/paraview/servermanager.py", > line 2085, in LoadXML > if not parser.Parse(xmlstring): > TypeError: function takes exactly 2 arguments (1 given) > > > I tried to modify the LoadPlugin line giving two arguments - but does not > help. What is wrong here? > > Best regards and thanks in advance... > > > Stefan > > _______________________________________________ > 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 > > _______________________________________________ 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