<div dir="ltr"><div><div><div><div><div>Hi Utkarsh,<br><br></div>I also tried with loading the script from Python Shell, <br><br></div>and It gives me this error on all my scripts.<br><br><span style="font-family:'Courier';font-size:8.25pt;color:rgb(0,0,0)"> </span><span style="font-family:'Courier';font-size:8.25pt;color:rgb(255,0,0)">Traceback (most recent call last):</span>
<p style="margin:0px;text-indent:0px"><span style="font-family:'Courier';font-size:8.25pt;color:rgb(255,0,0)"> File "<string>", line 13, in <module></span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:'Courier';font-size:8.25pt;color:rgb(255,0,0)">NameError: name 'CreateRenderView' is not defined</span></p><p style="margin:0px;text-indent:0px">
<br><span style="font-family:'Courier';font-size:8.25pt;color:rgb(255,0,0)"></span></p><p style="margin:0px;text-indent:0px"><span style="font-family:'Courier';font-size:8.25pt;color:rgb(255,0,0)"><br></span></p>
<p style="margin:0px;text-indent:0px">Although it is created at line 13. <br></p><p style="margin:0px;text-indent:0px"><span style="font-family:'Courier';font-size:8.25pt;color:rgb(255,0,0)"></span></p><p style="margin:0px;text-indent:0px">
<span style="font-family:'Courier';font-size:8.25pt;color:rgb(255,0,0)"><font color="#000000">RenderView1 = CreateRenderView()<br></font><br></span></p><br></div>Any ideas on what is wrong with my script.<br><br></div>
Thanks<br></div>Hedieh<br><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 30 October 2013 14:42, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Python state files cannot be loaded from "Load State" ( as I write<br>
this I realize that that is indeed a missing feature). You can use<br>
the Python shell to load the script.<br>
<br>
Utkarsh<br>
<div><div class="h5"><br>
On Wed, Oct 30, 2013 at 8:34 AM, Hedieh Ebrahimi<br>
<<a href="mailto:hedieh.ebrahimi@amphos21.com">hedieh.ebrahimi@amphos21.com</a>> wrote:<br>
> Hi all,<br>
><br>
> I am using ParaView 4.0.1 64 bit Release version.<br>
><br>
> When i try to save a statefile as .py it saves correctly, but when I try to<br>
> open the same state file again using the same ParaView i get the following<br>
> error.<br>
><br>
><br>
> ERROR: In<br>
> C:\DBD\pvs-x64\paraview\src\paraview\VTK\IO\XMLParser\vtkXMLParser.cxx, line<br>
> 483<br>
><br>
> vtkPVXMLParser (000000000A864BC0): Error parsing XML in stream at line 1,<br>
> column 0, byte index 0: syntax error<br>
><br>
><br>
><br>
> Root does not exist. Either state file could not be opened or it does not<br>
> contain valid xml<br>
><br>
><br>
> If I save my pipeline state as .pvsm file, I can re-open it correctly and I<br>
> am just having this problem with .py state files.<br>
><br>
> Does anybody know how I could fix this problem?<br>
><br>
> Thanks in Advance,<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <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:<br>
> <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>
><br>
</blockquote></div><br></div>