Not working in python 3.2
Closed this issue · 6 comments
Per the Tenable forum post, I am hoping for a rewrite of this for python 3.2.
Brad,
Can you please test with the newly committed code and let me know if you still have issues.
Steve,
I ran the 2to3.py tool on the script to convert it to python 3.2 and still got errors. I was able to successfully install the securitycenter,py module, but then when running the test code this error pops up:
socket.gaierror: [Errno 11001] getaddrinfo failed
I believe this has to do with using http.client. Sorry I can not be more helpful. Would you like the output from the 2to3.py code? I believe this tool is standard with python 3.2.
Thanks
Oops hit the wrong button sorry.
if you can send the data, that would be helpful. The current code int he repo is known working with 2.6 and 2.7, so that should be a good starting point. to figure this out ;)
I posted the code to the tenable forum. I believe the issue is with http.client and the changes between 2 and 3. You have been wanting to move to Python 3 for a while now haven't you? j/k :-)