<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 2/3/2012 08:53, Greg Grotsky wrote:
    <blockquote
cite="mid:CAKL4i_qeSKm4ba+FqtT6hvZq9xem34d2mf7qv2H+OU0x8kcXPw@mail.gmail.com"
      type="cite">
      <div class="gmail_quote">On Thu, Feb 2, 2012 at 11:35 PM, Michael
        T. Dean <span dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:mtdean@thirdcontact.com">mtdean@thirdcontact.com</a>&gt;</span>
        wrote:<br>
        <blockquote style="margin:0px 0px 0px
0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"
          class="gmail_quote">
          <div class="HOEnZb"><a moz-do-not-send="true"
              href="http://www.mythtv.org/wiki/Find_orphans.py"
              target="_blank">http://www.mythtv.org/wiki/Find_orphans.py</a><br>
          </div>
          <div class="HOEnZb">&nbsp;</div>
        </blockquote>
        <div>&nbsp;</div>
        <div>I&nbsp;created the script&nbsp;and tried to run it but it gives me
          this:</div>
        <div><br>
          &nbsp; File
          "/mythtv/local64/lib/python2.7/site-packages/MythTV/connections.py",
          line 619, in getConnectionInfo<br>
          &nbsp;&nbsp;&nbsp; dat = self._request('Myth/GetConnectionInfo',
          Pin=pin).readJSON()<br>
          &nbsp; File "/usr/lib/python2.7/urllib2.py", line 521, in
          http_error_default<br>
          &nbsp;&nbsp;&nbsp; raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)<br>
          urllib2.HTTPError: HTTP Error 500: Internal Server Error<br>
        </div>
      </div>
    </blockquote>
    <br>
    The script needs access to the database in order to find differences
    between the database and the filesystem.&nbsp; You ran it from a user
    account on a system that was never configured to identify the
    database.&nbsp; It fell back to trying to access the credentials over
    UPNP autodetection, and received an error from the web server.&nbsp; Run
    `mythfrontend` or `mythtv-setup` from the same account to create the
    config.xml needed to identify the database location.<br>
  </body>
</html>