<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 5/16/26 20:42, Bill Meek wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:1778989301297.3099529186.2947303483@gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <span class="viv-signature"></span><br>
      <br>
      On Saturday 16 May 2026 09:43:14 PM (-05:00), Douglas Peale via
      mythtv-users wrote:<br>
      <br>
      <blockquote
style="margin: 0 0 0.80ex; border-left: #0000FF 
2px solid; padding-left: 1ex">
        <div class="moz-cite-prefix">On 5/16/26 19:14, Bill Meek wrote:<br>
        </div>
        <blockquote type="cite"
          cite="mid:1778982443537.3027138928.4065866825@gmail.com">
          <pre wrap="" class="moz-quote-pre">On Saturday 16 May 2026 06:57:29 PM (-05:00), Douglas Peale via 
mythtv-users wrote:

</pre>
          <blockquote type="cite">
            <pre wrap="" class="moz-quote-pre">On 5/16/26 16:35, Bill Meek 
wrote:
</pre>
            <blockquote type="cite">
              <pre wrap="" class="moz-quote-pre">On Saturday 16 May 2026 
06:19:29 PM (-05:00), Douglas Peale via mythtv-users wrote:

</pre>
              <blockquote type="cite">
                <pre wrap="" class="moz-quote-pre">On 5/16/26 16:13, Bill Meek 
wrote:
</pre>
                <blockquote type="cite">
                  <pre wrap="" class="moz-quote-pre">sudo --set-home 
--user=mythtv mythfilldatabase --verbose=system,xmltv
</pre>
                </blockquote>
                <pre wrap="" class="moz-quote-pre">I'm afraid the results 
don't make much sense to me.

$ sudo --set-home --user=mythtv mythfilldatabase --verbose=system,xmltv
2026-05-16 16:15:55.942792 I  XMLTV config file is: 
/home/mythtv/.mythtv/NorthWest.xmltv
2026-05-16 16:15:55.943532 I  Grabber Command: nice tv_grab_zz_sdjson 
--config-file '/home/mythtv/.mythtv/NorthWest.xmltv'
--output /tmp/myth6sDm0y
2026-05-16 16:15:55.943533 I  ----------------- Start of XMLTV output 
-----------------
2026-05-16 16:15:55.945170 I  Managed child (PID: 57014) has started! 
* command=nice tv_grab_zz_sdjson --config-file
'/home/mythtv/.mythtv/NorthWest.xmltv' --output /tmp/myth6sDm0y, timeout=0
2026-05-16 16:15:56.226226 I  Managed child (PID: 57014) has exited! 
command=nice tv_grab_zz_sdjson --config-file
'/home/mythtv/.mythtv/NorthWest.xmltv' --output /tmp/myth6sDm0y, 
status=256, result=1
2026-05-16 16:15:56.242723 I  You need to configure the grabber by 
running it with --configure <<<------------
</pre>
              </blockquote>
              <pre wrap="" class="moz-quote-pre">I see 4 attempts (1 per 
source), 3 of them show --configure needs to be run,
the last log line above. I'd start trying to fix them 1st.

</pre>
            </blockquote>
            <pre wrap="" class="moz-quote-pre">Isn't that what I did with 
this?

To allow MythTV to sleep, mythfilldatabase must be working.
need to install
xmltv
xmltv-util
need to run:
sudo runuser -l mythtv
tv_grab_zz_sdjson --configure --config-file $HOME/.mythtv/North.xmltv
tv_grab_zz_sdjson --configure --config-file $HOME/.mythtv/NorthWest.xmltv
tv_grab_zz_sdjson --configure --config-file $HOME/.mythtv/NorthWest\ 
ATSC3.xmltv
tv_grab_zz_sdjson --configure --config-file $HOME/.mythtv/South.xmltv
exit
</pre>
          </blockquote>
          <pre wrap="" class="moz-quote-pre">Looks like it, but I don't know 
