Skip to content

Instantly share code, notes, and snippets.

@nitay
Created April 9, 2016 06:06
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 nitay/3747de7443eb903280770e048cd08e59 to your computer and use it in GitHub Desktop.
Save nitay/3747de7443eb903280770e048cd08e59 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "/Users/nitay/.cache/pants/setup/bootstrap/pants.qzcmio/install/lib/python2.7/site-packages/pants/bin/extension_loader.py", line 138, in load_backend
module = importlib.import_module(backend_module)
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named scalastyle.register
Exception caught: (<class 'pants.base.exceptions.BackendConfigurationError'>)
File "/Users/nitay/.cache/pants/setup/bootstrap/0.0.80/bin/pants", line 11, in <module>
sys.exit(main())
File "/Users/nitay/.cache/pants/setup/bootstrap/pants.qzcmio/install/lib/python2.7/site-packages/pants/bin/pants_exe.py", line 44, in main
PantsRunner(exiter).run()
File "/Users/nitay/.cache/pants/setup/bootstrap/pants.qzcmio/install/lib/python2.7/site-packages/pants/bin/pants_runner.py", line 53, in run
options_bootstrapper=options_bootstrapper)
File "/Users/nitay/.cache/pants/setup/bootstrap/pants.qzcmio/install/lib/python2.7/site-packages/pants/bin/pants_runner.py", line 43, in _run
return LocalPantsRunner(exiter, args, env, options_bootstrapper=options_bootstrapper).run()
File "/Users/nitay/.cache/pants/setup/bootstrap/pants.qzcmio/install/lib/python2.7/site-packages/pants/bin/local_pants_runner.py", line 49, in run
self._maybe_profiled(self._run)
File "/Users/nitay/.cache/pants/setup/bootstrap/pants.qzcmio/install/lib/python2.7/site-packages/pants/bin/local_pants_runner.py", line 46, in _maybe_profiled
runner()
File "/Users/nitay/.cache/pants/setup/bootstrap/pants.qzcmio/install/lib/python2.7/site-packages/pants/bin/local_pants_runner.py", line 55, in _run
options, build_config = OptionsInitializer(options_bootstrapper, exiter=self._exiter).setup()
File "/Users/nitay/.cache/pants/setup/bootstrap/pants.qzcmio/install/lib/python2.7/site-packages/pants/bin/goal_runner.py", line 129, in setup
return self._setup_options(self._options_bootstrapper, self._working_set)
File "/Users/nitay/.cache/pants/setup/bootstrap/pants.qzcmio/install/lib/python2.7/site-packages/pants/bin/goal_runner.py", line 103, in _setup_options
build_configuration = load_plugins_and_backends(plugins, working_set, backend_packages)
File "/Users/nitay/.cache/pants/setup/bootstrap/pants.qzcmio/install/lib/python2.7/site-packages/pants/bin/extension_loader.py", line 36, in load_plugins_and_backends
load_build_configuration_from_source(build_configuration, additional_backends=backends or [])
File "/Users/nitay/.cache/pants/setup/bootstrap/pants.qzcmio/install/lib/python2.7/site-packages/pants/bin/extension_loader.py", line 124, in load_build_configuration_from_source
load_backend(build_configuration, backend_package)
File "/Users/nitay/.cache/pants/setup/bootstrap/pants.qzcmio/install/lib/python2.7/site-packages/pants/bin/extension_loader.py", line 142, in load_backend
.format(backend=backend_module, error=e))
Exception message: Failed to load the scalastyle.register backend: No module named scalastyle.register
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment