[Paraview] vtkPVTrivialProducer issues
wastrel at gmail.com
wastrel at gmail.com
Fri Apr 23 17:09:45 EDT 2010
I used the the following snippet to generate data on the client side but
ended up with errors:
Code:
sm = servermanager
f = open('trivialproducer.xml', 'r')
parser = sm.vtkSMXMLParser()
parser.Parse(f.read())
parser.ProcessConfiguration(sm.vtkSMObject.GetProxyManager())
# Update the modules
sm._updateModules()
tp = sm.sources.TrivialProducer()
obj = tp.GetClientSideObject()
obj.SetOutput(pd)
# use tp as any other source proxy
trivialproducer.xml:
<ServerManagerConfiguration>
<ProxyGroup name="sources">
<SourceProxy name="TrivialProducer"
class="vtkPVTrivialProducer">
</SourceProxy>
</ProxyGroup>
Errors:
ERROR: In
/home/berk/Work/ReleaseBuilds/ParaView3/Servers/Common/vtkProcessModule.cxx,
line 1001
vtkProcessModule (0x807b790): Cannot create object of type
"vtkPVTrivialProducer".
while processing
Message 0 = New
Argument 0 = string_value {vtkPVTrivialProducer}
Argument 1 = id_value {40}
ERROR: In
/home/berk/Work/ReleaseBuilds/ParaView3/Servers/Common/vtkProcessModule.cxx,
line 1002
vtkProcessModule (0x807b790): Aborting execution for debugging purposes.
Abort
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100423/a50ffd02/attachment.htm>
More information about the ParaView
mailing list