[vdr] "ERROR: unexpected tag while reading EPG data: ....." caused by bug in epg.c?

Klaus Schmidinger Klaus.Schmidinger at cadsoft.de
Tue Oct 4 23:34:57 CEST 2005


Carsten Koch wrote:
> I am getting an
>    ERROR: unexpected tag while reading EPG data: .....
> error message on every start up of VDR.
> 
> So I tried the following:
> 
> *  compile plain vanilla VDR 1.3.34.
>    No patches, no plugins.
> 
> *  remove /video/epg.data.
> 
> *  start up VDR using a copy of my config directory.
> 
> Here is what I get:
> 
> Oct  4 23:09:39 vdr vdr[3846]: VDR version 1.3.34 started
> Oct  4 23:09:39 vdr vdr[3846]: loading /tmp/vdrconfig//setup.conf
> Oct  4 23:09:39 vdr vdr[3846]: ERROR: unknown config parameter: 
> SourceCaps = 1 S19.2E
> Oct  4 23:09:39 vdr vdr[3846]: ERROR: unknown config parameter: 
> SourceCaps = 2 S19.2E
> Oct  4 23:09:39 vdr vdr[3846]: ERROR: unknown config parameter: 
> SourceCaps = 3 S13.0E
> Oct  4 23:09:39 vdr vdr[3846]: loading /tmp/vdrconfig//sources.conf
> Oct  4 23:09:39 vdr vdr[3846]: loading /tmp/vdrconfig//diseqc.conf
> Oct  4 23:09:39 vdr vdr[3846]: loading /tmp/vdrconfig//channels.conf
> Oct  4 23:09:39 vdr vdr[3846]: loading /tmp/vdrconfig//timers.conf
> Oct  4 23:09:39 vdr vdr[3846]: loading /tmp/vdrconfig//commands.conf
> Oct  4 23:09:39 vdr vdr[3846]: loading /tmp/vdrconfig//reccmds.conf
> Oct  4 23:09:39 vdr vdr[3846]: loading /tmp/vdrconfig//svdrphosts.conf
> Oct  4 23:09:39 vdr vdr[3846]: loading /tmp/vdrconfig//ca.conf
> Oct  4 23:09:39 vdr vdr[3846]: loading /tmp/vdrconfig//remote.conf
> Oct  4 23:09:39 vdr vdr[3846]: loading /tmp/vdrconfig//keymacros.conf
> Oct  4 23:09:39 vdr vdr[3846]: video directory scanner thread started 
> (pid=3846, tid=-1211290704)
> Oct  4 23:09:39 vdr vdr[3846]: probing /dev/dvb/adapter0/frontend0
> Oct  4 23:09:39 vdr vdr[3846]: ERROR: unexpected tag while reading EPG 
> data: USA 1992
> Oct  4 23:09:41 vdr vdr[3846]: tuner on device 1 thread started 
> (pid=3846, tid=-1219683408)
> Oct  4 23:09:41 vdr vdr[3846]: section handler thread started (pid=3846, 
> tid=-1228076112)
> Oct  4 23:09:41 vdr vdr[3846]: probing /dev/dvb/adapter1/frontend0
> Oct  4 23:09:41 vdr vdr[3846]: tuner on device 2 thread started 
> (pid=3846, tid=-1236468816)
> Oct  4 23:09:41 vdr vdr[3846]: section handler thread started (pid=3846, 
> tid=-1244861520)
> Oct  4 23:09:41 vdr vdr[3846]: probing /dev/dvb/adapter2/frontend0
> Oct  4 23:09:41 vdr vdr[3846]: tuner on device 3 thread started 
> (pid=3846, tid=-1253254224)
> Oct  4 23:09:41 vdr vdr[3846]: section handler thread started (pid=3846, 
> tid=-1261646928)
> Oct  4 23:09:41 vdr vdr[3846]: probing /dev/dvb/adapter3/frontend0
> Oct  4 23:09:41 vdr vdr[3846]: found 3 video devices
> Oct  4 23:09:41 vdr vdr[3846]: setting primary device to 1
> Oct  4 23:09:41 vdr vdr[3846]: SVDRP listening on port 2001
> Oct  4 23:09:41 vdr vdr[3846]: loading 
> /tmp/vdrconfig//themes/sttng-default.theme
> Oct  4 23:09:41 vdr vdr[3846]: loading 
> /tmp/vdrconfig//themes/sttng-default.theme
> Oct  4 23:09:41 vdr vdr[3846]: remote control KBD - learning keys
> Oct  4 23:09:41 vdr vdr[3846]: KBD remote control thread started 
> (pid=3846, tid=-1270039632)
> Oct  4 23:09:43 vdr vdr[3846]: ERROR: unexpected tag while reading EPG 
> data: USA 2003
> 
> Where does it read the EPG data from (remember: there is no 
> /video/epg.data file)?

Well, apparently it doesn't actively read an epg.data file,
otherwise your log would list a line like

Oct  4 18:00:13 video vdr[29192]: reading EPG data from /video/epg.data

> Why does it complain about something that looks like
> the production date of a movie?

I guess it's some broken info.vdr file.
The function that reads that data is exactly the same as is used
for reading the EPG data, hence the EPG related message.

Klaus



More information about the vdr mailing list