For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Jim_Araujo_1061's avatar
Jim_Araujo_1061
Icon for Nimbostratus rankNimbostratus
Jul 27, 2016

pycontrol throws suds error "TypeNotFound"

Hi all, I'm hoping someone has run into this before and it be an easy one.

import pycontrol.pycontrol as pc
ltmPool = pc.BIGIP(hostname='x.x.x.x', username='uuuu', password='ppppp', fromurl=True, wsdls=['LocalLB.Pool'])
Traceback (most recent call last):
  File "", line 1, in 
  File "pycontrol/pycontrol.py", line 103, in __init__
    self.clients = self._get_clients()
  File "pycontrol/pycontrol.py", line 145, in _get_clients
    sudsclient = self._get_suds_client(url,**self.kw)
  File "", line 7, in new_get_suds_client
  File "build/bdist.linux-x86_64/egg/suds/client.py", line 112, in __init__
  File "build/bdist.linux-x86_64/egg/suds/reader.py", line 152, in open
  File "build/bdist.linux-x86_64/egg/suds/wsdl.py", line 159, in __init__
  File "build/bdist.linux-x86_64/egg/suds/wsdl.py", line 220, in build_schema
  File "build/bdist.linux-x86_64/egg/suds/xsd/schema.py", line 95, in load
  File "build/bdist.linux-x86_64/egg/suds/xsd/schema.py", line 323, in dereference
  File "build/bdist.linux-x86_64/egg/suds/xsd/sxbasic.py", line 259, in dependencies
suds.TypeNotFound: Type not found: '(Array, http://schemas.xmlsoap.org/soap/encoding/, )'

I appreciate everyone’s help. Thank you.

1 Reply

  • Forgot to add using Python 2.7.9, and pycontrol 2.1 (I think, although I'm not sure how to check within the python interpreter)