Skip to main content

MetakernelNotTracked

A metakernel reference matched nothing that skd tracks.

Usage

Source

MetakernelNotTracked(
    name,
    detail=None,
)

Raised when a reference is neither a file on disk nor a match in the metakernel registry, or when the matching registry row points at a file that is gone. Every method that resolves a metakernel reference can raise it, among them KernelDB.resolve_metakernel, update_metakernel and info_metakernel. Subclass of LookupError.

The default message carries the hint spice-kernel-db get <name>. When the row’s file is gone it names clean --registry and get instead. The CLI prints the message and exits with code 1.

Issue #11: skd check <name>.tm used to hand the bare name straight to parse_metakernel, which raised FileNotFoundError from inside the parser and printed a traceback. The name had not been downloaded yet.

Attributes

name: str
The reference as it was given.