[wingide-users] Is the PyLint tool detecting tracebacks?

Ken Kinder kkinder at gmail.com
Mon Nov 3 13:16:53 MST 2008


I noticed a weird lack of warnings from pylint. When I run it by hand, I
get:

Traceback (most recent call last):
  File "/usr/bin/pylint", line 5, in <module>
    pkg_resources.run_script('pylint==0.14.0', 'pylint')
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 448, in
run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1166,
in run_script
    execfile(script_filename, namespace, namespace)
  File
"/usr/lib/python2.5/site-packages/pylint-0.14.0-py2.5.egg/EGG-INFO/scripts/pylint",
line 4, in <module>
    lint.Run(sys.argv[1:])
  File
"/usr/lib/python2.5/site-packages/pylint-0.14.0-py2.5.egg/pylint/lint.py",
line 901, in __init__
    linter.check(args)
  File
"/usr/lib/python2.5/site-packages/pylint-0.14.0-py2.5.egg/pylint/lint.py",
line 492, in check
    self.check_astng_module(astng, checkers)
  File
"/usr/lib/python2.5/site-packages/pylint-0.14.0-py2.5.egg/pylint/lint.py",
line 602, in check_astng_module
    if implements(checker, IASTNGChecker)])
  File
"/usr/lib/python2.5/site-packages/pylint-0.14.0-py2.5.egg/pylint/lint.py",
line 619, in astng_events
    self.astng_events(child, checkers, _reversed_checkers)
  File
"/usr/lib/python2.5/site-packages/pylint-0.14.0-py2.5.egg/pylint/lint.py",
line 619, in astng_events
    self.astng_events(child, checkers, _reversed_checkers)
  File
"/usr/lib/python2.5/site-packages/pylint-0.14.0-py2.5.egg/pylint/lint.py",
line 616, in astng_events
    checker.visit(astng)
  File "/usr/lib/python2.5/site-packages/logilab/astng/utils.py", line
84, in visit
    method(node)
  File
"/usr/lib/python2.5/site-packages/pylint-0.14.0-py2.5.egg/pylint/checkers/variables.py",
line 359, in visit_import
    module = node.infer_name_module(parts[0]).next()
AttributeError: Import instance has no attribute 'infer_name_module'

Could it be that wingide is silently not noticing tracebacks from pylint?


More information about the wingide-users mailing list