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

Greg Hermsen g.hermy15 at gmail.com
Mon Oct 20 13:28:39 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)
>
> QSqlQuery::exec: database not open
> QSqlQuery::exec: database not open
> 2008-10-19 09:42:46.565 DB Error (KickDatabase):
> Query was:
> SELECT NULL;
> No error type from QSqlError?  Strange...
> SSDP::PerformSearch - did not write entire buffer.
> SSDP::PerformSearch - did not write entire buffer.
> ........................................................................
> 2008-10-19 09:42:49.050 UPnPautoconf() - No UPnP backends found
> 2008-10-19 09:42:49.056 No UPnP backends found
>
> No UPnP backends found
>
> Would you like to configure the database connection now? [yes]
> [console is not interactive, using default 'yes']
> Database host name: [192.168.0.120]
> [console is not interactive, using default '192.168.0.120']
> Should I test connectivity to this host using the ping command? [yes]
> [console is not interactive, using default 'yes']
> Database non-default port: [0]
> [console is not interactive, using default '0']
> Database name: [mythconverg]
> [console is not interactive, using default 'mythconverg']
> Database user name: [mythtv]
> [console is not interactive, using default 'mythtv']
> Database password: [my_password_here]
> [console is not interactive, using default 'my_password_here']
> Unique identifier for this machine (if empty, the local host name will be
> used):
> [console is not interactive, using default '']
> Would you like to use Wake-On-LAN to retry database connections? [no]
> [console is not interactive, using default 'no']
> 2008-10-19 09:42:49.071 Unable to connect to database!
> 2008-10-19 09:42:49.072 Driver error was [1/2003]:
> QMYSQL3: Unable to connect
> Database error was:
> Can't connect to MySQL server on '192.168.0.120' (101)
>
> QSqlQuery::exec: database not open
> QSqlQuery::exec: database not open
> 2008-10-19 09:42:49.124 DB Error (KickDatabase):
> Query was:
> SELECT NULL;
> No error type from QSqlError?  Strange...
> 2008-10-19 09:42:49.247 Cannot login to database?
> 2008-10-19 09:42:49.248 Cannot login to database?
>
> ***********************************
> ** This following block repeats ***
> ***********************************
> Cannot login to database?
>
> Would you like to configure the database connection now? [yes]
> [console is not interactive, using default 'yes']
> Database host name: [192.168.0.120]
> [console is not interactive, using default '192.168.0.120']
> Should I test connectivity to this host using the ping command? [yes]
> [console is not interactive, using default 'yes']
> Database non-default port: [0]
> [console is not interactive, using default '0']
> Database name: [mythconverg]
> [console is not interactive, using default 'mythconverg']
> Database user name: [mythtv]
> [console is not interactive, using default 'mythtv']
> Database password: [my_password_here]
> [console is not interactive, using default 'my_password_here']
> Unique identifier for this machine (if empty, the local host name will be
> used):
> [console is not interactive, using default '']
> Would you like to use Wake-On-LAN to retry database connections? [no]
> [console is not interactive, using default 'no']
> 2008-10-19 09:42:49.265 Unable to connect to database!
> 2008-10-19 09:42:49.265 Driver error was [1/2003]:
> QMYSQL3: Unable to connect
> Database error was:
> Can't connect to MySQL server on '192.168.0.120' (101)
>
> QSqlQuery::exec: database not open
> QSqlQuery::exec: database not open
> 2008-10-19 09:42:49.319 DB Error (KickDatabase):
> Query was:
> SELECT NULL;
> No error type from QSqlError?  Strange...
> 2008-10-19 09:42:49.370 Cannot login to database?
> 2008-10-19 09:42:49.371 Cannot login to database?
>

Upon further review, a reboot helps for a while, then problems begin again.
I don't know if mythfilldatabase has any relationship to the problem.

Immediately after a reboot, everything seams to work fine.  After a while I
notice that:

1)  my recorded program list is loses contents and looks like no recordings
exist.  Other times when I try to view the recorded program list, mythtv
just seems to hang for a long time.  (Recordings do show correctly
immediately after a reboot.

2)  Programs don't record for the full duration.  I program that is
scheduled to record for 2 hours might stop recording after 25 minutes, 1
hour 15 minutes...it appears random.

3)  As stated in the previous thread, some recorded programs state "The file
for this recording is empty" and do not allow me to watch them.

Everything seemed to work fine a week or two ago.  The only change I can
think of is that the kernel updated recently and the appearance of these
problems seemed be about that time.

Help please.

Thanks,
Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20081020/7c240146/attachment.htm 


More information about the mythtv-users mailing list