Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

suds.TypeNotFound: Type not found: 'IsPlatformObject' #29

Open
johnjiang opened this issue May 26, 2014 · 3 comments
Open

suds.TypeNotFound: Type not found: 'IsPlatformObject' #29

johnjiang opened this issue May 26, 2014 · 3 comments

Comments

@johnjiang
Copy link

Running the following code:

import ET_Client
myclient = ET_Client.ET_Client()
triggeredsend = ET_Client.ET_TriggeredSend()
triggeredsend.auth_stub = myclient
results = triggeredsend.get()
print results

Gives me:

No handlers could be found for logger "suds.umx.typed"
Traceback (most recent call last):
  File "/my/path/et.py", line 113, in <module>
    results = triggeredsend.get()
  File "/my/path/lib/python2.7/site-packages/FuelSDK/rest.py", line 288, in get
    obj = ET_Get(self.auth_stub, self.obj_type, props, search_filter)
  File "/my/path/lib/python2.7/site-packages/FuelSDK/rest.py", line 192, in __init__
    response = auth_stub.soap_client.service.Retrieve(ws_retrieveRequest)       
  File "/my/path/lib/python2.7/site-packages/suds/client.py", line 538, in __call__
    return client.invoke(args, kwargs)
  File "/my/path/lib/python2.7/site-packages/suds/client.py", line 602, in invoke
    result = self.send(soapenv)
  File "/my/path/lib/python2.7/site-packages/suds/client.py", line 643, in send
    result = self.succeeded(binding, reply.message)
  File "/my/path/lib/python2.7/site-packages/suds/client.py", line 678, in succeeded
    reply, result = binding.get_reply(self.method, reply)
  File "/my/path/lib/python2.7/site-packages/suds/bindings/binding.py", line 156, in get_reply
    result = self.replycomposite(rtypes, nodes)
  File "/my/path/lib/python2.7/site-packages/suds/bindings/binding.py", line 230, in replycomposite
    sobject = unmarshaller.process(node, resolved)
  File "/my/path/lib/python2.7/site-packages/suds/umx/typed.py", line 66, in process
    return Core.process(self, content)
  File "/my/path/lib/python2.7/site-packages/suds/umx/core.py", line 48, in process
    return self.append(content)
  File "/my/path/lib/python2.7/site-packages/suds/umx/core.py", line 63, in append
    self.append_children(content)
  File "/my/path/lib/python2.7/site-packages/suds/umx/core.py", line 140, in append_children
    cval = self.append(cont)
  File "/my/path/lib/python2.7/site-packages/suds/umx/core.py", line 61, in append
    self.start(content)
  File "/my/path/lib/python2.7/site-packages/suds/umx/typed.py", line 80, in start
    raise TypeNotFound(content.node.qname())
suds.TypeNotFound: Type not found: 'IsPlatformObject'
@johnjiang
Copy link
Author

If specify the fields directly it works

triggeredsend.props = ["ObjectID", "CustomerKey"]

@alanjds
Copy link

alanjds commented Oct 31, 2018

This is broken from May 2014.

Is the lib still alive?

@jdnrg
Copy link

jdnrg commented May 24, 2019

I am also encountering this error

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants