[Fedora-suds-list] Bug
Nathan Van Gheem
vangheem at gmail.com
Wed Jun 4 13:06:51 UTC 2008
Hey guys,
Just noticed this,
Traceback (most recent call last):
> File "build/bdist.macosx-10.3-fat/egg/suds/wsdl.py", line 42, in __init__
> self.schema = self.__get_schema()
> File "build/bdist.macosx-10.3-fat/egg/suds/wsdl.py", line 58, in __tns
> #self.warn('tns (%s), not mapped to a prefix', uri)
> AttributeError: WSDL instance has no attribute 'warn'
> Traceback (most recent call last):
> File "test.py", line 12, in ?
> c = Client('http://wsrp.dyndns.org:10040/wps/wsdl/service.wsdl')
> File "client.py", line 56, in __init__
> client = SoapClient(url, kwargs)
> File "client.py", line 226, in __init__
> self.wsdl = WSDL(url)
> File "/Users/nathan/Code/Work/web_services/suds/suds/wsdl.py", line 47,
> in __init__
> self.bindings =dict(
> AttributeError: WSDL instance has no attribute 'warn'
It occurs on this line of the __tns method in the WSDL class,
self.warn('tns (%s), not mapped to a prefix', uri)
As the message states, "warn" is not defined in the WSDL class. I just
commented it out and logged the missing target namespace.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/suds/attachments/20080604/cedc895a/attachment.html
More information about the suds
mailing list