Message codes: Values¶
See also: Message codes (the index of every code) and Messages and codes (the line grammar, what a code guarantees and when to trust one).
A line shows each value as <name> in the catalogue; a line printed by Pitloom
holds the value there. The table lists every name a line or a prefix uses.
Values¶
| Value | What it is |
|---|---|
<activity> |
what was running when the signal came: the build, the AI model file copy, a guarded activity |
<answered> |
the project name PyPI answered for, as its answer gives it; in quotes, escaped, when it holds a control character |
<arity> |
how many values argparse expected after the option (one argument, 2 arguments, at least one argument) |
<backend> |
the build backend a pyproject.toml declares in [build-system] build-backend, as written; escaped when it holds a control character |
<card> |
the kind of card: model card, dataset card, Hugging Face dataset card |
<claimant> |
the other element, key or spelling that wants the same id or holds it (a path, a name, name@version), as given, a URL's credentials masked; in quotes, escaped, when it holds a control character |
<classifiers> |
the License :: classifiers, sorted, comma-separated, each on one line, a URL's credentials masked, cut to 120 characters (... after it when cut), in quotes, escaped when it holds a control character |
<command> |
the git command that was stopped or failed (clone, fetch, ls-remote, checkout) |
<config-key> |
where the value sits: its table as the file spells it ([tool.pitloom], [tool:pitloom] in setup.cfg, [[tool.pitloom.creator]]), then its key, the entry of an array counted from 0 and the entry's key, each when there is one ([tool.pitloom.fragment] files entry 2 role) |
<count> |
the number of files in brackets, (N files), after a space when there are two or more; else nothing |
<declared> |
the SHA-256 a source declares, in hex |
<declared-in> |
where the dependency is declared: Poetry, optional-dependencies, extras_require, or the setting that lists a requirements file; escaped when it holds a control character |
<dependency> |
a dependency as declared (a requirement, a Poetry table), on one line, a URL's credentials masked, cut to 120 characters (... after it when cut), in quotes, escaped when it holds a control character |
<destination> |
where a moved key goes now, as pyproject.toml spells it: [[tool.pitloom.creation-tool]] name, [[tool.pitloom.creator]] email, [[tool.pitloom.creator]] name, [[tool.pitloom.creator]] type, [tool.pitloom.fragment] files, [tool.pitloom] extract-file-header and [tool.pitloom.content-type], [tool.pitloom] id-registry, [tool.pitloom] sbom-basename, [tool.pitloom] update-id-registry |
<dir> |
a directory as Pitloom names it (a temporary directory by its name only, <checkout> or <download> for a remote source's); in quotes, escaped, when it holds a control character |
<discoverer> |
the file discoverer of the project's build backend: Flit, Hatchling, PDM, Poetry, Setuptools |
<dropped> |
what a conflict left out (versions, a lock file, a value), sorted, comma-separated, each on one line, a URL's credentials masked, cut to 120 characters (... after it when cut), in quotes, escaped when it holds a control character |
<element> |
the SBOM element that holds the value (for a fingerprint that matches nothing, the SBOM's SpdxDocument), by its spdxId, a URL's credentials masked; in quotes, escaped, when it holds a control character |
<kind> |
what the element is: dataset, dataset package, entity, file, model |
'<type>' |
an element type as the ID registry file names it, in quotes ('software_File'), escaped when it holds a control character |
<elements> |
G7 elements, comma-separated, each with where its value is written (model-architecture (written in ai_typeOfModel)) or (not recorded) |
<entities> |
names or keys, comma-separated, each as given, a URL's credentials masked; in quotes, escaped, when it holds a control character |
<entity> |
an element's name or ID registry key (a path, a dataset or model name, name@version), as given, a URL's credentials masked; in quotes, escaped, when it holds a control character |
<entries> |
the unknown keys, sorted, comma-separated, each as the file names it; in quotes, escaped, when it holds a control character |
<entry> |
an archive member, a metadata key, a path in a wheel or an installed-metadata directory (demo-1.0.dist-info), as the file names it; in quotes, escaped, when it holds a control character |
<error> |
what the reader or the file system reported, or git's own fatal:, error: and remote: lines joined by semicolons (server text), on one line; in quotes, escaped, when it holds a control character |
<exit-code> |
the exit code of the build process: negative for a POSIX signal (-9), a large number for a Windows status (3221225786) |
<expected> |
what the value must be: true or false; an integer; an integer of at least 1; 0 (no cap) or an integer of at least 8; a string; a non-empty string; a string or an inline table; a table; an array; an array of tables; an array of strings; a string or an array of strings; one of annotation, both, comment; one of full, minimal; one of always, auto, never; one of auto, extension, magika; one of agent, organization, person, software-agent; a media type type/subtype (image/png); a file name, not a path; a plain file name (not a path, not only .spdx3.json); an ISO 8601 date and time; a path to a configuration file, or a PitloomConfig; a fingerprint (sha256: and 16 to 64 lowercase hex digits); an array of fingerprints; "warn" or "refuse" |
<expression> |
the SPDX license expression recorded (Apache-2.0 AND MIT); escaped when it holds a control character |
<extra> |
an extra, or several sorted and comma-separated, each on one line, a URL's credentials masked, cut to 120 characters (... after it when cut), in quotes, escaped when it holds a control character |
<failure> |
what the operating system reported (Permission denied), never the path it names, or what the decoder, reader or build step reported, cut to 500 characters (then ...); on one line, in quotes, escaped, when it holds a control character |
<field> |
the project setting that lists the file (project.readme, tool.setuptools.dynamic.dependencies, setup.cfg metadata.long_description), a licence value's field (License-Expression), or a project metadata key or table (project.version, [tool.poetry] 'readme'); in quotes, escaped, when it holds a control character |
<fields> |
the model fields not recorded, or recorded weaker, comma-separated, each with a note in brackets when it has one (type_of_model, properties.tags (kept as raw string)) |
<file> |
a file as Pitloom names it (its path, or a remote document's URL or Hub dataset id); in quotes, escaped, when it holds a control character |
<files> |
file names, comma-separated, and N more after the last one shown; a name in quotes, escaped, when it holds a control character |
<fingerprint> |
sha256: and the first hex digits of the SHA-256 of the value as the SBOM writes it: what --accept-url-credential takes |
<folders> |
the subfolders that hold a Python project, comma-separated, and N more after the last one shown; a name in quotes, escaped, when it holds a control character |
<format> |
the model format (gguf) |
<formats> |
model formats, comma-separated (gguf, onnx) |
<given-namespace> |
the namespace a command line or caller gives, a URL's credentials masked; in quotes, escaped, when it holds a control character |
<got> |
what was found, by its TOML type (a string, an integer, a float, a boolean, a date-time, a date, a time, an array, a table), nothing for a missing key, from a library caller None or a value of type X; a boolean, a number and a string are shown after the type (a string in quotes, a URL's credentials masked, cut to 40 characters with ... after it, escaped), never a table or an array, and never a value that may be a credential |
<hosts> |
the hosts Pitloom fetches PyPI files from, comma-separated (files.pythonhosted.org) |
<input> |
what the path was named as: config file, fragments directory, ID registry file, PATH, project directory, project path, pyproject.toml, SBOM file, sdist archive, setup.cfg, setup.py, wheel file |
<kept> |
what a conflict kept (a lock file, a version, a value), on one line, a URL's credentials masked, cut to 120 characters (... after it when cut), in quotes, escaped when it holds a control character |
<key> |
the key naming the input: FILE, DIR, FIELD (a metadata field or table), DATASET, MARKER or REQUIREMENT |
<key-reason> |
why the element is keyed by its name, or files by their path as read: not found, outside the project root, not a regular file, used only by a model with no file, not found: declare paths relative to the registry root (id import --project-dir) or run id import from the directory the script ran in, the project is outside the registry's root, their path is outside the registry's root, their path leads outside the archive's project |
<kwargs> |
the file-selection setup() keywords a setup.py passes, comma-separated (packages, package_dir); **kwargs for an unpacked mapping |
<license> |
a licence value as read, on one line, a URL's credentials masked, cut to 120 characters (... after it when cut), in quotes, escaped when it holds a control character |
<license-reason> |
why the value is no SPDX license expression: LicenseID's reason (parse failed: Unexpected 'OR', not found: Acme-Terms) or Pitloom's (more than one line); escaped when it holds a control character |
<limit> |
the cap, in its unit |
<line> |
the line of a requirements file, counted from 1 as pip counts it (str.splitlines(); a continued line by its first) |
<lock-key> |
the lock-file key the line is about: _meta.pipfile-spec, category, created-by, default, default-groups, dependencies, extra, extras, groups, lock-version, marker, metadata.lock-version, metadata.lock_version, name, optional-dependencies, package, packages, version |
<lock-value> |
a value as the lock file or the line states it, on one line, a URL's credentials masked, cut to 120 characters (... after it when cut), in quotes, escaped when it holds a control character |
<sha256> |
the SHA-256 of the bytes read, in hex |
<metadata-fields> |
[project] keys, comma-separated (version, dependencies) |
<module> |
the Python module Pitloom imports for the step (h5py) |
<name> |
the input as Pitloom names it (a path, a field, a dataset, the start of a requirement), a setup() keyword or a name a file declares; in quotes, escaped, when it holds a control character |
<namespace> |
a document namespace IRI, as an ID registry file or an SBOM states it, a URL's credentials masked; in quotes, escaped, when it holds a control character |
<why> |
why a text cannot be a document namespace: must not contain '#', is not an absolute IRI (a scheme is needed, as in https://example.org/ns), has a character an IRI cannot hold, holds user information, a secret query value or an access token, or a query nested or encoded too deeply to read |
<number> |
a whole number: a count, or a length in characters |
<oid> |
the SHA-256 the pointer states, in hex |
<option> |
a command-line option as the command names it (--allow-build, -o/--output, --pretty/--no-pretty), a positional argument as argparse names it (command), or a library parameter (project_metadata) |
<other> |
the option given before, which the one named first cannot be given with, as argparse names it (--pretty) |
<outcome> |
what Pitloom kept, and what it did not read or record |
<output> |
the last line the build printed that is not blank, each control character a space, a URL credential or a known token masked, cut to 200 characters (then ...); escaped when it holds a character a terminal would act on; (no output) when it printed none |
<package> |
a package as the lock file or the declaration names it (a valid distribution name); escaped when it holds a control character |
<part> |
the part of a Keras or HDF5 model that was not read: a root attribute (model_config) or a key path in a config (training_config.optimizer, layers[0].config) |
'<path>' |
a path in quotes |
<pointer> |
the field of the element that holds the value, as an RFC 6901 JSON pointer into it (/software_downloadLocation, /externalRef/0/locator/0); for a statement Pitloom writes, on into it (/statement/metadata/<key>, /statement/fields/<field>/note), or into the comment's provenance line (/comment/<field>/note), a part no JSON pointer resolves on the element; in quotes, escaped, when it holds a control character |
<process-group> |
the process group of the build (POSIX), which its leftover processes share |
<cap> |
the cap's name; a setting's name when a setting sets it (max-model-extract-bytes) |
<x.y> |
the Python version Pitloom runs on, as 3.10: the grammar a file was read as |
<reason> |
what the bound check found: a count the file cannot hold, a malformed ZIP central directory, or a GGUF version or ZIP archive it cannot check |
<ref> |
a branch, tag or commit as the URL names it; escaped when it holds a control character |
<ref-kind> |
what the URL names: branch, tag, commit |
<refusal> |
argparse's reason for refusing the value, on one line (invalid choice: ...); never a missing value (expected ...) or a conflict (not allowed with ...); in quotes, escaped, when it holds a control character |
<what> |
what of an element the ID registry cannot hold: key, name, project_root, sha256, spdxId, type name |
<requirement> |
Pitloom with the extra that installs the library (pitloom[gguf]); pitloom[ai] installs every model reader |
'<root>' |
the directory a path is checked against (--project-dir, a project root), in quotes like the path beside it |
<seconds> |
the time allowed, in whole seconds |
<setting> |
a configuration setting as the file names it (accept-url-credentials, url-credentials, the known key an unknown one is closest to) |
<settings> |
the build settings left out, comma-separated, as the file names them (tool.hatch.metadata.hooks, tool.setuptools.cmdclass, metadata.version) |
<signal> |
the signal that ended Pitloom: SIGTERM, SIGHUP, SIGBREAK |
<size> |
a size in bytes (1 byte, N bytes) |
<source> |
what declared a digest (the PyPI JSON API) |
<source-kind> |
the kind of source that gives no registry version: archive, bzr, directory, editable, file, git, hg, path, svn, url, vcs, virtual |
<spdx-id> |
an element's spdxId, as held or read, a URL's credentials masked; in quotes, escaped, when it holds a control character |
<steps> |
LicenseID's steps (separator, version_spelling), or its category when it took none (listed_name); escaped when it holds a control character |
<table> |
the configuration table: [tool.pitloom] or [tool:pitloom] |
<tables> |
the configuration tables that know a key, joined by or, as the file spells them |
<target> |
a URL a redirect or a file points to, the repository a Git page URL names, as given, the Hugging Face model URL a Hub URL is read as, or the Hatchling build target the build hook ran for (sdist); in quotes, escaped, when it holds a control character |
<unit> |
what the cap counts, singular (byte, entry, level) |
<url> |
a URL as given, or the repository URL read from it (a PyPI page URL, a Git URL, a request URL, huggingface_hub's HF_ENDPOINT, or the page of the Hugging Face model or dataset a Hub API request asked about); in quotes, escaped, when it holds a control character |
<use> |
what the file was read or written for, or the directory listed for: for dataset hashing, for dependency pins, for file discovery, for file scanning, for ID registry indexing, for the input check, for license files, for the configuration, for the project metadata, for the Croissant document, for the dataset card, for the Hugging Face dataset card, for the ID registry, for the model card, for the model hash, for the PyPI release metadata, for the SBOM, for the script hash, for usage scanning |
<value> |
the value as the file states it (a tensor dimension: its Python repr, cut to 40 characters); in quotes, escaped, when it holds a control character |
<type> |
the type of the value the file holds, as Python names it: bool, date, datetime, dict, float, int, list, NoneType, str, time |
<version> |
a release version as the URL, PyPI or a lock file gives it; in quotes, escaped, when it holds a control character |
<when> |
the case the option has no effect in, or cannot be used in (without --allow-build, for a remote repository (...), when embedding multiple wheels) |
<why> |
why a redirect or an HF_ENDPOINT was refused, a file skipped, a release yanked (no reason given when PyPI gives none), or a Git URL could not be checked for a redirect (HTTP 404, no answer in time, an exception's class name); on one line, in quotes, escaped, when it holds a control character |
<command-line> |
a git command line as run, the credentials of a URL in it taken out; escaped when it holds a control character |
<subcommand> |
the loom command that failed (generate, fragment validate) |