Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'ProspectorLinter' object has no attribute 'load_file_configuration' #147

Closed
syabro opened this issue Dec 3, 2015 · 2 comments

Comments

@syabro
Copy link

syabro commented Dec 3, 2015

After installing prospector today I got

Traceback (most recent call last):
  File "/Users/syabro/.virtualenvs/homeowners/bin/prospector", line 11, in <module>
    sys.exit(main())
  File "/Users/syabro/.virtualenvs/homeowners/lib/python2.7/site-packages/prospector/run.py", line 143, in main
    prospector.execute()
  File "/Users/syabro/.virtualenvs/homeowners/lib/python2.7/site-packages/prospector/run.py", line 50, in execute
    for tool in self.config.get_tools(found_files):
  File "/Users/syabro/.virtualenvs/homeowners/lib/python2.7/site-packages/prospector/config/__init__.py", line 43, in get_tools
    self.configured_by[tool_name] = tool.configure(self, found_files)
  File "/Users/syabro/.virtualenvs/homeowners/lib/python2.7/site-packages/prospector/tools/pylint/__init__.py", line 190, in configure
    self._pylintrc_configure(pylintrc, linter)
  File "/Users/syabro/.virtualenvs/homeowners/lib/python2.7/site-packages/prospector/tools/pylint/__init__.py", line 124, in _pylintrc_configure
    linter.load_file_configuration(pylintrc)
AttributeError: 'ProspectorLinter' object has no attribute 'load_file_configuration'
@syabro
Copy link
Author

syabro commented Dec 3, 2015

Looks like in pylint 1.5 they switched from logilab.common.configuration.OptionsManagerMixIn to pylint.config.OptionsManagerMixIn which doesn't have this method.

@carlio
Copy link
Contributor

carlio commented Dec 7, 2015

Ah, thanks for this report - I was just debugging that myself!

@carlio carlio closed this as completed in 1e60635 Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants