Hi everyone,
I updated all my cluster to the latest software version (24.4.11), and tried to run some commands in the command line interface (CLI) of workers, such as pio --help
, however, I got the following error log:
Traceback (most recent call last): File "/usr/local/bin/pio", line 8, in <module> sys.exit(pio()) ^^^^^ File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1157, in __call__ return self.main(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1077, in main with self.make_context(prog_name, args, **extra) as ctx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 943, in make_context self.parse_args(ctx, args) File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1644, in parse_args rest = super().parse_args(ctx, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1408, in parse_args value, args = param.handle_parse_result(ctx, opts, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 2400, in handle_parse_result value = self.process_value(ctx, value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 2362, in process_value value = self.callback(ctx, self, value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1300, in show_help echo(ctx.get_help(), color=ctx.color) ^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 704, in get_help return self.command.get_help(self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1325, in get_help self.format_help(ctx, formatter) File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1358, in format_help self.format_options(ctx, formatter) File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1564, in format_options self.format_commands(ctx, formatter) File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1617, in format_commands cmd = self.get_command(ctx, subcommand) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/pioreactor/cli/lazy_group.py", line 25, in get_command return self._lazy_load(cmd_name) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/pioreactor/cli/lazy_group.py", line 35, in _lazy_load cmd_object = getattr(mod, cmd_object_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'pioreactor.cli.workers' has no attribute 'workers'
Did anyone get a similar issue or have an idea of the cause?