[mythtv-users] Problem Running mythcommflag in 0.23RC

Ian Barton lists at manor-farm.org
Mon Apr 5 10:27:03 UTC 2010


I have just upgraded my MBE to 0.23 and am having problems running 
mythcommflag to clear cut lists. The command I am using is:

mythcommflag --clearcutlist -f 
/media/recordings/mythtv/1020_20100121105900.mpg

I am seeing the following errors:

mythtv at mythtv:/home/ian$ mythcommflag --clearcutlist -f 
/media/recordings/mythtv/1020_20100121105900.mpg
2010-04-05 11:14:30.740 Using runtime prefix = /usr
2010-04-05 11:14:30.741 Using configuration directory = /home/mythtv/.mythtv
2010-04-05 11:14:30.743 Empty LocalHostName.
2010-04-05 11:14:31.308 Cannot find default UPnP backend
2010-04-05 11:14:31.423 New DB connection, total: 1
2010-04-05 11:14:31.435 Closing DB connection named 'DBManager0'
2010-04-05 11:14:32.230 ProgramInfo(): Updated pathname '':'' -> 
'1020_20100121105900.mpg'
2010-04-05 11:14:32.241 Cutlist set to:
QSqlDatabasePrivate::removeDatabase: connection 'DBManager0' is still in 
use, all queries will cease to work.
2010-04-05 11:14:32.293 MSqlDatabase::OpenDatabase(), db object is not 
valid!
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2010-04-05 11:14:32.344 Driver error was [1/-1]:
Driver not loaded
Database error was:
Driver not loaded

It looks as though mythcommflag can see the Master backend. I am running 
the job as the mythtv user and my ~/.mythtv.config.xml looks like:

<Configuration>
   <UPnP>
     <UDN>
       <MediaRenderer>6248ef12-d606-4866-8d15-81ded57b4c5e</MediaRenderer>
     </UDN>
     <MythFrontend>
       <DefaultBackend>
         <DBHostName>192.168.0.31</DBHostName>
         <DBUserName>mythtv</DBUserName>
         <DBPassword>password</DBPassword>
         <DBName>mythconverg</DBName>
         <DBPort>0</DBPort>
       </DefaultBackend>
     </MythFrontend>
   </UPnP>
</Configuration>

Ian.


More information about the mythtv-users mailing list