<p>Thank you SO much for this message.&nbsp; I was running into the same exact
problem, with schedules through October 8th but no further.&nbsp; I was
pulling my hair out trying to figure out why this would be happening.</p><p>It
didn't help that this was on a Myth box I had built for a relative!</p>Anyway,
I had done the same thing, apparently...run mythfilldatabase as root, and the
mythtv_ddp_data file was sitting there, in /tmp, unwritable.&nbsp; Removed it
and all is well.<br><br>Thanks again!!!<br><br><hr><!-- DRM QUOTE -->
<b>From:</b> R KANNAN &lt;rk111810@gmail.com&gt;<br>
<b>Sent:</b> Thu,  4 Oct 2012 21:57:00 -0400 (EDT)<br>
<b>To:</b> mythtv-users@mythtv.org<br>
<b>Subject:</b> Re: [mythtv-users] Schedules Direct Grabbing failure.
[SOLVED]<br>
<p>
<br></p><div class="gmail_quote"><blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
&gt;<br>
&gt; &nbsp; &nbsp; Message: 14<br>
&gt; &nbsp; &nbsp; Date: Wed, 03 Oct 2012 20:26:05 -0400<br>
&gt; &nbsp; &nbsp; From: "Michael T. Dean" &lt;<a
href="mailto:mtdean@thirdcontact.com"
target="_blank">mtdean@thirdcontact.com</a><br>
&gt; &nbsp; &nbsp; &lt;mailto:<a href="mailto:mtdean@thirdcontact.com"
target="_blank">mtdean@thirdcontact.com</a>&gt;&gt;<br>
&gt; &nbsp; &nbsp; To: Discussion about MythTV &lt;<a
href="mailto:mythtv-users@mythtv.org"
target="_blank">mythtv-users@mythtv.org</a><br>
&gt; &nbsp; &nbsp; &lt;mailto:<a href="mailto:mythtv-users@mythtv.org"
target="_blank">mythtv-users@mythtv.org</a>&gt;&gt;<br>
&gt; &nbsp; &nbsp; Subject: Re: [mythtv-users] Schedules Direct Grabbing
failure.<br>
&gt; &nbsp; &nbsp; Message-ID: &lt;<a
href="mailto:506CD79D.6000407@thirdcontact.com"
target="_blank">506CD79D.6000407@thirdcontact.com</a><br>
&gt; &nbsp; &nbsp; &lt;mailto:<a
href="mailto:506CD79D.6000407@thirdcontact.com"
target="_blank">506CD79D.6000407@thirdcontact.com</a>&gt;&gt;<br>
&gt; &nbsp; &nbsp; Content-Type: text/plain; charset=ISO-8859-1;
format=flowed<br>
&gt;<br>
&gt; &nbsp; &nbsp; On 10/03/2012 06:09 PM, R KANNAN wrote:<br>
&gt; &nbsp; &nbsp; &gt; All,<br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &gt; For the past three days, mythfilldatabase is failing
to populate<br>
&gt; &nbsp; &nbsp; data<br>
&gt; &nbsp; &nbsp; &gt; beyond 10/14. Usually SD has data for 14 days.. The
output looks<br>
&gt; &nbsp; &nbsp; like<br>
&gt; &nbsp; &nbsp; &gt; the following..<br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; ...<br>
&gt; &nbsp; &nbsp; &gt; 2012-10-03 18:05:11.804778 I &nbsp;Grabbing data for
Wed Oct 3 2012<br>
&gt; &nbsp; &nbsp; offset 13<br>
&gt; &nbsp; &nbsp; &gt; 2012-10-03 18:05:11.804808 I &nbsp;From Tue Oct 16
04:00:00 2012 to<br>
&gt; &nbsp; &nbsp; Wed Oct<br>
&gt; &nbsp; &nbsp; &gt; 17 04:00:00 2012 (UTC)<br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; ...<br>
&gt; &nbsp; &nbsp; &gt; 2012-10-03 18:05:24.065749 I &nbsp;Grab complete.
&nbsp;Actual data from<br>
&gt; &nbsp; &nbsp; Sun Oct<br>
&gt; &nbsp; &nbsp; &gt; 14 04:00:00 2012 to Mon Oct 15 04:00:00 2012 (UTC)<br>
&gt;<br>
&gt; &nbsp; &nbsp; We asked for data for the 16th and SD/TMS gave us data for
the<br>
&gt; &nbsp; &nbsp; 14th. &nbsp;If<br>
&gt; &nbsp; &nbsp; the servers don't give us the data we ask for, there's not
much we<br>
&gt; &nbsp; &nbsp; can do.<br>
&gt;<br>
&gt; &nbsp; &nbsp; I'd suggest you try the "re-add all lineups" (or whatever
it's called)<br>
&gt; &nbsp; &nbsp; button on the Schedules Direct website and see if it
helps.<br>
&gt;<br>
&gt; &nbsp; &nbsp; Mike<br>
&gt;<br>
&gt;<br>
&gt; I tried readding and also &nbsp;removing &amp; adding line up. I still
don'yt<br>
&gt; seem to be able to grab the data.<br>
&gt;<br>
&gt;<br>
&gt; 2012-10-04 18:34:35.032289 I &nbsp;DataDirect: Your subscription expires
on<br>
&gt; Mon Dec 17 10:40 AM<br>
&gt; 2012-10-04 18:34:38.875926 I &nbsp;Grab complete. &nbsp;Actual data from
Sun Oct<br>
&gt; 14 04:00:00 2012 to Mon Oct 15 04:00:00 2012 (UTC)<br>
&gt; 2012-10-04 18:34:38.876449 I &nbsp;Main temp tables populated.<br>
&gt; 2012-10-04 18:34:38.949752 I &nbsp;Clearing data for source.<br>
&gt; 2012-10-04 18:34:38.949808 I &nbsp;Clearing from Sun Oct 14 00:00:00
2012<br>
&gt; to Mon Oct 15 00:00:00 2012 (localtime)<br>
&gt;<br>
&gt; I think there may be an issue with my database. Is there a way to<br>
&gt; check if my database is corrupted and if so how can I go about<br>
&gt; rebuilding it?<br>
<br>
<a href="http://optimize_mythdb.pl" target="_blank">optimize_mythdb.pl</a>
will fix crashed MySQL tables, but if it's still<br>
asking for one day's data and getting some other day's data, that's<br>
unrelated to your database. &nbsp;At one point I had thought it possible
that<br>
the problem is Qt 4.8's new time format causing problems, but if so, I'd<br>
think other users would be having problems, too (and would think that<br>
you would have started having the problem when you upgraded to Qt 4.8<br>
rather than at some random time--it doesn't seem like you had just<br>
upgraded your system/MythTV when this started happening, right?). &nbsp;I
had<br>
actually done some testing with the date formats that Qt 4.8 is sending<br>
and they seemed to work for me, so I really don't know what could be<br>
causing the problem (but I can almost guarantee that it's outside your<br>
database--just don't know if it's MythTV code (and if so, which code) or<br>
Schedules Direct/TMS code, or your SD/TMS account, or ...)<br>
<br>
Also, please try checking your /tmp directory (or anywhere else) for<br>
mythtv_dd_cache* directory/directories and if you find them, please<br>
delete them all then re-run mfdb.<br>
<br>
Mike<br>
<br>
</blockquote></div><br>I found the problem. I had run mthfilldatabase as
'root' On Oct 1. It filled the data till 10/14 and left a file called
/tmp/mythtv_ddp_data&nbsp; with no write permissions for anyone. After I
deleted the file and ran 'mythfilldatabase', it worked fine. and got data for
5 days.<br>

<br>Thanks for your help. Now I am back to figuring out why my recording stop
after 320 MB when there is plenty of space available. I get messages
like..<br><br>AutoExpire: Filesystem Info cache is empty, unable to determine
what Recordings to expire<br>

<br>and the recording stops.<br>
<pre>_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-users
</pre>

----