En Mon, 21 May 2007 02:11:46 -0300, LokiDawg [EMAIL PROTECTED] escribió:
Thanks for the tip, Ondrej. Unfortunately, this didn't do it, as pytvk
still ends up at the same place:
File /usr/lib/python2.4/site-packages/pyvtk/common.py, line 149,
in get_datatype
r = self.get_datatype(o)
On May 18, 12:41 am, [EMAIL PROTECTED] wrote:
This could be very well be a bug where infinite recursion happens, but
see if changing the recursion limit fixes this:
import sys
sys.getrecursionlimit()
1000
sys.setrecursionlimit(1)
Regards,
Ondrej
Thanks for the tip, Ondrej.
Am trying to stumble through the demos for mayavi, after having set up
PyVTK-0.4.74 (together with numpy, scipy, vtk, and mayavi. I'm trying
to use pyvtk to generate a vtk dataset with the following:
from Numeric import *
import scipy
import scipy.special
x = (arange(50.0)-25)/2.0
y =
On May 18, 2:22 pm, LokiDawg [EMAIL PROTECTED] wrote:
snip
All is well until the last line (writing the file), after which the
following error occurs:
snip
File /usr/lib/python2.4/site-packages/pyvtk/common.py, line 140,
in get_datatype
if is_int(obj): return self.default_int