<HTML>
<HEAD>
<TITLE>Re: [Paraview] paraview 3.6.1 pvbatch -failed to create subproxy (cray)</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>There were some changes to python scripting from 3.4 to 3.6 and not all were backward compatible (a necessity to support the paraview.simple module). You may need to update your script. Does it run on a typical client?<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 12/7/09 5:02 AM, "Asimina Maniopoulou" <<a href="asimina@nag.co.uk">asimina@nag.co.uk</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Dear all.<BR>
<BR>
Last year I had installed on a Cray machine Paraview 3.4.0 and both<BR>
pvbatch and the paraview server with the GUI were running successfully<BR>
as documented here<BR>
<a href="http://www.hector.ac.uk/support/documentation/userguide/hectoruser/Tools.html#SECTION000102100000000000000">http://www.hector.ac.uk/support/documentation/userguide/hectoruser/Tools.html#SECTION000102100000000000000</a><BR>
Now I tried to install version 3.6.1. When I submit the script <BR>
Example 1 ( see the link above) I get the error<BR>
Traceback (most recent call last):<BR>
<BR>
File "comby.py", line 19, in <module><BR>
<BR>
rep2.ColorArrayName="Density"<BR>
<BR>
File<BR>
"paraview-3.6.1/Utilities/VTKPythonWrapping/paraview/servermanager.py",<BR>
line 203, in __setattr__<BR>
<BR>
setter(self, value)<BR>
<BR>
File<BR>
"paraview-3.6.1/Utilities/VTKPythonWrapping/paraview/servermanager.py",<BR>
line 2325, in setProperty<BR>
<BR>
return self.SetPropertyWithName(propName, value)<BR>
<BR>
File<BR>
"paraview-3.6.1/Utilities/VTKPythonWrapping/paraview/servermanager.py",<BR>
line 252, in SetPropertyWithName<BR>
<BR>
prop.SetData(arg)<BR>
<BR>
File<BR>
"paraview-3.6.1/Utilities/VTKPythonWrapping/paraview/servermanager.py",<BR>
line 666, in SetData<BR>
<BR>
for a in self.Available:<BR>
<BR>
File<BR>
"paraview-3.6.1/Utilities/VTKPythonWrapping/paraview/servermanager.py",<BR>
line 522, in __getattr__<BR>
<BR>
return getattr(self.SMProperty, name)<BR>
<BR>
AttributeError: Available<BR>
<BR>
I realize that now the "simple" module is supposed to be used instead of<BR>
the servermanager one but when I use the line<BR>
from paraview.simple import *<BR>
I get the error<BR>
Process id: 0 >> ERROR: In <BR>
distribs/Paraview-Packages/paraview/ParaView3/Servers/ServerManager/vtkSMProxyManager.cxx,<BR>
line 327<BR>
<BR>
vtkSMProxyManager (0x000000000668a0d0): No proxy that matches:<BR>
group=views and proxy=BarChartView were found.<BR>
<BR>
<BR>
Process id: 0 >> ERROR: In<BR>
distribs/Paraview-Packages/paraview/ParaView3/Servers/ServerManager/vtkSMProxy.cxx,<BR>
line 2032<BR>
<BR>
vtkSMComparativeViewProxy (0x0000000007307e20): Failed to create<BR>
subproxy: BarChartView<BR>
<BR>
<BR>
Process id: 0 >> ERROR: In <BR>
distribs/Paraview-Packages/paraview/ParaView3/Servers/ServerManager/vtkSMProxyManager.cxx,<BR>
line 327<BR>
<BR>
vtkSMProxyManager (0x000000000668a0d0): No proxy that matches:<BR>
group=views and proxy=XYPlotView were found.<BR>
<BR>
<BR>
Process id: 0 >> ERROR: In<BR>
distribs/Paraview-Packages/paraview/ParaView3/Servers/ServerManager/vtkSMProxy.cxx,<BR>
line 2032<BR>
<BR>
vtkSMComparativeViewProxy (0x0000000007411730): Failed to create<BR>
subproxy: XYPlotView<BR>
<BR>
<BR>
Could you please give me any advice on that?<BR>
Thanks,<BR>
Mina<BR>
<BR>
<BR>
<BR>
________________________________________________________________________<BR>
The Numerical Algorithms Group Ltd is a company registered in England<BR>
and Wales with company number 1249803. The registered office is:<BR>
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.<BR>
<BR>
This e-mail has been scanned for all viruses by Star. The service is<BR>
powered by MessageLabs.<BR>
________________________________________________________________________<BR>
_______________________________________________<BR>
Powered by www.kitware.com<BR>
<BR>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">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">http://paraview.org/Wiki/ParaView</a><BR>
<BR>
Follow this link to subscribe/unsubscribe:<BR>
<a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="1"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:7.5pt'><BR>
**** Kenneth Moreland<BR>
*** Sandia National Laboratories<BR>
*********** <BR>
*** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** *** ** phone: (505) 844-8919<BR>
*** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT>
</BODY>
</HTML>