[Paraview] Python scripting problem

Renato N. Elias rnelias at nacad.ufrj.br
Thu Apr 3 11:39:43 EDT 2008


Hi everybody,

I've just compiled PV3 from CVS's head with Python support 
(PARAVIEW_ENABLE_PYTHON=ON) and after the compilation has completed and 
installed and tried to run the "Helix curve" example published in the 
ParaView's wiki (http://paraview.org/Wiki/Python_Programmable_Filter). 
When I hit the apply button I get the following error message:

Traceback (most recent call last):
File "<string>", line 1, in <module>
File "<string>", line 14, in RequestData
NameError: global name 'paraview' is not defined

What am I doing wrong?

Compilation details:
-- Visual Studio 2005
-- Windows Vista Business 32 bits
-- CMake 2.4-7
-- Python 2.5
-- Qt 4.3.4
-- PV-3 (CVS Head)

Regards

Renato.





More information about the ParaView mailing list