Difference between revisions of "XmltvTestCodes"
m |
|||
Line 40: | Line 40: | ||
===notadditive=== | ===notadditive=== | ||
− | grabbing data for tomorrow first and then for the day | + | 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=== | ===notwell=== | ||
Revision as of 04:23, 12 June 2011
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 badiso8859
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.
badiso8859
The file contains characters that are unlikely to appear in correctly encoded files. It can be characters that don't have any meaning or control characters that don't appear in correct files often. (like non-breaking space) Another cause is some characters in windows-1252 encoding slipped through into a file encoded as iso-8859-1.