https://pantsbuild.org/ logo
#general
Title
# general
b

bored-art-40741

04/18/2016, 11:53 PM
Copy code
Exception caught: (<class 'pants.option.errors.ParseError'>)
  File "/Users/pl/code/foursquare.web/.pantsenv/bin/pants", line 11, in <module>
    sys.exit(main())
  File "/Users/pl/code/foursquare.web/.pantsenv/lib/python2.7/site-packages/pants/bin/pants_exe.py", line 44, in main
    PantsRunner(exiter).run()
  File "/Users/pl/code/foursquare.web/.pantsenv/lib/python2.7/site-packages/pants/bin/pants_runner.py", line 53, in run
    options_bootstrapper=options_bootstrapper)
  File "/Users/pl/code/foursquare.web/.pantsenv/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/pl/code/foursquare.web/.pantsenv/lib/python2.7/site-packages/pants/bin/local_pants_runner.py", line 49, in run
    self._maybe_profiled(self._run)
  File "/Users/pl/code/foursquare.web/.pantsenv/lib/python2.7/site-packages/pants/bin/local_pants_runner.py", line 46, in _maybe_profiled
    runner()
  File "/Users/pl/code/foursquare.web/.pantsenv/lib/python2.7/site-packages/pants/bin/local_pants_runner.py", line 58, in _run
    self._exiter.apply_options(options)
  File "/Users/pl/code/foursquare.web/.pantsenv/lib/python2.7/site-packages/pants/bin/exiter.py", line 58, in apply_options
    self._should_print_backtrace = options.for_global_scope().print_exception_stacktrace
  File "/Users/pl/code/foursquare.web/.pantsenv/lib/python2.7/site-packages/pants/option/options.py", line 334, in for_global_scope
    return self.for_scope(GLOBAL_SCOPE)
  File "/Users/pl/code/foursquare.web/.pantsenv/lib/python2.7/site-packages/pants/option/options.py", line 275, in for_scope
    self._parser_hierarchy.get_parser_by_scope(scope).parse_args(flags_in_scope, values)
  File "/Users/pl/code/foursquare.web/.pantsenv/lib/python2.7/site-packages/pants/option/parser.py", line 203, in parse_args
    '\nCaused by:\n{}'.format(', '.join(args), self._scope_str(), traceback.format_exc())

Exception message: Error computing value for --print-exception-stacktrace in global scope (may also be from PANTS_* environment variables).
Caused by:
Traceback (most recent call last):
  File "/Users/pl/code/foursquare.web/.pantsenv/lib/python2.7/site-packages/pants/option/parser.py", line 196, in parse_args
    val = self._compute_value(dest, kwargs, flag_vals)
  File "/Users/pl/code/foursquare.web/.pantsenv/lib/python2.7/site-packages/pants/option/parser.py", line 533, in _compute_value
    dest, self._scope_str()))
ParseError: Multiple cmd line flags specified for option print_exception_stacktrace in global scope