[mythtv-commits] Ticket #12520: MythArchive stops after trying to get details from database

MythTV noreply at mythtv.org
Wed Oct 7 10:00:20 UTC 2015

#12520: MythArchive stops after trying to get details from database
 Reporter:  Ben Klopfenstein <benklop@…>  |          Owner:
     Type:  Bug Report - Crash            |         Status:  new
 Priority:  minor                         |      Milestone:  unknown
Component:  Plugin - MythArchive          |        Version:  Unspecified
 Severity:  medium                        |     Resolution:
 Keywords:  backtrace                     |  Ticket locked:  0

Comment (by J.Pilk@…):

 This looks very similar to[[BR]]

 (which is buried in a long thread; firefox takes me first to the start-of-

 I've been using that patch since Jaska first suggested it - although I
 never saw the original problem.

 For convenience, here it is:

 And here is the fix:
 File: mythburn.py line: 883
 Change line from:[[BR]]


 cursor.execute(sqlstatement, configHostname)[[BR]]


 cursor.execute(sqlstatement, (configHostname,))[[BR]]


 MySQLdb requires that parameters are passed as a sequence:[[BR]]


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

More information about the mythtv-commits mailing list