zeep, infinite recursion

Jussi Piitulainen jussi.piitulainen at helsinki.fi
Mon May 29 08:46:01 EDT 2017


Nagy László Zsolt writes:

> Running this command:
>
> python3.6 -m zeep exmaple.wsdl 
>
> I get this (this is only the end of the traceback):
>
...
>     from zeep.xsd import ComplexType
> RecursionError: maximum recursion depth exceeded
>
> Looks like an infinite recursion to me. Due to a non-disclosure
> agreement, I'm not able to send you the example wsdl. But I can tell
> that the very same WSDL works with Oracle Java Web Services. So the
> WSDL itself is fine.
>
> Could this be a bug in zeep?

It could be some sort of bug, of course, but (not knowing anything about
WSDLs or zeeps) it could be that the data is deeper than Python's
default recursion depth, which is rather small. You could try setting a
higher limit and see if the call succeeds then.

(Search for Python's maximum recursion depth. I don't remember the
incantation but it should be easy to find.)



More information about the Python-list mailing list