Difference between revisions of "XmltvTestCodes"
(→Test Codes: linkify module references, notice that the manpages miss the XMLTV:: prefix in the file name but not in the title...) |
(add badlatin1 error) |
||
Line 77: | Line 77: | ||
An episode-num with system="xmltv_ns" was found where the episode number did not follow the format described in the Xmltv dtd. | An episode-num with system="xmltv_ns" was found where the episode number did not follow the format described in the Xmltv dtd. | ||
+ | ===badlatin1=== | ||
+ | |||
+ | The file is encoded in iso-8859-1 but contains characters that | ||
+ | have no meaning in iso-8859-1 (or are control characters). | ||
+ | A likely cause is some characters in windows-1252 encoding slipped through. |
Revision as of 20:39, 1 October 2010
Contents
- 1 Test Codes
- 1.1 noparamcheck
- 1.2 noversion
- 1.3 nodescription
- 1.4 nocapabilities
- 1.5 nobaseline
- 1.6 nomanualconfig
- 1.7 noconfigurationfile
- 1.8 graberror
- 1.9 notquiet
- 1.10 outputdiffers
- 1.11 caterror
- 1.12 sorterror
- 1.13 notadditive
- 1.14 notwell
- 1.15 notdtd
- 1.16 unknownid
- 1.17 duplicatechannel
- 1.18 noprogrammes
- 1.19 channelnoprogramme
- 1.20 invalidid
- 1.21 noid
- 1.22 emptytitle
- 1.23 badstart
- 1.24 badstop
- 1.25 badepisode
- 1.26 badlatin1
Test Codes
This page documents all errorcodes emitted by test_grabbers and tv_validate_grabber. The descriptions are taken from the documentation of ValidateGrabber(3pm) and ValidateFile(3pm).
noparamcheck
The grabber accepts any parameter without returning an error-code.
noversion
The grabber returns an error when run with --version.
nodescription
The grabber returns an error when run with --description.
nocapabilities
The grabber returns an error when run with --capabilities.
nobaseline
The grabber does not list 'baseline' as one of its supported capabilities.
nomanualconfig
The grabber does not list 'manualconfig' as one of its supported capabilities.
noconfigurationfile
The specified configuration-file does not exist.
graberror
The grabber returned with an error-code when asked to grab data.
notquiet
The grabber printed something to STDERR even though the --quiet option was used.
outputdiffers
The grabber produced different output when called with different combinations of --output and --quiet.
caterror
tv_cat returned an error-code when we asked it to process the output from the grabber.
sorterror
tv_sort found errors in the data generated by the grabber. Probably overlapping programmes.
notadditive
grabbing data for tomorrow first and then for the day after tomorrow and concatenating them does not yield the same result as grabbing the data for tomorrow and the day after tomorrow at once.
notwell
The file is not well-formed XML.
notdtd
The file does not follow the XMLTV DTD.
unknownid
No channel-entry found for a channelid that is used in a programme-entry.
duplicatechannel
More than one channel-entry found for a channelid.
noprogrammes
No programme entries were found in the file.
channelnoprogramme
There are no programme entries for one of the channels listed with a channel-entry.
invalidid
An xmltvid does not look like a proper id, i.e. it does not match /^[-a-zA-Z0-9]+(.[-a-zA-Z0-9]+)+$/.
noid
A programme-entry without an id was found.
emptytitle
A programme entry with an empty or missing title was found.
badstart
A programme entry with an invalid start-time was found.
badstop
A programme entry with an invalid stop-time was found.
badepisode
An episode-num with system="xmltv_ns" was found where the episode number did not follow the format described in the Xmltv dtd.
badlatin1
The file is encoded in iso-8859-1 but contains characters that have no meaning in iso-8859-1 (or are control characters). A likely cause is some characters in windows-1252 encoding slipped through.