<br><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;     Message: 14<br>
&gt;     Date: Wed, 03 Oct 2012 20:26:05 -0400<br>
&gt;     From: &quot;Michael T. Dean&quot; &lt;<a href="mailto:mtdean@thirdcontact.com" target="_blank">mtdean@thirdcontact.com</a><br>
&gt;     &lt;mailto:<a href="mailto:mtdean@thirdcontact.com" target="_blank">mtdean@thirdcontact.com</a>&gt;&gt;<br>
&gt;     To: Discussion about MythTV &lt;<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
&gt;     &lt;mailto:<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a>&gt;&gt;<br>
&gt;     Subject: Re: [mythtv-users] Schedules Direct Grabbing failure.<br>
&gt;     Message-ID: &lt;<a href="mailto:506CD79D.6000407@thirdcontact.com" target="_blank">506CD79D.6000407@thirdcontact.com</a><br>
&gt;     &lt;mailto:<a href="mailto:506CD79D.6000407@thirdcontact.com" target="_blank">506CD79D.6000407@thirdcontact.com</a>&gt;&gt;<br>
&gt;     Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
&gt;<br>
&gt;     On 10/03/2012 06:09 PM, R KANNAN wrote:<br>
&gt;     &gt; All,<br>
&gt;     &gt;<br>
&gt;     &gt; For the past three days, mythfilldatabase is failing to populate<br>
&gt;     data<br>
&gt;     &gt; beyond 10/14. Usually SD has data for 14 days.. The output looks<br>
&gt;     like<br>
&gt;     &gt; the following..<br>
&gt;     &gt;<br>
&gt;     ...<br>
&gt;     &gt; 2012-10-03 18:05:11.804778 I  Grabbing data for Wed Oct 3 2012<br>
&gt;     offset 13<br>
&gt;     &gt; 2012-10-03 18:05:11.804808 I  From Tue Oct 16 04:00:00 2012 to<br>
&gt;     Wed Oct<br>
&gt;     &gt; 17 04:00:00 2012 (UTC)<br>
&gt;     &gt;<br>
&gt;     ...<br>
&gt;     &gt; 2012-10-03 18:05:24.065749 I  Grab complete.  Actual data from<br>
&gt;     Sun Oct<br>
&gt;     &gt; 14 04:00:00 2012 to Mon Oct 15 04:00:00 2012 (UTC)<br>
&gt;<br>
&gt;     We asked for data for the 16th and SD/TMS gave us data for the<br>
&gt;     14th.  If<br>
&gt;     the servers don&#39;t give us the data we ask for, there&#39;s not much we<br>
&gt;     can do.<br>
&gt;<br>
&gt;     I&#39;d suggest you try the &quot;re-add all lineups&quot; (or whatever it&#39;s called)<br>
&gt;     button on the Schedules Direct website and see if it helps.<br>
&gt;<br>
&gt;     Mike<br>
&gt;<br>
&gt;<br>
&gt; I tried readding and also  removing &amp; adding line up. I still don&#39;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  DataDirect: Your subscription expires on<br>
&gt; Mon Dec 17 10:40 AM<br>
&gt; 2012-10-04 18:34:38.875926 I  Grab complete.  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  Main temp tables populated.<br>
&gt; 2012-10-04 18:34:38.949752 I  Clearing data for source.<br>
&gt; 2012-10-04 18:34:38.949808 I  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&#39;s still<br>
asking for one day&#39;s data and getting some other day&#39;s data, that&#39;s<br>
unrelated to your database.  At one point I had thought it possible that<br>
the problem is Qt 4.8&#39;s new time format causing problems, but if so, I&#39;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&#39;t seem like you had just<br>
upgraded your system/MythTV when this started happening, right?).  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&#39;t know what could be<br>
causing the problem (but I can almost guarantee that it&#39;s outside your<br>
database--just don&#39;t know if it&#39;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 &#39;root&#39; On Oct 1. It filled the data till 10/14 and left a file called /tmp/mythtv_ddp_data  with no write permissions for anyone. After I deleted the file and ran &#39;mythfilldatabase&#39;, 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>