<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;"><br>
Hi <br>
<br>
I just worked out what the problem was.<br>
<br>
One file should be used to set up the pvsm and not the complete data set.<br>
<br>
cheers<br>
Sanjay<br>
<br>
<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF204766"><font color="#000000" face="Tahoma" size="2"><b>From:</b> David E DeMarle [dave.demarle@kitware.com]<br>
<b>Sent:</b> 26 September 2014 19:26<br>
<b>To:</b> Kharche, Sanjay<br>
<b>Cc:</b> paraview@paraview.org<br>
<b>Subject:</b> Re: [Paraview] PVBatch<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left-width:1px; border-left-color:rgb(204,204,204); border-left-style:solid; padding-left:1ex">
FindSource("h0001.vtk").FileNames ='h%04d.vtk' % (i)<br>
</blockquote>
<div>... </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left-width:1px; border-left-color:rgb(204,204,204); border-left-style:solid; padding-left:1ex">
AttributeError: 'NoneType' object has no attribute 'FileNames'    </blockquote>
<div>
<div class="gmail_extra">
<div class="gmail_quote">
<div><br>
</div>
<div>Means that FindSource("h0001.vtk") returned none.</div>
<div><br>
</div>
<div>Do a print GetSources() to see what it might be instead of "h0001.vtk".</div>
<div><br>
</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left-width:1px; border-left-color:rgb(204,204,204); border-left-style:solid; padding-left:1ex">
<div style="word-wrap:break-word; color:rgb(0,0,0); font-size:14px; font-family:Calibri,sans-serif">
<div style="direction:ltr; font-family:Tahoma; color:rgb(0,0,0); font-size:10pt">
Can you comment?<br>
<br>
thanks<span class=""><font color="#888888"><br>
Sanjay<br>
<br>
</font></span></div>
</div>
<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://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>