Well part of my problem was (and maybe all of it except I built clean, so I can't verify) that there was a switch from Utilities/VTKPythonWrapping to Utilities/VTKPythonWrapping/site-packages for the PYTHONPATH that I was not aware of. I'm guessing the updates were installed there, but I was still looking at the old directory.
On 9/1/10 5:21 PM, "pat marion" <pat.mar...@kitware.com> wrote: 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? Pat On Wed, Sep 1, 2010 at 6:45 PM, Andy Bauer <andy.ba...@kitware.com> wrote: 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. Thanks, Andy On Wed, Sep 1, 2010 at 6:16 PM, Fabian, Nathan <ndfa...@sandia.gov> wrote: 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... On 9/1/10 4:08 PM, "Andy Bauer" <andy.ba...@kitware.com <http://andy.ba...@kitware.com> > wrote: This was fixed a little while ago. Try updating paraview if you can. The change servermanager.py is: @@ -796,6 +796,10 @@ class ArraySelectionProperty( VectorProperty): elif len(values) == 2: if isinstance(values[0], str): val = str(ASSOCIATIONS[values[0]]) + else: + # In case user didn't specify valid association, + # just pick POINTS. + val = str(ASSOCIATIONS['POINTS']) self.SMProperty.SetElement(3, str(val)) self.SMProperty.SetElement(4, values[1]) else: Andy On Wed, Sep 1, 2010 at 5:43 PM, Fabian, Nathan <ndfa...@sandia.gov <http://ndfa...@sandia.gov> > wrote: Hi, When I export state with the image data into the coprocessing python script it includes some properties which don't appear when I use coprocessing. For instance, "DataRepresentation1.SelectOrientationVectors = [None, '']". It complains with: File "/Users/ndfabia/Desktop/Work/ParaView_build/Utilities/VTKPythonWrapping/para view/servermanager.py", line 2367, in setProperty return self.SetPropertyWithName(propName, value) File "/Users/ndfabia/Desktop/Work/ParaView_build/Utilities/VTKPythonWrapping/para view/servermanager.py", line 256, in SetPropertyWithName prop.SetData(arg) File "/Users/ndfabia/Desktop/Work/ParaView_build/Utilities/VTKPythonWrapping/para view/servermanager.py", line 799, in SetData self.SMProperty.SetElement(3, str(val)) UnboundLocalError: local variable 'val' referenced before assignment It's using the same paraview to export the script as is running insitu... Does anyone have a suggestion as to what I'm missing? Thanks, Nathan. _______________________________________________ Powered by www.kitware.com <http://www.kitware.com> <http://www.kitware.com> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview _______________________________________________ Powered by www.kitware.com <http://www.kitware.com> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview