<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>
foreach (Schedule::findScheduled() as $callsign => $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 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 Enabled verbose msgs: general
schedule<br>
2012-07-10 20:51:26.799654 N Setting Log Level to LOG_INFO<br>
2012-07-10 20:51:26.799785 I Added logging to the console<br>
2012-07-10 20:51:26.799807 I Added database logging to table
logging<br>
2012-07-10 20:51:26.800058 N Setting up SIGHUP handler<br>
2012-07-10 20:51:26.800246 N Using runtime prefix = /usr<br>
2012-07-10 20:51:26.800396 N Using configuration directory =
/home/user1/.mythtv<br>
2012-07-10 20:51:26.800816 I Assumed character encoding:
en_GB.UTF-8<br>
2012-07-10 20:51:26.802388 N Empty LocalHostName.<br>
2012-07-10 20:51:26.802452 I Using localhost value of ubuntu-server<br>
2012-07-10 20:51:31.852355 A Cannot find default UPnP backend<br>
2012-07-10 20:51:31.890312 N Setting QT default locale to EN_GB<br>
2012-07-10 20:51:31.890466 I Current locale EN_GB<br>
2012-07-10 20:51:31.890977 N 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 New static DB connectionDataDirectCon<br>
2012-07-10 20:51:32.008410 I Found 7 distinct programid authorities<br>
2012-07-10 20:51:32.036720 I Query 0: /record.recordid = :NR0RECID
AND program.manualid = 0 AND ( program.category_type = 'movie' <br>
AND (program.title LIKE '%Disney%' <br>
OR program.subtitle LIKE '%Disney%' <br>
OR program.description LIKE '%Disney%') )<br>
2012-07-10 20:51:32.036822 I Query 1: /record.recordid = :NR1RECID
AND program.manualid = 0 AND ( program.title LIKE 'horizon' )<br>
2012-07-10 20:51:32.036837 I Query 2: /record.recordid = :NR2RECID
AND program.manualid = 0 AND ( channel.commmethod = -2 <br>
AND program.category_type='movie' <br>
AND program.stars >= 0.75 )<br>
2012-07-10 20:51:32.036850 I Query 3: /record.recordid = :NR3RECID
AND program.manualid = 0 AND ( program.category_type = 'movie' <br>
AND (program.title LIKE '%Harry Potter%') )<br>
2012-07-10 20:51:32.036878 I Query 4: /record.search = :NRST AND
program.manualid = 0 AND program.title = record.title <br>
2012-07-10 20:51:32.036890 I Query 5: /record.search = :NRST AND
program.manualid = 0 AND program.seriesid <> '' AND
program.seriesid = record.seriesid <br>
2012-07-10 20:51:32.037133 I |-- Start DB Query 0...<br>
2012-07-10 20:51:32.094475 I |-- -1 results in 0.05725 sec.<br>
2012-07-10 20:51:32.094701 I |-- Start DB Query 1...<br>
2012-07-10 20:51:32.099090 I |-- -1 results in 0.004363 sec.<br>
2012-07-10 20:51:32.099280 I |-- Start DB Query 2...<br>
2012-07-10 20:51:32.148206 I |-- -1 results in 0.048854 sec.<br>
2012-07-10 20:51:32.148496 I |-- Start DB Query 3...<br>
2012-07-10 20:51:32.202030 I |-- -1 results in 0.053496 sec.<br>
2012-07-10 20:51:32.202234 I |-- Start DB Query 4...<br>
2012-07-10 20:51:32.279005 I |-- -1 results in 0.076701 sec.<br>
2012-07-10 20:51:32.279258 I |-- Start DB Query 5...<br>
2012-07-10 20:51:32.335399 I |-- -1 results in 0.056074 sec.<br>
2012-07-10 20:51:32.335476 I +-- Done.<br>
2012-07-10 20:51:32.337515 I BuildWorkList...<br>
2012-07-10 20:51:32.337532 I AddNewRecords...<br>
2012-07-10 20:51:32.503401 I |-- Start DB Query...<br>
2012-07-10 20:51:33.529098 E DB Error (AddNewRecords):<br>
Query was:<br>
SELECT c.chanid, c.sourceid,
p.starttime, p.endtime, p.title,
p.subtitle, p.description, c.channum,
c.callsign, c.name, oldrecduplicate,
p.category, sched_temp_record.recpriority,
sched_temp_record.dupin, recduplicate, findduplicate,
sched_temp_record.type, sched_temp_record.recordid,
p.starttime - INTERVAL sched_temp_record.startoffset minute AS
recstartts, p.endtime + INTERVAL sched_temp_record.endoffset
minute AS recendts,
p.previouslyshown, sched_temp_record.recgroup,
sched_temp_record.dupmethod, c.commmethod,
capturecard.cardid, cardinput.cardinputid,p.seriesid,
p.programid, sched_temp_record.inetref,
p.category_type, p.airdate, p.stars,
p.originalairdate, sched_temp_record.inactive,
sched_temp_record.parentid,(CASE sched_temp_record.type WHEN 6
THEN sched_temp_record.findid WHEN 9 THEN
to_days(date_sub(p.starttime, interval
time_format(sched_temp_record.findtime, '%H:%i') hour_minute))
WHEN 10 THEN floor((to_days(date_sub(p.starttime,
interval time_format(sched_temp_record.findtime,
'%H:%i') hour_minute)) -
sched_temp_record.findday)/7) * 7 + sched_temp_record.findday WHEN
7 THEN sched_temp_record.findid ELSE 0 END) ,
sched_temp_record.playgroup, oldrecstatus.recstatus,
oldrecstatus.reactivate, p.videoprop+0, p.subtitletypes+0,
p.audioprop+0, sched_temp_record.storagegroup,
capturecard.hostname,
recordmatch.oldrecstatus,
sched_temp_record.avg_delay, oldrecstatus.future,
cardinput.schedorder, c.recpriority + cardinput.recpriority +
(cardinput.cardinputid = sched_te<br>
2012-07-10 20:51:33.529349 I AddNotListed...<br>
2012-07-10 20:51:33.529391 I |-- Start DB Query...<br>
2012-07-10 20:51:33.530131 I |-- 0 results in 0.000721 sec.
Processing...<br>
2012-07-10 20:51:33.530171 I Sort by time...<br>
2012-07-10 20:51:33.530185 I PruneOverlaps...<br>
2012-07-10 20:51:33.530189 I Sort by priority...<br>
2012-07-10 20:51:33.530194 I BuildListMaps...<br>
2012-07-10 20:51:33.530199 I SchedNewRecords...<br>
2012-07-10 20:51:33.530203 I Scheduling:<br>
2012-07-10 20:51:33.530206 I + = schedule this showing to be
recorded<br>
2012-07-10 20:51:33.530211 I # = could not schedule this showing,
retry later<br>
2012-07-10 20:51:33.530214 I ! = conflict caused by this showing<br>
2012-07-10 20:51:33.530218 I / = retry this showing, same priority
pass<br>
2012-07-10 20:51:33.530223 I ? = retry this showing, lower priority
pass<br>
2012-07-10 20:51:33.530227 I > = try another showing for this
program<br>
2012-07-10 20:51:33.530230 I % = found another showing, same
priority required<br>
2012-07-10 20:51:33.530243 I $ = found another showing, lower
priority allowed<br>
2012-07-10 20:51:33.530247 I - = unschedule a showing in favor of
another one<br>
2012-07-10 20:51:33.530812 I SchedPreserveLiveTV...<br>
2012-07-10 20:51:33.530824 I ClearListMaps...<br>
2012-07-10 20:51:33.530829 I Sort by time...<br>
2012-07-10 20:51:33.530833 I PruneRedundants...<br>
2012-07-10 20:51:33.530838 I Sort by time...<br>
2012-07-10 20:51:33.530842 I ClearWorkList...<br>
2012-07-10 20:51:33.535503 I Speculative scheduled 0 items in 1.5 =
0.30 match + 1.20 place<br>
2012-07-10 20:51:33.535603 I --- print list start ---<br>
2012-07-10 20:51:33.535608 I Title - Subtitle Ch
Station Day Start End S C I T N Pri<br>
2012-07-10 20:51:33.535612 I --- print list end ---<br>
<br>
Has anyone come across anything similar? I will be grateful for any
suggestions.<br>
<br>
</body>
</html>