[Fedora-suds-list] Bug
Jeff Ortel
jortel at redhat.com
Wed Jun 4 13:20:46 UTC 2008
Nathan,
Thanks! I'll fix in the next release to be log.warn(..) and grep for
anymore like it.
Regards,
Jeff
Nathan Van Gheem wrote:
> 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.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> fedora-suds-list mailing list
> fedora-suds-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-suds-list
--
Jeff Ortel
RHN Satellite Engineering
Centennial (324D)
(P) 919-754-4603
More information about the suds
mailing list