how the prompts were filled out (and
recall, I don't use that grabber.)

Looking at the Perl souece it appears that the file doesn't exist?

     if( not defined( $conf ) )
     {
     print STDERR "You need to configure the grabber by running it with 
--configure \n";
     exit 1;
     }

Does this work:
ls
   ls -ld '/home/mythtv/.mythtv/NorthWest.xmltv'1</pre>
        </blockquote>
        <p>I'm not sure what that '<span
          style="text-wrap-mode:wrap;white-space-collapse:preserve;">1</span>'
          at the end is for, but the command fails if that is present.
          Without it I get this:</p>
        <pre wrap="" class="moz-quote-pre"><a
        class="moz-txt-link-abbreviated moz-txt-link-freetext"
        href="mailto:dpeale@BlackBox:/home/mythtv/.mythtv$"
        moz-do-not-send="true">dpeale@BlackBox:/home/mythtv/.mythtv$</a>   
ls -ld '/home/mythtv/.mythtv/NorthWest.xmltv'
lrwxrwxrwx 1 mythtv mythtv 36 May  4 17:39 
/home/mythtv/.mythtv/NorthWest.xmltv -> 
/home/dpeale/.mythtv/NorthWest.xmltv

</pre>
        <p>Since that is a soft link, I'll include the directory it is
          linked to:</p>
        <pre wrap="" class="moz-quote-pre"><a
        class="moz-txt-link-abbreviated moz-txt-link-freetext"
        href="mailto:dpeale@BlackBox:~/.mythtv$" moz-do-not-send="true">dpeale@BlackBox:~/.mythtv$</a> ls 
-l
total 44
drwxrwxr-x 2 dpeale dpeale 4096 May  4 16:37  3rdParty
-rw-rw-r-- 1 dpeale dpeale   43 May  5 10:08  backuprc
drwxrwxr-x 7 dpeale dpeale 4096 May  9 17:10  cache
drwxrwxr-x 2 dpeale dpeale 4096 May  4 17:54  channels
-rw-rw-r-- 1 dpeale dpeale  565 May  4 16:37  config.xml
-rw-rw-r-- 1 mythtv mythtv 3256 May  4 17:24 'NorthWest ATSC3.xmltv'
-rw-rw-r-- 1 mythtv mythtv 3256 May  4 17:28  NorthWest.xmltv
-rw-rw-r-- 1 mythtv mythtv 3256 May  4 17:27  North.xmltv
-rw-rw-r-- 1 mythtv mythtv 3256 May  4 17:30  South.xmltv
drwxrwxr-x 2 dpeale dpeale 4096 May  4 16:37  themes
drwxrwxr-x 3 dpeale dpeale 4096 May  4 16:37  tmp

</pre>
        <p>I did it this way because last time I re-installed linux, the
          /home/mythtv directory was missing from my backup so I had to
          re-create all of the xmltv files. </p>
        <p>This is what the entire /home/mythtv/.mythtv directory looks
          like:</p>
        <p><a class="moz-txt-link-abbreviated moz-txt-link-freetext"
            href="mailto:dpeale@BlackBox:~/.mythtv$"
            moz-do-not-send="true">dpeale@BlackBox:~/.mythtv$</a> ls -ld
          /home/mythtv/.mythtv/*<br>
          drwxr-xr-x 2 mythtv mythtv 4096 May  4 16:36 
          /home/mythtv/.mythtv/3rdParty<br>
          drwxr-xr-x 4 mythtv mythtv 4096 May 15 21:10 
          /home/mythtv/.mythtv/cache<br>
          drwxr-xr-x 2 mythtv mythtv 4096 May  4 16:36 
          /home/mythtv/.mythtv/channels<br>
          -rw-r--r-- 1 mythtv mythtv  643 May  4 23:35 
          /home/mythtv/.mythtv/config.xml<br>
          lrwxrwxrwx 1 mythtv mythtv   42 May  4 17:41
          '/home/mythtv/.mythtv/NorthWest ATSC3.xmltv' ->
          '/home/dpeale/.mythtv/NorthWest ATSC3.xmltv'<br>
          lrwxrwxrwx 1 mythtv mythtv   36 May  4 17:39 
          /home/mythtv/.mythtv/NorthWest.xmltv ->
          /home/dpeale/.mythtv/NorthWest.xmltv<br>
          -rw-r--r-- 1 mythtv mythtv  171 May 16 14:52 
          /home/mythtv/.mythtv/North.xmltv<br>
          lrwxrwxrwx 1 mythtv mythtv   32 May  4 17:42 
          /home/mythtv/.mythtv/South.xmltv ->
          /home/dpeale/.mythtv/South.xmltv<br>
          drwxr-xr-x 2 mythtv mythtv 4096 May  4 16:36 
          /home/mythtv/.mythtv/themes<br>
          drwxr-xr-x 4 mythtv mythtv 4096 May  4 16:36 
          /home/mythtv/.mythtv/tmp<br>
          -rw-r--r-- 1 mythtv mythtv 1691 May  8 21:50 
          /home/mythtv/.mythtv/ttvdb4.ini<br>
        </p>
        <p>I have been messing with Noth.xmltv in an attempt to fix the
          problem which is why it is not a link like the others.</p>
        <blockquote type="cite"
          cite="mid:1778982443537.3027138928.4065866825@gmail.com">
          <pre wrap="" class="moz-quote-pre">Try this, from the above:

   tv_grab_zz_sdjson --config-file '/home/mythtv/.mythtv/NorthWest.xmltv' 
--output /tmp/just_testing

You can add the --debug switch to the above, see if that gives any more 
hists.

</pre>
        </blockquote>
        <p>That seems to have worked.</p>
        <p><a class="moz-txt-link-abbreviated moz-txt-link-freetext"
            href="mailto:dpeale@BlackBox:~/.mythtv$"
            moz-do-not-send="true">dpeale@BlackBox:~/.mythtv$</a> 
          tv_grab_zz_sdjson --config-file
          '/home/mythtv/.mythtv/NorthWest.xmltv' --output
          /tmp/just_testing<br>
          Initializing...<br>
          ** POST <a class="moz-txt-link-freetext"
            href="https://json.schedulesdirect.org/20141201/token"
            moz-do-not-send="true">https://json.schedulesdirect.org/20141201/token</a>
          ==> 200 OK (1s)<br>
          ** GET <a class="moz-txt-link-freetext"
            href="https://json.schedulesdirect.org/20141201/status"
            moz-do-not-send="true">https://json.schedulesdirect.org/20141201/status</a>
          ==> 200 OK<br>
          Updating lineups...<br>
          ** GET <a class="moz-txt-link-freetext"
href="https://json.schedulesdirect.org/20141201/lineups/USA-OTA-95127"
            moz-do-not-send="true">https://json.schedulesdirect.org/20141201/lineups/USA-OTA-95127</a>
          ==> 200 OK (1s)<br>
          Indexing channels...<br>
          Updating schedules...<br>
          ** POST <a class="moz-txt-link-freetext"
href="https://json.schedulesdirect.org/20141201/schedules/md5"
            moz-do-not-send="true">https://json.schedulesdirect.org/20141201/schedules/md5</a>
          ==> 200 OK (2s)<br>
          ** POST <a class="moz-txt-link-freetext"
            href="https://json.schedulesdirect.org/20141201/schedules"
            moz-do-not-send="true">https://json.schedulesdirect.org/20141201/schedules</a>
          ==> 200 OK (10s)<br>
          Updating programs...<br>
          ** POST <a class="moz-txt-link-freetext"
            href="https://json.schedulesdirect.org/20141201/programs"
            moz-do-not-send="true">https://json.schedulesdirect.org/20141201/programs</a>
          ==> 200 OK (9s)<br>
          ** POST <a class="moz-txt-link-freetext"
            href="https://json.schedulesdirect.org/20141201/programs"
            moz-do-not-send="true">https://json.schedulesdirect.org/20141201/programs</a>
          ==> 200 OK (9s)<br>
          ** POST <a class="moz-txt-link-freetext"
            href="https://json.schedulesdirect.org/20141201/programs"
            moz-do-not-send="true">https://json.schedulesdirect.org/20141201/programs</a>
          ==> 200 OK (6s)<br>
          Removing old cache entries...<br>
          Writing output...<br>
          Done<br>
        </p>
        <p>The just_testing file is huge, so I won't include it, but the
          contents do look like an xml file</p>
      </blockquote>
      <span class="viv-signature-below">
        <div><span class="viv-signature-below"><br>
          </span></div>
        <div><span class="viv-signature-below">I'd break the link and
            copy the file or make it a hard link then retry.</span></div>
        <div><span class="viv-signature-below"><br>
          </span></div>
        -- <br>
        Bill</span>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre wrap="" class="moz-quote-pre">_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://lists.mythtv.org/mailman/listinfo/mythtv-users">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a>
<a class="moz-txt-link-freetext" href="http://wiki.mythtv.org/Mailing_List_etiquette">http://wiki.mythtv.org/Mailing_List_etiquette</a>
MythTV Forums: <a class="moz-txt-link-freetext" href="https://forum.mythtv.org">https://forum.mythtv.org</a>
</pre>
    </blockquote>
    <p>I have copied the files to /home/mythtv/.mythtv, eliminating the
      links.</p>
    <p>I did not find a way to trigger mythfilldatabase from the web
      front end, so I used the depreciated MythTV backend setup which,
      after restarting the backend, allows me to trigger a
      mythfilldatabase run.</p>
    <p>This appears to be working, but unfortunately it is using the
      xmltv files in /home/dpeale/.mythtv rather than
      /home/mythtv/.mythtv.</p>
    <p>Since I don't know how to trigger the normal mythfilldatabase, I
      will have to wait until tomorrow when it is next scheduled to run
      to find out if moving the files fixes the problem.</p>
    <p><br>
    </p>
    <pre class="moz-signature" cols="128">-- 
Note: the attached .asc file is a cryptographic signature that would allow you to verify that this message has not been modified from what was sent.</pre>
  </body>
</html>