<div dir="ltr"><br><br><div class="gmail_quote">On Sun, Oct 19, 2008 at 2:08 PM, Greg Hermsen <span dir="ltr"><<a href="mailto:g.hermy15@gmail.com">g.hermy15@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr"><p>I recently started getting an error "The file for this recording is empty" when I tried to watch a recorded program. I'm running Mythbuntu on an AMD Athlon XP 2500 with 1.5 GB ram. I'm capturing video on a Hauppauge HVR-1600. I had to recompile my the Hauppauge driver recently when the kernel was updated. I recorded a few shows successfully after recompiling, so I don't believe driver is a problem.<br>
<br>I pasted a good portion of my mythbackend.log file. I've seen some suggestions not to paste too much, but I'm not sure what is important and what is not. I apologize if it is a bit long but I didn't want to omit something the I thought looked benign and was a key piece of info.</p>
<p>I also noticed that it seems like things start working again if I reboot in the morning. It appears like this could be related to the timing of running mythfilldatabase at around 6:00 am. It seems like I'm good up until that point and then I need to reboot after.</p>
<p>I appreciate any help you can give.<br> <br>Thanks,<br>Greg</p>
<div>********************************************************</div>
<div>***** From /var/log/mythtv/mythbackend.log ******</div>
<div>********************************************************<br>2008-10-19 06:41:16.807 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min<br>2008-10-19 06:55:44.539 UPnpMedia: BuildMediaMap VIDEO scan starting in :/var/lib/mythtv/videos:<br>
2008-10-19 06:55:44.544 UPnpMedia: BuildMediaMap Done. Found 0 objects<br>2008-10-19 06:56:16.926 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min<br>2008-10-19 07:11:16.979 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min<br>
2008-10-19 07:25:46.546 UPnpMedia: BuildMediaMap VIDEO scan starting in :/var/lib/mythtv/videos:<br>2008-10-19 07:25:46.548 UPnpMedia: BuildMediaMap Done. Found 0 objects<br>2008-10-19 07:26:17.023 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min<br>
2008-10-19 07:41:17.072 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min<br>2008-10-19 07:55:49.551 UPnpMedia: BuildMediaMap VIDEO scan starting in :/var/lib/mythtv/videos:<br>2008-10-19 07:55:49.552 UPnpMedia: BuildMediaMap Done. Found 0 objects<br>
2008-10-19 07:56:17.120 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min<br>2008-10-19 08:11:17.170 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min<br>2008-10-19 08:25:55.555 UPnpMedia: BuildMediaMap VIDEO scan starting in :/var/lib/mythtv/videos:<br>
2008-10-19 08:25:55.560 UPnpMedia: BuildMediaMap Done. Found 0 objects<br>2008-10-19 08:26:17.215 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min<br>2008-10-19 08:41:17.265 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min<br>
2008-10-19 08:42:18.813 MainServer::HandleAnnounce Playback<br>2008-10-19 08:42:18.817 adding: Mythbuntu as a client (events: 0)<br>2008-10-19 08:42:18.826 TVRec(8): Changing from None to WatchingLiveTV<br>2008-10-19 08:42:18.842 TVRec(8): HW Tuner: 8->8<br>
2008-10-19 08:42:21.185 Finished recording Christ Church of Oakbrook: Rev. Daniel D. Meyer: channel 2501<br>2008-10-19 08:42:22.299 Finished recording Christ Church of Oakbrook: Rev. Daniel D. Meyer: channel 2501<br>2008-10-19 08:42:22.871 Using runtime prefix = /usr<br>
2008-10-19 08:42:22.991 Empty LocalHostName.<br>2008-10-19 08:42:23.046 Using localhost value of Mythbuntu<br>2008-10-19 08:42:23.872 Cannot find default UPnP backend<br>2008-10-19 08:42:23.916 New DB connection, total: 1<br>
2008-10-19 08:42:23.936 Connected to database 'mythconverg' at host: <a href="http://192.168.0.120" target="_blank">192.168.0.120</a><br>2008-10-19 08:42:23.938 Closing DB connection named 'DBManager0'<br>
2008-10-19 08:42:23.940 Deleting UPnP client...<br>
2008-10-19 08:42:24.582 Connected to database 'mythconverg' at host: <a href="http://192.168.0.120" target="_blank">192.168.0.120</a><br>2008-10-19 08:42:24.605 New DB connection, total: 2<br>2008-10-19 08:42:24.625 Connected to database 'mythconverg' at host: <a href="http://192.168.0.120" target="_blank">192.168.0.120</a><br>
2008-10-19 08:42:24.631 Current Schema Version: 1214<br>2008-10-19 08:42:24.648 Preview Error: Previewer file '/home/mythtv/LiveTV/2501_20081019084219.mpg' is not valid.<br>2008-10-19 08:42:24.653 Preview Error: Run() file not local: '/home/mythtv/LiveTV/2501_20081019084219.mpg'<br>
2008-10-19 08:42:24.663 Preview Error: Preview process not ok.<br> fileinfo(/home/mythtv/LiveTV/2501_20081019084219.mpg.png) exists: 0 readable: 0 size: 0<br>2008-10-19 08:43:38.680 TVRec(8): Changing from WatchingLiveTV to None<br>
2008-10-19 08:43:39.047 Finished recording Christ Church of Oakbrook: Rev. Daniel D. Meyer: channel 2501<br>2008-10-19 08:44:17.290 Expiring 0 MBytes for 2501 @ Sun Oct 19 08:30:00 2008 => Christ Church of Oakbrook: Rev. Daniel D. Meyer<br>
QSqlQuery::exec: database not open<br>2008-10-19 08:46:17.432 DB Error (KickDatabase):<br>Query was:<br>SELECT NULL;<br>No error type from QSqlError? Strange...<br>QSqlQuery::prepare: database not open<br>QSqlQuery::exec: database not open<br>
2008-10-19 08:46:17.485 Unable to connect to database!<br>2008-10-19 08:46:17.486 Driver error was [1/2003]:<br>QMYSQL3: Unable to connect<br>Database error was:<br>Can't connect to MySQL server on '<a href="http://192.168.0.120" target="_blank">192.168.0.120</a>' (111)</div>
<p>QSqlQuery::exec: database not open<br>QSqlQuery::exec: database not open<br>2008-10-19 08:46:17.557 DB Error (KickDatabase):<br>Query was:<br>SELECT NULL;<br>No error type from QSqlError? Strange...<br>QSqlQuery::prepare: database not open<br>
QSqlQuery::exec: database not open<br>2008-10-19 08:46:20.963 Unable to connect to database!<br>2008-10-19 09:42:45.873 Using runtime prefix = /usr<br>2008-10-19 09:42:45.935 Empty LocalHostName.<br>2008-10-19 09:42:45.994 Using localhost value of Mythbuntu<br>
2008-10-19 09:42:46.032 QMulticastSocket: setsockopt - IP_ADD_MEMBERSHIP Error<br>2008-10-19 09:42:46.078 QMulticastSocket: setsockopt - IP_ADD_MEMBERSHIP Error<br>SSDP::PerformSearch - did not write entire buffer.<br>SSDP::PerformSearch - did not write entire buffer.<br>
2008-10-19 09:42:46.213 Cannot find default UPnP backend<br>2008-10-19 09:42:46.232 QMulticastSocket: setsockopt - IP_ADD_MEMBERSHIP Error<br>2008-10-19 09:42:46.377 New DB connection, total: 1<br>2008-10-19 09:42:46.398 Unable to connect to database!<br>
2008-10-19 09:42:46.490 Driver error was [1/2003]:<br>QMYSQL3: Unable to connect<br>Database error was:<br>Can't connect to MySQL server on '<a href="http://192.168.0.120" target="_blank">192.168.0.120</a>' (101)</p>
</div></blockquote><div>Looks to me like your database crashed. You should really investigate why the DB would suddenly disappear like this<br><br>Kevin</div></div><br></div>