[mythtv-commits] Ticket #10136: EIT update gives DB Error about duplicate primary keys

MythTV noreply at mythtv.org
Wed Sep 4 07:43:59 UTC 2013


#10136: EIT update gives DB Error about duplicate primary keys
-------------------------------------+-----------------------------
 Reporter:  klaas.de.waal@…          |          Owner:  stuarta
     Type:  Patch - Bug Fix          |         Status:  new
 Priority:  minor                    |      Milestone:  0.27
Component:  MythTV - EIT             |        Version:  Master Head
 Severity:  medium                   |     Resolution:
 Keywords:  eit duplicate key ziggo  |  Ticket locked:  0
-------------------------------------+-----------------------------

Comment (by bas-t <tycholursen@…>):

 BTW, it's not the "zender verstrekt geen informatie" (something like
 channel does not provide information) that triggers the

 Database error was:
 Duplicate entry '1903-2011-10-18 12:10:00-0' for key 'PRIMARY'

 errors, imho.
 This would probably be true in most cases if I did not do

 RESULT=`/usr/bin/mysql --user=root --password=XXXX<<SQL
 use mythconverg
 TRUNCATE TABLE program;
 TRUNCATE TABLE eit_cache;
 flush privileges;
 quit
 SQL`

 each and every day.
 But I do and the logs show the error right after having truncated program
 and eit cache.

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


More information about the mythtv-commits mailing list