0

I'm trying to use the WSDL package in python. The error I'm getting is associated with other packages and I'm not sure how to trace the problem. Here's the error:

python flightaware.py
http://flightxml.flightaware.com/soap/FlightXML2
__main__.myHTTPTransport

Traceback (most recent call last):
File "flightaware.py", line 37, in <module>
  DF = WSDL.Proxy(wsdlFile, transport=myHTTPTransport)
File "/usr/local/lib/python2.7/distpackages/SOAPpy0.12.22py2.7.egg/SOAPpy/WSDL.py", line 74, in __init__
  stream = urllib.URLopener(key_file=config.SSL.key_file, cert_file=config.SSL.cert_file).open(wsdlsource)
File "/usr/lib/python2.7/urllib.py", line 203, in open
  name = 'open_' + urltype
TypeError: cannot concatenate 'str' and 'NoneType' objects

Any ideas would help.

martineau
  • 119,623
  • 25
  • 170
  • 301
user6035379
  • 181
  • 3
  • 16
  • Pleas [edit] your answer and add the code causing the error or at least enough of it to provide more information about the context of the problem. – martineau Sep 17 '16 at 18:49
  • I looked at the new version of the code at: https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwiwkPKt8JjPAhVDORQKHUcKDt4QFggcMAA&url=https%3A%2F%2Fgithub.com%2Ffredpalmer%2Fflightaware&usg=AFQjCNEduWe41TSTtLl-SCUgKuO4Sx1I4g – user6035379 Sep 18 '16 at 12:08

0 Answers0