Sebastien: Good question:
My goal is to have a script which smooths results between simulation steps (fortran codes). I use paraview to view results, and the smoothing filter in paraview seems to do what I want. I want to start with a Trace-generated python script, and edit it to write the vertices and element info to a file (.ply would be nice) that the next code can read. So, fortunately for me (in some sense), I decided to upgrade my ubuntu OS to 12.10. This has paraview 3.14.1-6build1 on its software list (aptitude). This version corrected a bug (with pvpython) in the version of paraview 3.14 that I was using. (I also spent a day trying to get/install other versions. That was not very successful.) Now if I import the trace generated py file, it pops up (and stays). Not a very good image, but it is a start! Being new to python and paraview, this is quite a step. Any suggestions as to how to write vertex/node info would be appreciated. Thanks, Tim On Thu, Nov 29, 2012 at 7:41 PM, Sebastien Jourdain < sebastien.jourd...@kitware.com> wrote: > I don't know ? what your script is supposed to do ? Render an image and > quit ? > > > On Thu, Nov 29, 2012 at 1:19 PM, Timothy Cale <drtsc.p...@gmail.com>wrote: > >> I am using paraview 3.14 (64 bit, ubuntu 12.04 vm on a MBP). >> >> I am trying to run pvpython to view .py files generated using Trace: >> >> 'which' pvpython' yields: /usr/bin/pvpython >> >> 'pvpython' yields: Error converting executable file >> "/usr/bin/../lib/paraview/pvpython" to real path: No such file or directory >> >> So, /usr/bin/python seems to be looking for /usr/lib/paraview/pvpython >> >> Which is indeed not there. >> >> I uninstalled (purged) and installed 3.14 again. Same thing. >> >> BTW: I did see the notes regarding 3.14.1-2 from ~6 months ago, but >> cannot tell which 3.14 binary installer is on the >> Paraview download page. >> >> Nevertheless, I downloaded the 3.14 tar-ball. >> >> When I run a .py script generated using trace, an image pops up for a >> second, then disappears. >> >> BTW: The same thing happens with 3.98, at least on a companion machine. >> >> What am I missing? >> >> Thanks, >> Tim >> >> >> >> _______________________________________________ >> 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 >> >> >
_______________________________________________ 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