[Paraview] Problem with disconnecting from the builtin server in pvpython

logari81 logari81 at googlemail.com
Wed Sep 15 12:58:57 EDT 2010


Hi,

actually I have the same question as in this previous email:

http://www.paraview.org/pipermail/paraview/2008-March/007506.html

I use the python interface in an application that I am developing and I
import paraview with:

from paraview.simple import *

During the import a connection to the builtin server is also established
silently. Though, in my application I need to clear the pipeline
occasionally in order to begin with a new output, so I tried
disconnecting from the server with:

servermanager.Disconnect(servermanager.ActiveConnection)

but I receive the error:

ERROR:
In /build/buildd/paraview-3.8.0/Servers/Common/vtkProcessModuleConnectionManager.cxx, line 175
vtkProcessModuleConnectionManager (0x1d33240): Invalid connection ID: 5

This behavior is tested with ParaView 3.8.0 on Ubuntu 10.04.

I would be glad for any hints.

Kind Regards

Kostas




More information about the ParaView mailing list