<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 2/9/15 3:22 PM, <a class="moz-txt-link-abbreviated" href="mailto:john.baab@gmail.com">john.baab@gmail.com</a>
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAOfiuiwQcq5K3MQqe8H0UfwBsKr61qY5RtE4KiGhSx1RfWYM8A@mail.gmail.com"
      type="cite">
      <div dir="ltr">I'm having issues where my SD fails on most
        attempts, logs indicate a download error: <span
          style="font-size:13.1999998092651px"><a moz-do-not-send="true"
            href="http://paste.ubuntu.com/10147508/">http://paste.ubuntu.com/10147508/</a></span>
        <div><br>
        </div>
        <div>I'm using the following options for mythfilldatabase:
          "--dd-grab-all -v network,file --loglevel debug"<br>
        </div>
        <div><br>
        </div>
        <div>Notice I added more logging in order to get a better look
          at the download issues.  I am letting the grabber suggest a
          time as well.</div>
        <div><br>
        </div>
        <div>MythTV
          Version: 2:0.27.4+fixes.20150116.3b43903-0ubuntu0mythbuntu2 </div>
        <div><br>
        </div>
        <div>I have verified this isn't a user error, it runs fine as my
          user and if I su to the mythtv user as well.  Not sure where
          else to look now.</div>
      </div>
    </blockquote>
    I was having a problem where the first attempt after a long pause
    (an hour?) would fail, but if I tried again after a failure it would
    work. At the suggestion of others on this list, I ended up using
    this script as a wrapper around mythfilldatabase proper, and have
    not had any problems since:<br>
    <br>
    #!/bin/sh<br>
    ping -c 3 dd.schedulesdirect.org<br>
    /usr/local/bin/mythfilldatabase $*<br>
    <br>
    It makes no sense to me that it would be necessary to ping the
    server first, but it does work.<br>
  </body>
</html>