← Back to team overview

yade-users team mailing list archive

[Question #700944]: VTKRecorder is not defined

 

New question #700944 on Yade:
https://answers.launchpad.net/yade/+question/700944

The error messages is followed:
: yade-2022-01-18.git-4be27ac ../../05-3d-postprocessing.py
Welcome to Yade 2022-01-18.git-4be27ac
Using python version: 3.6.9 (default, Dec  8 2021, 21:08:43)
[GCC 8.4.0]
TCP python prompt on localhost:9000, auth cookie `yessud'
XMLRPC info provider on http://localhost:21000
Running script /home/jsmoon/download/trunk/doc/sphinx/tutorial/05-3d-postprocessing.py
Traceback (most recent call last):
  File "/usr/local/bin/yade-2022-01-18.git-4be27ac", line 343, in runScript
    execfile(script,globals())
  File "/usr/lib/python3/dist-packages/past/builtins/misc.py", line 82, in execfile
    exec_(code, myglobals, mylocals)
  File "../../trunk/doc/sphinx/tutorial/05-3d-postprocessing.py", line 26, in <module>
    VTKRecorder(fileName='3d-vtk-', recorders=['all'], iterPeriod=1000),
NameError: name 'VTKRecorder' is not defined
[[ ^L clears screen, ^U kills line. F12 controller, F11 3D view (press "h" in 3D view for help), F10 both, F9 generator, F8 plot. ]]


I set the enable VTK tab: on
//Enable VTK
ENABLE_VTK:BOOL=ON

How can I fixed it.

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.