Hello,
Could somebody point me into right direction on how to display the URL that
are being loaded into suds client?
c=suds.client.Client(url)
This gives infinite recursion, but If I can narrow down which element is
causing the problem then I can use the "doctors" to fix it before it starts
loading into loop.
Ideas?
Thanks
Lucas
On Wed, Aug 29, 2012 at 10:10 AM, Lukasz Szybalski <szybalski(a)gmail.com>wrote:
Hello,
So what do I have to do to get a list of resources that are being
loaded recursively to figure out how to use maybe the "doctor" part of suds
to fix it?
Below doesn't work as it doesn't display any code
import suds.client
logging.getLogger('suds.client').setLevel(logging.DEBUG)
c=suds.client.Client(url)
Thanks,
Lucas
> .....
>>>
>>> File "/home/lucas/tmp/soap2/suds1/trunk/suds/sax/element.py",
line
>>> 405, in getAttribute
>>> prefix, name = splitPrefix(name)
>>> File "/home/lucas/tmp/soap2/suds1/trunk/suds/sax/__init__.py",
line
>>> 49, in splitPrefix
>>> if isinstance(name, basestring) \
>>> RuntimeError: maximum recursion depth exceeded while calling a Python
>>> object
>>>
>>>
http://lucasmanual.com/ <
http://lucasmanual.com/blog/>