Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command inventorybios is broken #64

Open
ofaurax opened this issue Jan 16, 2024 · 0 comments
Open

Command inventorybios is broken #64

ofaurax opened this issue Jan 16, 2024 · 0 comments

Comments

@ofaurax
Copy link
Contributor

ofaurax commented Jan 16, 2024

I don't know if this is a work in progress or if this should be removed.

method="cmd_output", klass="utils", cmd="getbiosconfig"
method="cmd_output", errorcode="1", klass="utils", cmd="getbiosconfig"
Traceback (most recent call last):
  File "/usr/local/bin/packet-hardware", line 8, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.5/dist-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.5/dist-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.5/dist-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.5/dist-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/packethardware/inventorybios.py", line 31, in inventorybios
    bios_features = utils.get_bios_features()
  File "/usr/local/lib/python3.5/dist-packages/packethardware/utils.py", line 585, in get_bios_features
    obj = json.loads(bios_features)
  File "/usr/lib/python3.5/json/__init__.py", line 319, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.5/json/decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.5/json/decoder.py", line 357, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Also:

# getbiosconfig 
FATA[0000] dell dsu prereqs setup error: : exec: "dnf": executable file not found in $PATH: failed to lookup bin path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant