[mythtv-commits] Ticket #11541: EPG data end time fix ignores time zones

MythTV noreply at mythtv.org
Sun Apr 6 18:47:28 UTC 2014


#11541: EPG data end time fix ignores time zones
---------------------------------------+----------------------------
 Reporter:  m.a.zulliger@…             |          Owner:  stuartm
     Type:  Bug Report - General       |         Status:  new
 Priority:  critical                   |      Milestone:  0.27
Component:  MythTV - Mythfilldatabase  |        Version:  0.26-fixes
 Severity:  medium                     |     Resolution:
 Keywords:  Query convert to UTC       |  Ticket locked:  0
---------------------------------------+----------------------------

Comment (by m.a.zulliger@…):

 I applied the suggested 0003-simplify-handling-of-missing-endtime-at-end-
 of-file-.patch​ for testing and when running mythfilldatabase --refresh
 0-8 get a large number of errors of the sort:


 {{{
 2014-04-06 20:15:14.216333 E  DB Error (program insert):
 Query was:
 REPLACE INTO program (  chanid,         title,          subtitle,
 description,   category,       category_type,    starttime,      endtime,
 closecaptioned, stereo,         hdtv,            subtitled,
 subtitletypes,  audioprop,      videoprop,   partnumber,     parttotal,
 syndicatedepisodenumber,   airdate,        originalairdate,listingsource,
 seriesid,       programid,      previouslyshown,   stars,
 showtype,       title_pronounce, colorcode ) VALUES( ?,        ?,
 ?,       ?,  ?,      ?,        ?,     ?,  ?,            ?,        ?,
 ?,  ?,      ?,     ?,  ?,    ?,  ?,  ?,       ?,   ?,  ?,      ?,     ?,
 ?,         ?,      ?,      ?)
 Bindings were:
 :AIRDATE="2014", :AUDIOPROP=0, :CATEGORY="nachrichten", :CATTYPE="",
 :CC=false,
 :CHANID=1013, :COLORCODE="",
 :DESCRIPTION="Die Welt im Überblick! Die 'vox nachrichten' beleuchten die
 wichtigsten Themen des Tages, liefern Hintergründe und ordnen das
 Geschehen ausführlich ein. Verständlich, informativ und auch unterhaltsam.
 Dafür können die 'vox nachrichten' auf ein breites Korrespondentennetz im
 In- und Ausland zurückgreifen. Ob Steuerdebatten, Umweltthemen oder Promi-
 News - die 'vox nachrichten' zeigen alles, was man wissen muss.",
 :ENDTIME=NULL, :HASSUBTITLES=false, :HDTV=false, :LSOURCE=4,
 :ORIGAIRDATE=NULL,
 :PARTNUMBER=0, :PARTTOTAL=0, :PREVSHOWN=false, :PROGRAMID="",
 :SERIESID="42851886", :SHOWTYPE="", :STARS="",
 :STARTTIME=2014-04-07T21:55:00Z,
 :STEREO=false, :SUBTITLE="[vox nachrichten]", :SUBTYPES=0,
 :SYNDICATENO="",
 :TITLE="Vox nachrichten", :TITLEPRON="", :VIDEOPROP=2
 Driver error was [2/1048]:
 QMYSQL3: Unable to execute statement
 Database error was:
 Column 'endtime' cannot be null
 }}}
 After flushing the mythconverg.program in mysql and re-running
 mythfilldatabase, the same errors appear.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/11541#comment:7>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list