Skip to content

Latest commit

 

History

History
221 lines (212 loc) · 17.7 KB

message-codes.md

File metadata and controls

221 lines (212 loc) · 17.7 KB
Created 2026-10-30
Last-Modified 2026-11-15
SPDX-FileCopyrightText 2026-present Arthit Suriyawongkul
SPDX-FileType DOCUMENTATION
SPDX-License-Identifier CC0-1.0

Message codes

See also: Messages and codes for the line grammar, what a code guarantees and when to trust one.

Every catalogued message, by code, as Pitloom's catalogue (pitloom.messages) states it: what it means, what Pitloom did and what to do about it. This page indexes the codes; each code's section is on the page its link names, one page per topic. The pages are generated from the catalogue, so they say what this version prints.

Codes

A catalogued line reads LEVEL: text [code]. Trust the code only when the text is one of the code's lines on its page (the table links it), a value in place of each <name> (the values page says what each is), after at most one prefix from the table of prefixes.

Code Level Since
build-code-unsafe WARNING 0.25.0
build-failed WARNING 0.25.0
build-processes-unsafe WARNING, INFO 0.25.0
build-timeout WARNING 0.25.0
card-malformed WARNING 0.23.0
config-invalid ERROR 0.25.0
config-malformed ERROR, WARNING 0.25.0
config-moved ERROR 0.25.0
config-unknown-key ERROR, WARNING 0.25.0
config-unsafe INFO 0.23.4
config-unsafe/build-code WARNING 0.23.4
credentials-unsafe WARNING 0.25.0
credentials-unsafe/accepted WARNING 0.25.0
credentials-unsafe/git-line-break WARNING 0.25.0
credentials-unsafe/git-userinfo ERROR 0.25.0
credentials-unsafe/http-clear WARNING 0.25.0
credentials-unsafe/refused ERROR 0.25.0
credentials-unsafe/registry ERROR, WARNING 0.25.0
credentials-unsafe/written WARNING 0.25.0
datetime-unpinned INFO 0.25.0
dependency-name-ambiguous INFO 0.25.0
dependency-pin-conflict WARNING 0.25.0
digest-invalid ERROR 0.24.0
dir-unlistable ERROR, WARNING 0.22.0
download-network-failed ERROR, WARNING 0.24.0
download-timeout ERROR, WARNING 0.24.0
dynamic-field-needs-build WARNING 0.25.0
dynamic-field-unusable WARNING 0.25.0
extra-gate-ambiguous WARNING 0.25.0
extra-gate-unusable WARNING 0.25.0
field-not-recordable INFO 0.23.0
file-ambiguous INFO 0.24.0
file-discovery-conflict WARNING 0.25.0
file-discovery-needs-build WARNING 0.25.0
file-discovery-unusable WARNING 0.25.0
file-unreadable ERROR, WARNING 0.22.0
file-unreadable/not-utf8 ERROR, WARNING 0.22.0
file-unreadable/outside-project WARNING 0.22.0
file-unreadable/outside-repository WARNING 0.23.4
file-unwritable ERROR, WARNING 0.25.0
git-filter-unusable INFO 0.25.0
git-link-unsafe INFO 0.25.0
git-missing ERROR 0.25.0
git-redirect-unusable INFO 0.25.0
git-ref-not-found ERROR 0.25.0
git-repository-unusable ERROR 0.25.0
git-repository-unusable/empty ERROR 0.25.0
git-url-invalid ERROR 0.25.0
hf-url-invalid ERROR 0.25.0
hook-no-effect INFO 0.25.0
hub-response-invalid WARNING 0.25.0
hub-revision-unpinned WARNING 0.25.0
hyperparameter-conflict WARNING 0.22.0
index-path-no-effect WARNING 0.25.0
input-not-found ERROR, WARNING 0.23.4
input-not-found/fragment WARNING 0.25.0
installed-metadata-ambiguous WARNING 0.25.0
installed-metadata-unusable WARNING 0.25.0
interrupted ERROR, WARNING 0.25.0
json-malformed ERROR, WARNING 0.23.0
lfs-pointer ERROR, WARNING 0.22.0
lfs-pointer-malformed ERROR, WARNING 0.22.0
lfs-pointer/shipped WARNING 0.22.0
library-missing ERROR, WARNING 0.22.0
library-unusable ERROR, WARNING 0.23.0
license-ambiguous WARNING 0.25.0
license-conflict WARNING 0.25.0
license-db-missing WARNING, INFO 0.25.0
license-db-unusable WARNING 0.25.0
license-expression-invalid WARNING 0.25.0
license-expression-invalid/resolved INFO 0.25.0
license-expression-malformed WARNING 0.25.0
license-relationship-invalid ERROR, WARNING 0.24.0
lock-entry-conflict WARNING 0.25.0
lock-entry-malformed WARNING 0.25.0
lock-entry-unusable WARNING 0.25.0
lock-file-conflict WARNING 0.25.0
lock-file-malformed WARNING 0.25.0
lock-file-unusable WARNING 0.25.0
lock-file-wrong-format WARNING 0.25.0
metadata-conflict WARNING 0.25.0
metadata-invalid ERROR, WARNING 0.25.0
metadata-malformed ERROR, WARNING 0.25.0
metadata-no-effect WARNING 0.25.0
model-ambiguous ERROR, INFO 0.23.4
model-ambiguous/over-cap ERROR 0.23.4
model-field-conflict WARNING 0.23.0
model-field-unreadable WARNING 0.23.0
model-unreadable WARNING 0.22.0
model-wrong-format ERROR, WARNING 0.22.0
offline-unusable ERROR, WARNING 0.24.0
option-conflict ERROR 0.25.0
option-invalid ERROR 0.25.0
option-missing ERROR 0.25.0
option-no-effect WARNING, INFO 0.25.0
over-cap ERROR, WARNING 0.22.0
parameter-count-invalid WARNING 0.22.0
project-name-missing ERROR, WARNING 0.25.0
project-not-found ERROR 0.23.4
project-not-found/model-files ERROR 0.23.4
project-or-model-not-found ERROR 0.23.4
pypi-response-invalid ERROR, WARNING 0.24.0
pypi-url-invalid ERROR 0.24.0
pypi-url-unusable ERROR 0.24.0
query-no-effect INFO 0.24.0
reader-unsafe INFO 0.22.0
reader-unsafe/remote INFO 0.23.4
registry-conflict WARNING 0.25.0
registry-conflict/concurrent WARNING 0.25.0
registry-conflict/file-set WARNING 0.25.0
registry-conflict/held INFO 0.25.0
registry-conflict/spelling WARNING 0.25.0
registry-conflict/type WARNING 0.25.0
registry-entry-missing WARNING 0.25.0
registry-file-missing WARNING 0.25.0
registry-hash-conflict WARNING, INFO 0.25.0
registry-hash-conflict/gate INFO 0.25.0
registry-hash-missing WARNING, INFO 0.25.0
registry-identity-missing INFO 0.25.0
registry-key-ambiguous WARNING, INFO 0.25.0
registry-key-moved INFO 0.25.0
registry-malformed ERROR, WARNING 0.25.0
registry-path-key-unusable WARNING, INFO 0.25.0
registry-unknown-key ERROR, WARNING 0.25.0
registry-unusable ERROR, WARNING 0.25.0
registry-wrong-format ERROR, WARNING 0.25.0
release-file-not-found ERROR 0.24.0
release-file-not-found/compatible-wheel ERROR 0.24.0
release-file-not-found/sdist ERROR 0.24.0
release-not-found ERROR 0.24.0
release-unpinned INFO 0.24.0
release-unpinned/prerelease INFO 0.24.0
release-unpinned/yanked INFO 0.24.0
release-unusable INFO 0.24.0
requirement-invalid WARNING 0.25.0
requirement-unusable WARNING 0.25.0
sbom-invalid ERROR, WARNING 0.25.0
sbom-wrong-format ERROR 0.25.0
source-date-epoch-invalid ERROR 0.25.0
target-ambiguous INFO 0.23.4
target-ambiguous/git-page INFO 0.25.0
target-ambiguous/hf-url INFO 0.25.0
target-wrong-format ERROR 0.25.0
temp-dir-unusable ERROR, WARNING 0.24.0
temp-dir-unwritable WARNING 0.25.0
text-malformed WARNING 0.23.0
text-malformed/registry ERROR, WARNING 0.25.0
url-moved INFO 0.24.0
url-moved/hf-endpoint INFO 0.24.0
url-unsafe ERROR, WARNING 0.24.0
url-unsafe/hf-endpoint WARNING 0.24.0
url-unsafe/host-spelling ERROR 0.24.0
usage-unparseable WARNING 0.22.1
usage-unparseable/mention INFO 0.22.1
usage-unusable WARNING 0.22.1

A line may start with one prefix before its text:

Prefix Level Printed by
loom <subcommand>: <text> ERROR the command line, each subcommand
loom: <text> ERROR the command line, before a subcommand is known
Pitloom build hook: <text> ERROR the Hatchling build hook
FORMAT=<format> FILE=<file>: <text> WARNING a model scan, before a model reader's own line
Git source: <text> WARNING, INFO a Git URL fetch
Build: <text> WARNING, INFO --allow-build: the build and its temporary directories
Hugging Face source: <text> WARNING a Hugging Face model fetch, its temporary directory
PyPI source: <text> WARNING a PyPI URL download, its temporary directory
AI model scan: <text> WARNING the AI model scan of a wheel, its temporary copy
Pitloom build hook: <text> WARNING, INFO the Hatchling build hook, its own warnings and notes