<html>
  <head>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    <br>
    I have been running mythtv 0.21 very happily on a headless backend
    running ubuntu 8.04 (64 bit). I have upgraded to myth 0.25 running
    on exactly the same hardware running ubuntu 12.04 (64 bit).<br>
    <br>
    I have three Nova-T-500 tuners. These are dual DVB-T standard
    definition tuners. In the past I was able to use all six at the same
    time. Now I am able to use only two, which can be two from the same
    card, or one from each of two cards. Any more than two and nothing
    will schedule. If I delete any excess tuners everything is fine
    again (apart from the scheduling conflicts). I have not tried every
    combination, but I have tried some of the obvious ones. I have tried
    6,5,4 and 3. I have tried one from each of the three cards, and I
    have excluded each card in turn. No luck. When I delete any more
    than two everything is fine again.<br>
    <br>
    My upgrade process wasn't painless, but the highlights are:-<br>
    Export database using mysqldump. (Schema 1214)<br>
    On a different Ubuntu 11.10 PC install mythbackend and mysql-server<br>
    Import above dump into mysql<br>
    Run mythtv-setup, schema upgrades to 1264<br>
    Export database using new script<br>
    Meanwhile upgrade original server (via 10.04LTS) to 12.04LTS<br>
    Drop mythconverg and create it again.<br>
    Import 1264 data from other PC<br>
    mythtv-setup upgrades schema to 1299.<br>
    <br>
    Initially I could watch live TV, but not schedule any new programs
    to be recorded. The error I got in mythweb was very similar to the
    error below. Then I deleted all cards and video sources and added
    them back.<br>
    <br>
    With more than two cards I get this error in mythweb:-<br>
    <br>
    <b>Warning</b> at /usr/share/mythtv/mythweb/modules/tv/upcoming.php,
    line 91:<br>
    !!NoTrans: Invalid argument supplied for foreach()!!<br>
    <br>
    I have no experience of php, but I think that this is line 91 in
    case it jogs anyone's memory.<br>
    &nbsp; foreach (Schedule::findScheduled() as $callsign =&gt; $shows) {<br>
    <br>
    The other thing I have tried is and the console display of this is
    below.<br>
    user@server:~$ sudo mythbackend --testsched -v schedule<br>
    <br>
    <br>
    2012-07-10 20:51:26.799553 C&nbsp; mythbackend version: fixes/0.25
    [v0.25] <a class="moz-txt-link-abbreviated"
      href="http://www.mythtv.org">www.mythtv.org</a><br>
    2012-07-10 20:51:26.799606 N&nbsp; Enabled verbose msgs:&nbsp; general
    schedule<br>
    2012-07-10 20:51:26.799654 N&nbsp; Setting Log Level to LOG_INFO<br>
    2012-07-10 20:51:26.799785 I&nbsp; Added logging to the console<br>
    2012-07-10 20:51:26.799807 I&nbsp; Added database logging to table
    logging<br>
    2012-07-10 20:51:26.800058 N&nbsp; Setting up SIGHUP handler<br>
    2012-07-10 20:51:26.800246 N&nbsp; Using runtime prefix = /usr<br>
    2012-07-10 20:51:26.800396 N&nbsp; Using configuration directory =
    /home/user1/.mythtv<br>
    2012-07-10 20:51:26.800816 I&nbsp; Assumed character encoding:
    en_GB.UTF-8<br>
    2012-07-10 20:51:26.802388 N&nbsp; Empty LocalHostName.<br>
    2012-07-10 20:51:26.802452 I&nbsp; Using localhost value of ubuntu-server<br>
    2012-07-10 20:51:31.852355 A&nbsp; Cannot find default UPnP backend<br>
    2012-07-10 20:51:31.890312 N&nbsp; Setting QT default locale to EN_GB<br>
    2012-07-10 20:51:31.890466 I&nbsp; Current locale EN_GB<br>
    2012-07-10 20:51:31.890977 N&nbsp; Reading locale defaults from
    /usr/share/mythtv//locales/en_gb.xml<br>
    Calculating Schedule from database.<br>
    Inputs, Card IDs, and Conflict info may be invalid if you have
    multiple tuners.<br>
    2012-07-10 20:51:31.916186 I&nbsp; New static DB connectionDataDirectCon<br>
    2012-07-10 20:51:32.008410 I&nbsp; Found 7 distinct programid authorities<br>
    2012-07-10 20:51:32.036720 I&nbsp; Query 0: /record.recordid = :NR0RECID
    AND program.manualid = 0 AND ( program.category_type = 'movie' <br>
    AND (program.title LIKE '%Disney%' <br>
    &nbsp;&nbsp;&nbsp;&nbsp; OR program.subtitle LIKE '%Disney%' <br>
    &nbsp;&nbsp;&nbsp;&nbsp; OR program.description LIKE '%Disney%')&nbsp; )<br>
    2012-07-10 20:51:32.036822 I&nbsp; Query 1: /record.recordid = :NR1RECID
    AND program.manualid = 0 AND ( program.title LIKE 'horizon'&nbsp; )<br>
    2012-07-10 20:51:32.036837 I&nbsp; Query 2: /record.recordid = :NR2RECID
    AND program.manualid = 0 AND ( channel.commmethod = -2 <br>
    AND program.category_type='movie' <br>
    AND program.stars &gt;= 0.75&nbsp; )<br>
    2012-07-10 20:51:32.036850 I&nbsp; Query 3: /record.recordid = :NR3RECID
    AND program.manualid = 0 AND ( program.category_type = 'movie' <br>
    AND (program.title LIKE '%Harry Potter%')&nbsp; )<br>
    2012-07-10 20:51:32.036878 I&nbsp; Query 4: /record.search = :NRST AND
    program.manualid = 0 AND program.title = record.title <br>
    2012-07-10 20:51:32.036890 I&nbsp; Query 5: /record.search = :NRST AND
    program.manualid = 0 AND program.seriesid &lt;&gt; '' AND
    program.seriesid = record.seriesid <br>
    2012-07-10 20:51:32.037133 I&nbsp;&nbsp; |-- Start DB Query 0...<br>
    2012-07-10 20:51:32.094475 I&nbsp;&nbsp; |-- -1 results in 0.05725 sec.<br>
    2012-07-10 20:51:32.094701 I&nbsp;&nbsp; |-- Start DB Query 1...<br>
    2012-07-10 20:51:32.099090 I&nbsp;&nbsp; |-- -1 results in 0.004363 sec.<br>
    2012-07-10 20:51:32.099280 I&nbsp;&nbsp; |-- Start DB Query 2...<br>
    2012-07-10 20:51:32.148206 I&nbsp;&nbsp; |-- -1 results in 0.048854 sec.<br>
    2012-07-10 20:51:32.148496 I&nbsp;&nbsp; |-- Start DB Query 3...<br>
    2012-07-10 20:51:32.202030 I&nbsp;&nbsp; |-- -1 results in 0.053496 sec.<br>
    2012-07-10 20:51:32.202234 I&nbsp;&nbsp; |-- Start DB Query 4...<br>
    2012-07-10 20:51:32.279005 I&nbsp;&nbsp; |-- -1 results in 0.076701 sec.<br>
    2012-07-10 20:51:32.279258 I&nbsp;&nbsp; |-- Start DB Query 5...<br>
    2012-07-10 20:51:32.335399 I&nbsp;&nbsp; |-- -1 results in 0.056074 sec.<br>
    2012-07-10 20:51:32.335476 I&nbsp;&nbsp; +-- Done.<br>
    2012-07-10 20:51:32.337515 I&nbsp; BuildWorkList...<br>
    2012-07-10 20:51:32.337532 I&nbsp; AddNewRecords...<br>
    2012-07-10 20:51:32.503401 I&nbsp;&nbsp; |-- Start DB Query...<br>
    2012-07-10 20:51:33.529098 E&nbsp; DB Error (AddNewRecords):<br>
    Query was:<br>
    SELECT&nbsp;&nbsp;&nbsp;&nbsp; c.chanid,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c.sourceid,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    p.starttime,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; p.endtime,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; p.title,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    p.subtitle,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; p.description,&nbsp;&nbsp;&nbsp; c.channum,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    c.callsign,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c.name,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; oldrecduplicate,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    p.category,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sched_temp_record.recpriority,
    sched_temp_record.dupin,&nbsp;&nbsp; recduplicate,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; findduplicate,&nbsp;&nbsp;&nbsp;
    sched_temp_record.type,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sched_temp_record.recordid,&nbsp;&nbsp;&nbsp;&nbsp;
    p.starttime - INTERVAL sched_temp_record.startoffset&nbsp;&nbsp;&nbsp;&nbsp; minute AS
    recstartts,&nbsp;&nbsp;&nbsp;&nbsp; p.endtime + INTERVAL sched_temp_record.endoffset&nbsp;&nbsp;&nbsp;&nbsp;
    minute AS recendts,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    p.previouslyshown,&nbsp;&nbsp;&nbsp;&nbsp; sched_temp_record.recgroup,
    sched_temp_record.dupmethod,&nbsp; c.commmethod,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    capturecard.cardid, cardinput.cardinputid,p.seriesid,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    p.programid,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sched_temp_record.inetref,&nbsp;&nbsp;&nbsp;
    p.category_type,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; p.airdate,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; p.stars,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    p.originalairdate,&nbsp;&nbsp;&nbsp;&nbsp; sched_temp_record.inactive,
    sched_temp_record.parentid,(CASE sched_temp_record.type&nbsp;&nbsp; WHEN 6&nbsp;&nbsp;&nbsp;
    THEN sched_temp_record.findid&nbsp;&nbsp; WHEN 9&nbsp;&nbsp;&nbsp; THEN
    to_days(date_sub(p.starttime, interval&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    time_format(sched_temp_record.findtime, '%H:%i') hour_minute))&nbsp;&nbsp;
    WHEN 10&nbsp;&nbsp;&nbsp; THEN floor((to_days(date_sub(p.starttime,
    interval&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; time_format(sched_temp_record.findtime,
    '%H:%i') hour_minute)) -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    sched_temp_record.findday)/7) * 7 + sched_temp_record.findday&nbsp;&nbsp; WHEN
    7&nbsp;&nbsp;&nbsp; THEN sched_temp_record.findid&nbsp;&nbsp; ELSE 0&nbsp; END) ,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    sched_temp_record.playgroup, oldrecstatus.recstatus,&nbsp;&nbsp;&nbsp;&nbsp;
    oldrecstatus.reactivate, p.videoprop+0,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; p.subtitletypes+0,
    p.audioprop+0,&nbsp;&nbsp; sched_temp_record.storagegroup,&nbsp;&nbsp;&nbsp;&nbsp;
    capturecard.hostname,
    recordmatch.oldrecstatus,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    sched_temp_record.avg_delay,&nbsp;&nbsp;&nbsp;&nbsp; oldrecstatus.future,
    cardinput.schedorder, c.recpriority + cardinput.recpriority +
    (cardinput.cardinputid = sched_te<br>
    2012-07-10 20:51:33.529349 I&nbsp; AddNotListed...<br>
    2012-07-10 20:51:33.529391 I&nbsp;&nbsp; |-- Start DB Query...<br>
    2012-07-10 20:51:33.530131 I&nbsp;&nbsp; |-- 0 results in 0.000721 sec.
    Processing...<br>
    2012-07-10 20:51:33.530171 I&nbsp; Sort by time...<br>
    2012-07-10 20:51:33.530185 I&nbsp; PruneOverlaps...<br>
    2012-07-10 20:51:33.530189 I&nbsp; Sort by priority...<br>
    2012-07-10 20:51:33.530194 I&nbsp; BuildListMaps...<br>
    2012-07-10 20:51:33.530199 I&nbsp; SchedNewRecords...<br>
    2012-07-10 20:51:33.530203 I&nbsp; Scheduling:<br>
    2012-07-10 20:51:33.530206 I&nbsp; + = schedule this showing to be
    recorded<br>
    2012-07-10 20:51:33.530211 I&nbsp; # = could not schedule this showing,
    retry later<br>
    2012-07-10 20:51:33.530214 I&nbsp; ! = conflict caused by this showing<br>
    2012-07-10 20:51:33.530218 I&nbsp; / = retry this showing, same priority
    pass<br>
    2012-07-10 20:51:33.530223 I&nbsp; ? = retry this showing, lower priority
    pass<br>
    2012-07-10 20:51:33.530227 I&nbsp; &gt; = try another showing for this
    program<br>
    2012-07-10 20:51:33.530230 I&nbsp; % = found another showing, same
    priority required<br>
    2012-07-10 20:51:33.530243 I&nbsp; $ = found another showing, lower
    priority allowed<br>
    2012-07-10 20:51:33.530247 I&nbsp; - = unschedule a showing in favor of
    another one<br>
    2012-07-10 20:51:33.530812 I&nbsp; SchedPreserveLiveTV...<br>
    2012-07-10 20:51:33.530824 I&nbsp; ClearListMaps...<br>
    2012-07-10 20:51:33.530829 I&nbsp; Sort by time...<br>
    2012-07-10 20:51:33.530833 I&nbsp; PruneRedundants...<br>
    2012-07-10 20:51:33.530838 I&nbsp; Sort by time...<br>
    2012-07-10 20:51:33.530842 I&nbsp; ClearWorkList...<br>
    2012-07-10 20:51:33.535503 I&nbsp; Speculative scheduled 0 items in 1.5 =
    0.30 match + 1.20 place<br>
    2012-07-10 20:51:33.535603 I&nbsp; --- print list start ---<br>
    2012-07-10 20:51:33.535608 I&nbsp; Title - Subtitle&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ch
    Station Day Start&nbsp; End&nbsp;&nbsp; S C I&nbsp; T N Pri<br>
    2012-07-10 20:51:33.535612 I&nbsp; ---&nbsp; print list end&nbsp; ---<br>
    <br>
    Has anyone come across anything similar? I will be grateful for any
    suggestions.<br>
    <br>
  </body>
</html>