[mythtv-commits] Ticket #7053: Mythvideo plugin fails to start

MythTV mythtv at cvs.mythtv.org
Tue Sep 15 03:36:52 UTC 2009


#7053: Mythvideo plugin fails to start
--------------------------------+-------------------------------------------
 Reporter:  Josh_               |        Owner:  awithers
     Type:  defect              |       Status:  new     
 Priority:  minor               |    Milestone:  unknown 
Component:  Plugin - MythVideo  |      Version:  head    
 Severity:  medium              |   Resolution:          
  Mlocked:  0                   |  
--------------------------------+-------------------------------------------

Comment(by nigel):

 Hmmm. The MythVideo schema upgrade now checks for errors.I can partially
 reproduce the problem by deleting the mythvideo.DBSchemaVer and
 VideoDBSchemaVer rows from the settings table:
 {{{
 ...
 2009-09-15 13:31:16.346 Inserting MythVideo initial database information.
 2009-09-15 13:31:16.346 Upgrading to MythVideo schema version 1000
 2009-09-15 13:31:16.418 Upgraded to MythVideo schema version 1000
 2009-09-15 13:31:16.420 Upgrading to MythVideo schema version 1001
 2009-09-15 13:31:16.421 DB Error (performActualUpdate):
 Query was:

 Driver error was [2/1060]:
 QMYSQL: Unable to execute query
 Database error was:
 Duplicate column name 'playcommand'

 2009-09-15 13:31:16.422 Couldn't upgrade video database schema, exiting.
 2009-09-15 13:31:16.422 Unable to initialize plugin 'mythvideo'.
 }}}
 but unless you have been playing around in the database, I can't see how
 this would happen. Could you perhaps attach 'mythfrontend -v database'
 output? If you want to trim it, I'm most interested in this section:
 {{{
 ...
 2009-09-15 13:33:07.798 Disabling Settings Cache.
 2009-09-15 13:33:07.798 Clearing Settings Cache.
 2009-09-15 13:33:07.799 MSqlQuery::exec() "SELECT data FROM settings WHERE
 value = 'mythvideo.DBSchemaVer'...
 ...
 2009-09-15 13:33:07.801 MSqlQuery::exec() "SELECT data FROM settings WHERE
 value = 'VideoDBSchemaVer'...
 ...
 2009-09-15 13:33:07.806 Upgrading to MythVideo schema version 1001
 }}}

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/7053#comment:1>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list