trouble with pyvtk

LokiDawg rsa4046 at gmail.com
Mon May 21 01:11:46 EDT 2007


On May 18, 12:41 am, obau... at gmail.com 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(10000)
> Regards,
> Ondrej
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)
  File "/usr/lib/python2.4/site-packages/pyvtk/common.py", line 140,
in get_datatype
    if is_int(obj): return self.default_int

RuntimeError: maximum recursion depth exceeded

I would be interested if anyone else has this difficulty with pyvtk--
Regards, Rolf






More information about the Python-list mailing list