<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
using the current CVS of PV3, we have errors in pvbatch not being able
to reload state:<br>
<br>
For example:<br>
<br>
<i>from paraview import servermanager <br>
connection = servermanager.Connect()<br>
servermanager.LoadState('/home/jfavre/sphere.pvsm')</i><br>
<br>
crashes with the following error:<br>
<br>
Traceback (most recent call last):<br>
&nbsp; File "./sphere.py", line 4, in &lt;module&gt;<br>
&nbsp;&nbsp;&nbsp; servermanager.LoadState('/home/jfavre/sphere.pvsm')<br>
&nbsp; File
"/local/apps/ParaView3Build/Utilities/VTKPythonWrapping/paraview/servermanager.py",
line 1110, in LoadState<br>
&nbsp;&nbsp;&nbsp; loader.SetRenderViewXMLName(rvname)<br>
AttributeError: SetRenderViewXMLName<br>
<br>
Searching through the source code, I could not find the definition of
SetRenderViewXMLName anywhere.<br>
<br>
Commenting out line 1110 of
Utilities/VTKPythonWrapping/paraview/servermanager.py makes everything
run smoothly.<br>
<br>
have we accidentally lost SetRenderViewXMLName()?<br>
<br>
Jean<br>
<div class="moz-signature">-- <br>
Swiss National Supercomputing Center<br>
</div>
</body>
</html>