Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#12268 closed Bug Report - General (Duplicate)

MythArchive dvd creation in master fails soon after start

Reported by: J.Pilk@… Owned by:
Priority: minor Milestone: unknown
Component: Plugin - MythArchive Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no


I just installed master. I usually use slightly modified version of the official and the MythCenter_Animated theme but still get the failure with the versions as built. This was with 'Black'.

MythTV Version : v0.28-pre-2167-gfd72f58 MythTV Branch : master

uname -r 3.10.54-1.el6.elrepoNONPAE.i686

All the recordings have been pre-cut and are in mpeg2-ps format.

2014-09-10 09:39:33 (0.1.20131119-1) starting up... 2014-09-10 09:39:33 Found 2 CPUs 2014-09-10 09:39:33 Obtaining MythTV settings from MySQL database for hostname presv5000 2014-09-10 09:39:33 temppath: /mnt/MythOnRoot/Mytharch_work/work 2014-09-10 09:39:33 logpath: /mnt/MythOnRoot/Mytharch_work/logs 2014-09-10 09:39:33 Setting process priority to 17 2014-09-10 09:39:33 Setting ionice level to idle 2014-09-10 09:39:33 Processing Mythburn job number 1. 2014-09-10 09:39:33 Options - mediatype = 0, doburn = 0, createiso = 1, erasedvdrw = 0 2014-09-10 09:39:33 savefilename = 2014-09-10 09:39:33 Looking for: /usr/share/mythtv/mytharchive/themes/Black/theme.xml 2014-09-10 09:39:34 Loading font 0, /usr/share/mythtv/fonts/FreeSans.ttf size 22 2014-09-10 09:39:34 Loading font 1, /usr/share/mythtv/fonts/FreeSans.ttf size 16 2014-09-10 09:39:34 wantIntro: 1, wantMainMenu: 1, wantChapterMenu: 0, wantDetailsPage: 0 2014-09-10 09:39:34 Final DVD Video format will be pal 2014-09-10 09:39:34 There are 4 file(s) to process 2014-09-10 09:39:37 Pre-processing recording 1: '/home/john/Mythrecs/1001_20140901213100.mpg' 2014-09-10 09:39:37 21 Up New Generation 2014-09-10 09:39:37 ------------------------------------------------------------ Traceback (most recent call last):

File "/usr/share/mythtv/mytharchive/scripts/", line 5269, in main


File "/usr/share/mythtv/mytharchive/scripts/", line 4950, in processJob


File "/usr/share/mythtv/mytharchive/scripts/", line 1553, in preProcessFile

getFileInformation(file, folder)

File "/usr/share/mythtv/mytharchive/scripts/", line 1431, in getFileInformation

cutlist = rec.markup.getcutlist()

File "/usr/lib/python2.6/site-packages/MythTV/", line 310, in getcutlist

return self._buildlist(self.MARK_CUT_START, self.MARK_CUT_END)

File "/usr/lib/python2.6/site-packages/MythTV/utility/", line 403, in _buildlist

for mark in sorted(self, key=lambda m: m.mark):

File "/usr/lib/python2.6/site-packages/MythTV/", line 491, in iter


File "/usr/lib/python2.6/site-packages/MythTV/", line 555, in _populate


File "/usr/lib/python2.6/site-packages/MythTV/", line 71, in execute

raise MythDBError(MythDBError.DB_RAW, e.args)

MythDBError: MySQL error: not enough arguments for format string 2014-09-10 09:39:37 ------------------------------------------------------------

Change History (3)

comment:1 Changed 7 years ago by J.Pilk@…

Since my recordings have been cut and had 'mythutil --clearcutlist' I can replace

cutlist = rec.markup.getcutlist() by cutlist = []

in and it all runs to completion.

comment:2 Changed 7 years ago by Raymond Wagner

Resolution: Duplicate
Status: newclosed

Schema update 1324 [e8a99d45] changed the primary key for the recorded table from (chanid,starttime) to (recordid). Since large parts of the bindings are auto-configured based off the database, when the key changed, certain things that were written with assumptions of the value of that key were broken.

See #12260

comment:3 Changed 7 years ago by J.Pilk@…

Thank you. I'll just add that the scheduled-start-of-programme shown in the dvd menu shifted to local-time -1hr, presumably UTC. When I next rebuild I'll check on that.

Note: See TracTickets for help on using tickets.