[mythtv-users] "The file for this recording is empty"

Kevin Kuphal kkuphal at gmail.com
Mon Oct 20 13:42:48 UTC 2008


On Sun, Oct 19, 2008 at 2:08 PM, Greg Hermsen <g.hermy15 at gmail.com> wrote:

> 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.
>
> 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.
>
> 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.
>
> I appreciate any help you can give.
>
> Thanks,
> Greg
> ********************************************************
> ***** From /var/log/mythtv/mythbackend.log ******
> ********************************************************
> 2008-10-19 06:41:16.807 AutoExpire: CalcParams(): Max required Free Space:
> 1.0 GB w/freq: 15 min
> 2008-10-19 06:55:44.539 UPnpMedia: BuildMediaMap VIDEO scan starting in
> :/var/lib/mythtv/videos:
> 2008-10-19 06:55:44.544 UPnpMedia: BuildMediaMap Done. Found 0 objects
> 2008-10-19 06:56:16.926 AutoExpire: CalcParams(): Max required Free Space:
> 1.0 GB w/freq: 15 min
> 2008-10-19 07:11:16.979 AutoExpire: CalcParams(): Max required Free Space:
> 1.0 GB w/freq: 15 min
> 2008-10-19 07:25:46.546 UPnpMedia: BuildMediaMap VIDEO scan starting in
> :/var/lib/mythtv/videos:
> 2008-10-19 07:25:46.548 UPnpMedia: BuildMediaMap Done. Found 0 objects
> 2008-10-19 07:26:17.023 AutoExpire: CalcParams(): Max required Free Space:
> 1.0 GB w/freq: 15 min
> 2008-10-19 07:41:17.072 AutoExpire: CalcParams(): Max required Free Space:
> 1.0 GB w/freq: 15 min
> 2008-10-19 07:55:49.551 UPnpMedia: BuildMediaMap VIDEO scan starting in
> :/var/lib/mythtv/videos:
> 2008-10-19 07:55:49.552 UPnpMedia: BuildMediaMap Done. Found 0 objects
> 2008-10-19 07:56:17.120 AutoExpire: CalcParams(): Max required Free Space:
> 1.0 GB w/freq: 15 min
> 2008-10-19 08:11:17.170 AutoExpire: CalcParams(): Max required Free Space:
> 1.0 GB w/freq: 15 min
> 2008-10-19 08:25:55.555 UPnpMedia: BuildMediaMap VIDEO scan starting in
> :/var/lib/mythtv/videos:
> 2008-10-19 08:25:55.560 UPnpMedia: BuildMediaMap Done. Found 0 objects
> 2008-10-19 08:26:17.215 AutoExpire: CalcParams(): Max required Free Space:
> 1.0 GB w/freq: 15 min
> 2008-10-19 08:41:17.265 AutoExpire: CalcParams(): Max required Free Space:
> 1.0 GB w/freq: 15 min
> 2008-10-19 08:42:18.813 MainServer::HandleAnnounce Playback
> 2008-10-19 08:42:18.817 adding: Mythbuntu as a client (events: 0)
> 2008-10-19 08:42:18.826 TVRec(8): Changing from None to WatchingLiveTV
> 2008-10-19 08:42:18.842 TVRec(8): HW Tuner: 8->8
> 2008-10-19 08:42:21.185 Finished recording Christ Church of Oakbrook: Rev.
> Daniel D. Meyer: channel 2501
> 2008-10-19 08:42:22.299 Finished recording Christ Church of Oakbrook: Rev.
> Daniel D. Meyer: channel 2501
> 2008-10-19 08:42:22.871 Using runtime prefix = /usr
> 2008-10-19 08:42:22.991 Empty LocalHostName.
> 2008-10-19 08:42:23.046 Using localhost value of Mythbuntu
> 2008-10-19 08:42:23.872 Cannot find default UPnP backend
> 2008-10-19 08:42:23.916 New DB connection, total: 1
> 2008-10-19 08:42:23.936 Connected to database 'mythconverg' at host:
> 192.168.0.120
> 2008-10-19 08:42:23.938 Closing DB connection named 'DBManager0'
> 2008-10-19 08:42:23.940 Deleting UPnP client...
> 2008-10-19 08:42:24.582 Connected to database 'mythconverg' at host:
> 192.168.0.120
> 2008-10-19 08:42:24.605 New DB connection, total: 2
> 2008-10-19 08:42:24.625 Connected to database 'mythconverg' at host:
> 192.168.0.120
> 2008-10-19 08:42:24.631 Current Schema Version: 1214
> 2008-10-19 08:42:24.648 Preview Error: Previewer file
> '/home/mythtv/LiveTV/2501_20081019084219.mpg' is not valid.
> 2008-10-19 08:42:24.653 Preview Error: Run() file not local:
> '/home/mythtv/LiveTV/2501_20081019084219.mpg'
> 2008-10-19 08:42:24.663 Preview Error: Preview process not ok.
>    fileinfo(/home/mythtv/LiveTV/2501_20081019084219.mpg.png) exists: 0
> readable: 0 size: 0
> 2008-10-19 08:43:38.680 TVRec(8): Changing from WatchingLiveTV to None
> 2008-10-19 08:43:39.047 Finished recording Christ Church of Oakbrook: Rev.
> Daniel D. Meyer: channel 2501
> 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
> QSqlQuery::exec: database not open
> 2008-10-19 08:46:17.432 DB Error (KickDatabase):
> Query was:
> SELECT NULL;
> No error type from QSqlError?  Strange...
> QSqlQuery::prepare: database not open
> QSqlQuery::exec: database not open
> 2008-10-19 08:46:17.485 Unable to connect to database!
> 2008-10-19 08:46:17.486 Driver error was [1/2003]:
> QMYSQL3: Unable to connect
> Database error was:
> Can't connect to MySQL server on '192.168.0.120' (111)
>
> QSqlQuery::exec: database not open
> QSqlQuery::exec: database not open
> 2008-10-19 08:46:17.557 DB Error (KickDatabase):
> Query was:
> SELECT NULL;
> No error type from QSqlError?  Strange...
> QSqlQuery::prepare: database not open
> QSqlQuery::exec: database not open
> 2008-10-19 08:46:20.963 Unable to connect to database!
> 2008-10-19 09:42:45.873 Using runtime prefix = /usr
> 2008-10-19 09:42:45.935 Empty LocalHostName.
> 2008-10-19 09:42:45.994 Using localhost value of Mythbuntu
> 2008-10-19 09:42:46.032 QMulticastSocket: setsockopt - IP_ADD_MEMBERSHIP
> Error
> 2008-10-19 09:42:46.078 QMulticastSocket: setsockopt - IP_ADD_MEMBERSHIP
> Error
> SSDP::PerformSearch - did not write entire buffer.
> SSDP::PerformSearch - did not write entire buffer.
> 2008-10-19 09:42:46.213 Cannot find default UPnP backend
> 2008-10-19 09:42:46.232 QMulticastSocket: setsockopt - IP_ADD_MEMBERSHIP
> Error
> 2008-10-19 09:42:46.377 New DB connection, total: 1
> 2008-10-19 09:42:46.398 Unable to connect to database!
> 2008-10-19 09:42:46.490 Driver error was [1/2003]:
> QMYSQL3: Unable to connect
> Database error was:
> Can't connect to MySQL server on '192.168.0.120' (101)
>
Looks to me like your database crashed.  You should really investigate why
the DB would suddenly disappear like this

Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20081020/4fb75633/attachment.htm 


More information about the mythtv-users mailing list