Skip to content

Instantly share code, notes, and snippets.

Created May 27, 2012 09:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/2803111 to your computer and use it in GitHub Desktop.
Save anonymous/2803111 to your computer and use it in GitHub Desktop.
pylint error
No config file found, using default configuration
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.2/bin/pylint", line 4, in <module>
lint.Run(sys.argv[1:])
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/pylint/lint.py", line 902, in __init__
linter.check(args)
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/pylint/lint.py", line 514, in check
self.check_astng_module(astng, walker, rawcheckers)
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/pylint/lint.py", line 577, in check_astng_module
self.process_module(astng)
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/pylint/checkers/__init__.py", line 122, in process_module
stream = node.file_stream
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/logilab/astng/scoped_nodes.py", line 249, in file_stream
return file(self.file)
NameError: global name 'file' is not defined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment