zeep, infinite recursion

Peter Otten __peter__ at web.de
Mon May 29 08:55:28 EDT 2017


Nagy László Zsolt wrote:

> Running this command:
> 
> python3.6 -m zeep exmaple.wsdl

This example is no more, we heave ceased to see it, it's gone to meet its 
maker... this is an ex-ex-ample.

> line 259, in signature
>     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. 

So you tell us it's just restin' under an NDA.

> 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?

A bug in zeep, or the example, or the Java stuff.

An easy thing to try: increase the recursion limit with

sys.setrecursionlimit(2000)




More information about the Python-list mailing list