Skip to content

[BUG] "netlab test grpc" dies a horrible death #3409

@ipspace

Description

@ipspace

Here's the error message:

$ netlab test grpc

┌──────────────────────────────────────────────────────────────────────────────────┐
│ CHECKING grpc installation                                                       │
└──────────────────────────────────────────────────────────────────────────────────┘
Traceback (most recent call last):
  File "/usr/local/lib/python3.14/dist-packages/box/box.py", line 605, in __getitem__
    return super().__getitem__(item)
           ~~~~~~~~~~~~~~~~~~~^^^^^^
KeyError: 'grpc'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/bin/netlab", line 15, in <module>
    netsim.cli.lab_commands(__file__)
    ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/usr/local/lib/python3.14/dist-packages/netsim/cli/__init__.py", line 548, in lab_commands
    mod.run(sys.argv[arg_start:])   # type: ignore
    ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.14/dist-packages/netsim/cli/test.py", line 118, in run
    external_commands.run_probes(settings,args.provider)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.14/dist-packages/netsim/cli/external_commands.py", line 180, in run_probes
    for p in settings.providers[provider].probe:
             ~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/usr/local/lib/python3.14/dist-packages/box/box.py", line 632, in __getitem__
    raise BoxKeyError(str(err)) from _exception_cause(err)
box.exceptions.BoxKeyError: "'grpc'"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions