All messages¶
Every message the program can give, with its code, the values it carries
and its sentence in English. The page is written by tools/docs/message_pages.py
from the program’s own list; do not edit it by hand. What a message is and
how to choose its language is in Understanding the output.
Reading the text¶
Code |
Values |
Sentence |
|---|---|---|
|
– |
The PDF has no text layer; its pages were read by text recognition, so expect odd spacing. |
|
– |
The PDF’s text layer is split into single characters; its pages were read by text recognition, so expect odd spacing. |
|
|
One page without a text layer was read by text recognition. / {pages} pages without a text layer were read by text recognition. |
|
– |
The text read is unusually short; the document may be incomplete or scanned. |
Why no text could be read¶
Code |
Values |
Sentence |
|---|---|---|
|
– |
The file does not exist. |
|
|
The file is too large: {size_bytes} bytes, at most {limit_bytes} are read. |
|
|
The file cannot be opened as a PDF: {detail} |
|
|
The PDF has no text layer ({pages} page looked at). / The PDF has no text layer ({pages} pages looked at). |
|
|
No text could be read from the PDF ({pages} page looked at, read with {extractor}). / No text could be read from the PDF ({pages} pages looked at, read with {extractor}). |
|
– |
Text recognition is not available: the program tesseract is not installed. Install it with the German language data. |
|
|
Text recognition is not available: tesseract {version} is installed, version {minimum} or later is needed. |
|
|
Text recognition is not available: the program tesseract lacks the language data “{language}”. |
|
– |
Text recognition took too long on a page and was stopped. |
|
|
Text recognition failed: {detail} |
What the file is¶
Code |
Values |
Sentence |
|---|---|---|
|
– |
The text names no safety data sheet. |
|
– |
The text has no section heading such as ‘ABSCHNITT 1’. |
|
– |
The text refers to neither the REACH nor the CLP Regulation. |
|
– |
The text prints no H statement code. |
|
– |
The text is short for a safety data sheet; the document may be cut off or scanned. |
|
|
No line carries ‘Sicherheitsdatenblatt’ as a title; with {sections} of the 16 sections the document is a safety information, not a safety data sheet. |
|
– |
The document calls itself ‘Sicherheitsdatenblatt zum sicheren Umgang mit …’ and does not name Regulation (EC) No 1907/2006: a leaflet on an article, not a safety data sheet. |
|
– |
The document is laid out like a safety data sheet and has no German title: a safety data sheet in another language. |
|
– |
The document carries the title of a safety data sheet and none of its sixteen sections: a cover without the sheet. |
|
– |
The document names a safety data sheet only in running text; no line carries it as a title. |
|
– |
The document has neither the title nor the layout of a safety data sheet. |
|
– |
The file is not a German safety data sheet; nothing was parsed. |
|
– |
The file’s text could not be read; nothing was verified. |
Reading the sheet¶
Code |
Values |
Sentence |
|---|---|---|
|
|
{count} lines of more than 2,000 characters were not read, the longest with {length}; a sheet prints no lines that long. |
|
– |
Section 2.2 (Kennzeichnungselemente) was not found; the whole of section 2 was read instead. |
|
|
The file holds {count} safety data sheets; their labels are combined. |
|
|
Section 2 classifies under the directives before CLP ({basis}); no label was read. |
|
– |
The label (2.2) follows the directives before the CLP Regulation: no H, P or EUH code, but R or S phrases, a hazard symbol or a reference to the EC directives. |
|
– |
The label carries no H statement. |
|
– |
The label says that the classification was not determined; the sheet states no labelling for the product. |
|
– |
The label carries no P statement. |
|
|
{statement} is printed only outside the label: {sentence} |
|
|
The signal word ‘{signal_word}’ was not taken: section 2 says the product is not classified, and the label prints no H statement. |
|
|
Pictograms derived from the H statements, the sheet names none: {pictograms} |
|
|
A precautionary statement without its code fits {codes} alike; none of them was taken. |
|
|
A line of the label was assigned to nothing: {line} |
|
|
The statement {codes} is cut off after 100 lines; what follows belongs to no statement. |
|
– |
Signal word derived from the statements; the label states none. |
|
– |
Section 1 was not found; the supplier cannot be read. |
|
– |
No supplier name was found in section 1. |
|
– |
No supplier address was found in section 1. |
|
– |
No supplier telephone number was found in section 1. |
|
– |
No emergency telephone number was found in section 1. |
Findings¶
Code |
Values |
Sentence |
|---|---|---|
|
|
{statement}: the sheet prints ‘{sheet}’, the regulation says ‘{regulation}’. |
|
– |
The sheet carries no revision or issue date that can be read. |
|
|
Revised {revised}, before 2021-01-01: the sheet cannot meet Annex II of REACH as amended by Regulation (EU) 2020/878. |
|
|
Revised {revised}, after {today}, the day of the check: the date cannot be right and does not count for the sheet’s age. |
|
– |
The label says that the classification was not determined. |
|
– |
Section 2 classifies under Directive 67/548/EEC or 1999/45/EC (R phrases, hazard symbols) and carries no CLP label; mixtures have had to be classified under Regulation (EC) No 1272/2008 since 1 June 2015. |
|
|
Revised {revised}, but laid out as before Regulation (EU) 2020/878: no endocrine-disrupting properties, no subsection 11.2, no subsection 12.7. |
|
– |
Section 2 neither names a hazard class nor says that the product is not classified, and the label carries no H statement, signal word or pictogram. |
|
– |
Section 2 says the product is not classified, and the label carries an H statement, a signal word or a pictogram: the sheet contradicts itself, or one of the two was read wrongly. |
|
– |
Section 2 classifies the product, and no label (2.2) was found; Annex II of REACH requires it there. |
|
– |
Section 2 classifies the product, and no H statement was found in the label; the classification requires its hazard statements on the label (CLP Article 27). |
|
– |
Section 2 classifies the product, and no P statement was found in the label; the classification requires the relevant precautionary statements on the label (CLP Article 22). |
|
|
Section 2.1 names {statement} for the classification, and the statement was not found in the label; the classification requires it on the label (CLP Article 27). |
|
|
The file holds safety data sheets of different products: {products} |
|
|
The sheets of the same product for different countries differ in: {fields} |
|
|
{statement} is printed only outside the label: {sentence} |
|
– |
A safety data sheet in another language: for sale in Germany the sheet has to be in German (REACH Article 31(5)). |
The embedded file¶
Code |
Values |
Sentence |
|---|---|---|
|
|
The embedded file is larger than {limit_bytes} bytes. |
|
– |
The embedded file carries a document type declaration. |
|
|
The embedded file is not well-formed XML: {detail} |
|
|
The embedded file is no eSDScom file: its root element is {root}. |
|
– |
The embedded file holds no Datasheet element. |
Asking a language model¶
Code |
Values |
Sentence |
|---|---|---|
|
|
The endpoint answered HTTP {status}. |
|
|
The endpoint did not answer: {reason} |
|
– |
The endpoint’s reply is no JSON. |
|
– |
The endpoint’s reply holds no message. |
|
– |
The model’s message is empty. |
|
|
The model’s reply cannot be read as an answer: {detail} |
|
– |
Not a German safety data sheet: the model is not asked. |
Lines on the error output¶
Code |
Values |
Sentence |
|---|---|---|
|
|
[sdb-reader] ERROR: {path}: {reason} |
|
|
[sdb-reader] ERROR: {path}: {error} |
|
|
[sdb-reader] {path}: no embedded eSDScom file |
|
|
[sdb-reader] ERROR: {path}: the embedded file ‘{filename}’ is not handed out. {reason} |
|
|
[sdb-reader] {path}: saved as {target} |
|
|
[sdb-reader] {output}: the last line was incomplete and is removed; its file is read again. |
|
|
[sdb-reader] {done} of {total} files done, failed: {failed} |
|
|
[sdb-reader] Interrupted after {done} of {total} files. With –output and –resume the same call continues the run. |
|
|
[sdb-reader] files: {files}; done before: {skipped}; excluded: {excluded}; failed: {failed} |
|
|
[sdb-reader] files: {files}; done before: {skipped}; excluded: {excluded}; asked: {asked}; failed: {failed}; tokens sent: {prompt_tokens}, received: {completion_tokens} |
Comparing two runs¶
Code |
Values |
Sentence |
|---|---|---|
|
|
{side}: {path} ({kind}), files: {files} |
|
|
files in both: {both}; only in A: {only_a}; only in B: {only_b}; not comparable: {not_compared} |
|
|
files that differ: {differing}; counted only: {counted_only} |
|
– |
No difference. |
|
|
{field}: gained {gained}, lost {lost}, changed {changed} |
|
|
{field}, counted only: gained {gained}, lost {lost}, changed {changed} |
|
|
[sdb-reader] WARNING: the runs come from different reading stages (A: {a}; B: {b}): differences may come from the text of the PDF files, not from the reading. |
|
|
[sdb-reader] WARNING: the runs asked different models (A: {a}; B: {b}). |
|
|
[sdb-reader] WARNING: the runs did not ask the same question (A: {a}; B: {b}): the answers are to different questions. |
The report of show¶
Code |
Values |
Sentence |
|---|---|---|
|
|
Safety data sheet, German, 1 sheet / Safety data sheet, German, {sheets} sheets |
|
– |
Safety data sheet in another language |
|
– |
Safety information, not a safety data sheet |
|
– |
Not a safety data sheet |
|
– |
Not readable |
|
– |
Reading the file failed with an error; see the error output. |
|
– |
A cover page stands in front of the sheets; it is not read. |
|
|
A cover page stands in front of the sheets; it names a display: ‘{term}’. |
|
– |
with a cover page |
|
|
with a cover page (display: ‘{term}’) |
|
|
Sheet {number} of {count} |
|
– |
The file as a whole |
|
– |
Product |
|
– |
Supplier |
|
– |
Contact |
|
– |
Emergency |
|
– |
Revised |
|
– |
Issued |
|
– |
Labelling |
|
– |
Notes |
|
|
{date} |
|
|
information: {email} |
|
|
{product} ({dated}) |
|
|
{value} (version {version}) |
|
– |
not stated |
|
– |
none |
|
– |
no signal word |
|
– |
no pictograms |
|
– |
no H, P or EUH statements |
|
– |
Needs a safety data sheet: yes |
|
– |
Needs a safety data sheet: no |
|
– |
The sheet calls itself voluntary or not prescribed. |
|
– |
The sheet calls its product an article. |
|
– |
none |
|
– |
product not stated |
|
– |
undated |
|
|
1 note / {notes} notes |
|
|
files: {files}; safety data sheets: {sheets}; other documents: {others}; not readable: {failed}; with notes: {with_notes}; excluded: {excluded} |
|
|
[sdb-reader] Interrupted after {done} of {total} files. |
From stored texts of earlier versions¶
Code |
Values |
Sentence |
|---|---|---|
|
|
{text} |