Skylark Edge
Skylark Edge

Errors

Every error code Skylark Edge reports, what causes it and what to do — plus fixes for installation problems.

Every error from the Python package is a SkylarkEdgeError with a code; the command line prints the same code in brackets at the end of its message. Switch on the code, never the message.

Error codes

CodeWhat happenedWhat to do
no_license_keyNo license key was passed, set in SKYLARK_LICENSE_KEY or found in an activation file.Give it your organization's key; see The license key.
license_invalidSkylark Central doesn't recognize the key. Any model keys on this machine are forgotten.Check the key for typos. If it was replaced, use the new one.
license_inactiveThe key is right, but your organization has no active license. Any model keys on this machine are forgotten.Check your licenses. Once one is active, download the models again.
unknown_modelYour license doesn't include that model, or the name is misspelled. Or, when loading: the model needs a newer Skylark Edge.Run skylark-edge models for the names you can use. If the message says to upgrade: pip install -U skylark-edge --index-url https://docs.skylarklabs.ai/simple/.
unsupported_modelThe name is a model Skylark Edge doesn't run: a TensorRT (_jetson_…) or Hailo (_hailo) build, or a model that isn't a detector this version knows. Nothing was downloaded.Download the ONNX build the message names, for example cctv_detection. If the model is new, pip install -U skylark-edge --index-url https://docs.skylarklabs.ai/simple/.
not_downloadedThe model isn't on this machine.skylark-edge download <model> while online.
grace_expiredMore than 30 days since the last license check.Connect the machine and run skylark-edge models once. See Running offline.
clock_rollbackThe system clock is more than an hour behind the latest time this machine has seen.Correct the clock, or connect once. See The clock.
offlineSkylark Central couldn't be reached, for something that needs it: listing, downloading, or a first load on a machine that has never checked its license.Check the connection, and that outbound HTTPS to https://central.skylarklabs.ai is allowed. Behind a proxy, set HTTPS_PROXY.
central_errorSkylark Central answered with an error of its own.Try again later. If it persists, raise a support ticket with the message.
download_failedThe download broke off or arrived the wrong size, and retrying didn't help.Run the download again; it resumes. Check free disk space.
decrypt_failedThe model file is damaged or doesn't match its key.Download it again: skylark-edge download <model>.
state_unreadableThe saved license state was made on another machine, or is damaged.Connect once and download the models again. See What is kept on the machine.
no_master_secretThis copy of Skylark Edge wasn't built by Skylark, so it can't open models.Install it from Skylark's index, as in the quickstart.
io_errorReading or writing SKYLARK_HOME failed.Check that the directory is writable and the disk isn't full.
no_runtimeONNX Runtime isn't installed.pip install onnxruntime, or onnxruntime-gpu or onnxruntime-directml; see the quickstart.
runtime_errorONNX Runtime couldn't load or run the model, or the provider you named isn't available.Try provider="cpu". For CUDA, check the driver and that CUDA 12 is installed.
bad_imageThe image couldn't be read: not a JPEG, PNG, BMP or WebP file, or an array of the wrong shape.Pass a supported file, or an H × W × 3 uint8 array.
bad_requestAn argument isn't valid, such as an unknown provider.The message names the valid values.

Installation problems