[vtkusers] python, can t find file (vtkGetDataRoot)

Harald Berger harald.berger at boku.ac.at
Thu Dec 11 03:30:16 EST 2003


Hello

is there anybody out there who can explain me the
usage of data roots? i don t understand the meaning
of the following python lines:

from vtk.util.misc import vtkGetDataRoot
VTK_DATA_ROOT = vtkGetDataRoot()

i dont have the problem with tcl but in python i
can t import any data.

the error messages are quite curiuos as follows:

ERROR: In C:\martink\vtk42\VTK\IO\vtkVolume16Reader.cxx, line 334
vtkVolume16Reader (0x06206718): Can't find file: ../../../../VTKData/Data/headsq/quarter.1

ERROR: In C:\martink\vtk42\VTK\Graphics\vtkPolyDataNormals.cxx, line 88
vtkPolyDataNormals (0x06200388): No data to generate normals for!

ERROR: In C:\martink\vtk42\VTK\Graphics\vtkPolyDataNormals.cxx, line 88
vtkPolyDataNormals (0x06208E50): No data to generate normals for!

i don t own a directory called 'martink' 
my data are in the following path:
c:\Programme\vtk42\VTKData\Data\headsq\

i moved this around but it didn t help. i also tried to enter the whole path
with no sucsess.
i also searched the archives but couldn t find anything.
i am using win xp, vtk 4.2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20031211/4796fac8/attachment.htm>


More information about the vtkusers mailing list