fast-nail-55400
10/15/2020, 12:02 AMpants.reporting.json_reporting.JsonReporter
still relevant?hundreds-father-404
10/15/2020, 12:03 AMhundreds-breakfast-49010
10/15/2020, 12:10 AMfast-nail-55400
10/15/2020, 12:19 AMfast-nail-55400
10/15/2020, 12:21 AMhundreds-father-404
10/15/2020, 12:25 AMpolite-garden-50641
10/15/2020, 12:28 AMfast-nail-55400
10/15/2020, 12:28 AMhandle_workunits
on registered Subsystems, got itpolite-garden-50641
10/15/2020, 12:31 AMrun_information()
, ,cumulative_timings
,pantsd_stats
,v2_goals_rule_names
get_options_to_record()
hundreds-breakfast-49010
10/15/2020, 12:36 AMfast-nail-55400
10/15/2020, 12:49 AM17:45:43.74 [ERROR] expected string or bytes-like object
Traceback (most recent call last):
File "/Users/tdyas/TC/pants/src/python/pants/bin/daemon_pants_runner.py", line 148, in single_daemonized_run
return runner.run(start_time)
File "/Users/tdyas/TC/pants/src/python/pants/bin/local_pants_runner.py", line 257, in run
callbacks = Subsystem.get_streaming_workunit_callbacks(streaming_handlers)
File "/Users/tdyas/TC/pants/src/python/pants/option/subsystem.py", line 248, in get_streaming_workunit_callbacks
subsystem = subsystem_class.global_instance()
File "/Users/tdyas/TC/pants/src/python/pants/option/subsystem.py", line 157, in global_instance
return cls._instance_for_scope(cls.options_scope) # type: ignore[arg-type] # MyPy is treating cls.options_scope as a Callable, rather than `str`
File "/Users/tdyas/TC/pants/src/python/pants/option/subsystem.py", line 182, in _instance_for_scope
cls._scoped_instances[key] = cls(scope, cls._options.for_scope(scope))
File "/Users/tdyas/TC/pants/src/python/pants/util/memo.py", line 123, in memoize
result = func(*args, **kwargs)
File "/Users/tdyas/TC/pants/src/python/pants/option/options.py", line 420, in for_scope
values_builder = self.for_scope(enclosing_scope(scope)).to_builder()
File "/Users/tdyas/TC/pants/src/python/pants/option/parser_hierarchy.py", line 26, in enclosing_scope
_validate_full_scope(scope)
File "/Users/tdyas/TC/pants/src/python/pants/option/parser_hierarchy.py", line 20, in _validate_full_scope
if _empty_scope_component_re.search(scope):
TypeError: expected string or bytes-like object
fast-nail-55400
10/15/2020, 12:51 AMoptions_scope
returning "metrics"
hundreds-father-404
10/15/2020, 12:52 AMSubsystem
, right? You also will want to register it with the engine, either by using it as a parameter to a rule, or by registering SubsystemRule(MySubsystem)
and ensuring that gets put in a register.py
hundreds-father-404
10/15/2020, 12:52 AMglobal_subsystems.py
. We’re trying to move away from that file, but it probably belongs there for nowfast-nail-55400
10/15/2020, 12:57 AMhundreds-father-404
10/15/2020, 1:04 AMSubsystemRule
If you have a moment, opening an issue would be helpfulpolite-garden-50641
10/15/2020, 3:34 PM