Python Autocomplete/code inteligence not working correctly

I am trying to use Komodo 8.5.3. I cannot seem to get autocomplete/code intelligence to work correctly. In the code fragment below, tConfig will not be evaluated. An error flashes (be nice if this lasted longer than three seconds) “no return type info for …” the variable ‘doc’ will display it’s methods, but ‘tConfig’ will not. Help please? I set the pythonpath environemnt variable, which helped but didn’t solve the problem.

import xml.dom.minidom
import sys
import os

def parseConfig(configFile):
    if not os.path.isFile(configFile):
        print "Can't find config file: " +configFile
        sys.exit()
    if not os.access(configFile):
        print "Can't access config file: " + configFile
        sys.exit()
    doc = xml.dom.minidom.parse(configFile)
    tConfig = doc.getElementsByTagName("LaunchConfiguration")