trouble with pyvtk
obaudys at gmail.com
obaudys at gmail.com
Fri May 18 01:41:26 EDT 2007
On May 18, 2:22 pm, LokiDawg <rsa4... at gmail.com> 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
> RuntimeError: maximum recursion depth exceeded
>
> I'm assuming my pyvtk installation is at issue here (?), but I don't
> know enough about python to tell what has gone wrong, or how to fix
> it. Can someone point me in the right direction?
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
More information about the Python-list
mailing list