Hi Eric,<br><br>Yeah, this never worked (well it worked for a while due to a bug, but stopped working when I fixed the bug....) It affects filters that have Input properties with ProxyListDomain. Stream tracer, probe location are other examples I can find. Turns out it was an easy fix, I'll push the change tomorrow:<br>
<br>diff --git a/Utilities/VTKPythonWrapping/paraview/smstate.py b/Utilities/VTKPythonWrapping/paraview/smstate.py<br>index d40f3ad..7409c5a 100644<br>--- a/Utilities/VTKPythonWrapping/paraview/smstate.py<br>+++ b/Utilities/VTKPythonWrapping/paraview/smstate.py<br>
@@ -39,6 +39,10 @@ def get_all_inputs_registered(proxy):<br> itr = servermanager.PropertyIterator(proxy.SMProxy)<br> for prop in itr:<br> if prop.IsA("vtkSMInputProperty"):<br>+ # Don't worry about input properties with ProxyListDomains,<br>
+ # these input proxies do not need to be constructed by python.<br>+ if prop.GetDomain("proxy_list") is not None:<br>+ return True<br> for i in xrange(prop.GetNumberOfProxies()):<br>
input_proxy = prop.GetProxy(i)<br> info = smtrace.get_proxy_info(input_proxy, search_existing=False)<br><br><br><br>Pat<br><br><div class="gmail_quote">On Thu, Apr 15, 2010 at 3:17 PM, Eric E. Monson <span dir="ltr"><<a href="mailto:emonson@cs.duke.edu">emonson@cs.duke.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hey all,<br>
<br>
I haven't been using the python trace or state trace much lately, but I just noticed a problem that shows up both on the Ubuntu 64-bit 3.8 RC1 binary and CVS PV 3.9 on OS X, so it might be pretty general. If I do:<br>
<br>
PointSource: 100 pts, rad 10<br>
Glyph: Sphere (the rest default)<br>
<br>
and do a Trace State, the beginning of the trace looks like this:<br>
<br>
WARNING: Missing dependencies, could not register proxies: [<paraview.servermanager.Glyph object at 0x12910d490>]<br>
WARNING: Missing dependencies, could not register proxies: [<paraview.servermanager.GeometryRepresentation object at 0x12913ead0>]<br>
try: paraview.simple<br>
except: from paraview.simple import *<br>
Glyph1 = GetActiveSource()<br>
DataRepresentation2 = GetDisplayProperties(Glyph1)<br>
RenderView1 = CreateRenderView()<br>
RenderView1.LightSpecularColor = [1.0, 1.0, 1.0]<br>
[...]<br>
<br>
So I can't do a state trace that includes a glyph filter. Sorry I haven't investigated more to see how widespread a problem it is, or if it's only with Glyph.<br>
<br>
Thanks,<br>
-Eric<br>
<br>
------------------------------------------------------<br>
Eric E Monson<br>
Duke Visualization Technology Group<br>
<br>
<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</blockquote></div><br>