If you just run 'make paraview' it won't copy the py files. The target responsible for copying the py files is 'make paraview_pyc'. If you just run 'make' then the paraview_pyc target should re-execute when the timestamps have been modified on any of the py files. Maybe we should add a new target dependency rule?<br>
<br>Pat<br><br><div class="gmail_quote">On Wed, Sep 1, 2010 at 6:45 PM, Andy Bauer <span dir="ltr"><<a href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
The other person that mentioned this problem also didn't seem to have the servermanager.py file updated in the build directory even though they updated their code in the source tree. I'll check on that to see why it's happening.<br>
<br>Thanks,<br><font color="#888888"><br>Andy</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Wed, Sep 1, 2010 at 6:16 PM, Fabian, Nathan <span dir="ltr"><<a href="mailto:ndfabia@sandia.gov" target="_blank">ndfabia@sandia.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>
<font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;">Okay thanks. Apparently, I’m doing some version of building that includes not bringing those updates over from the src directory to the build directory...<div>
<div></div><div><br>
<br>
On 9/1/10 4:08 PM, "Andy Bauer" <<a href="http://andy.bauer@kitware.com" target="_blank">andy.bauer@kitware.com</a>> wrote:<br>
<br>
</div></div></span></font><blockquote><div><div></div><div><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;">This was fixed a little while ago. Try updating paraview if you can. The change servermanager.py is:<br>
@@ -796,6 +796,10 @@ class ArraySelectionProperty(<br>
VectorProperty):<br>
elif len(values) == 2:<br>
if isinstance(values[0], str):<br>
val = str(ASSOCIATIONS[values[0]])<br>
+ else:<br>
+ # In case user didn't specify valid association,<br>
+ # just pick POINTS.<br>
+ val = str(ASSOCIATIONS['POINTS'])<br>
<br>
self.SMProperty.SetElement(3, str(val))<br>
self.SMProperty.SetElement(4, values[1])<br>
else:<br>
<br>
Andy<br>
<br>
<br>
On Wed, Sep 1, 2010 at 5:43 PM, Fabian, Nathan <<a href="http://ndfabia@sandia.gov" target="_blank">ndfabia@sandia.gov</a>> wrote:<br>
</span></font></div></div><blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;"><div><div></div><div>Hi,<br>
<br>
When I export state with the image data into the coprocessing python script<br>
it includes some properties which don't appear when I use coprocessing. For<br>
instance, "DataRepresentation1.SelectOrientationVectors = [None, '']". It<br>
complains with:<br>
<br>
File<br>
"/Users/ndfabia/Desktop/Work/ParaView_build/Utilities/VTKPythonWrapping/para<br>
view/servermanager.py", line 2367, in setProperty<br>
return self.SetPropertyWithName(propName, value)<br>
File<br>
"/Users/ndfabia/Desktop/Work/ParaView_build/Utilities/VTKPythonWrapping/para<br>
view/servermanager.py", line 256, in SetPropertyWithName<br>
prop.SetData(arg)<br>
File<br>
"/Users/ndfabia/Desktop/Work/ParaView_build/Utilities/VTKPythonWrapping/para<br>
view/servermanager.py", line 799, in SetData<br>
self.SMProperty.SetElement(3, str(val))<br>
UnboundLocalError: local variable 'val' referenced before assignment<br>
<br>
It's using the same paraview to export the script as is running insitu...<br>
Does anyone have a suggestion as to what I'm missing?<br>
<br>
Thanks,<br>
Nathan.<br>
<br>
<br>
_______________________________________________<br></div></div>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a> <<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a>> <br><div>
<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>
</div></span></font></blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;"><br>
<br>
</span></font></blockquote>
</div>
</blockquote></div><br>
</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://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br>