## MetakernelNotTracked


A metakernel reference matched nothing that skd tracks.


Usage

``` python
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](KernelDB.resolve_metakernel.md#spice_kernel_db.KernelDB.resolve_metakernel), [update_metakernel](KernelDB.update_metakernel.md#spice_kernel_db.KernelDB.update_metakernel) and [info_metakernel](KernelDB.info_metakernel.md#spice_kernel_db.KernelDB.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](get.md#spice_kernel_db.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](parse_metakernel.md#spice_kernel_db.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.
