[Paraview] Python scripting problem

Renato N. Elias rnelias at nacad.ufrj.br
Thu Apr 3 14:14:50 EDT 2008


Nice, now it works ;o)

thanks Berk.

Berk Geveci wrote:
> That example seems to be out of date. Replace paraview with vtk in all
> instances of paraview.<something>.
>
> -berk
>
>
> On Thu, Apr 3, 2008 at 11:39 AM, Renato N. Elias <rnelias at nacad.ufrj.br> wrote:
>   
>> 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.
>>
>>
>>
>>  _______________________________________________
>>  ParaView mailing list
>>  ParaView at paraview.org
>>  http://www.paraview.org/mailman/listinfo/paraview
>>
>>     
>
>   



More information about the ParaView mailing list