<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>On 11/10/2023 17:22, James Abernathy wrote:</p>
    <blockquote type="cite"
cite="mid:CANFv2EmQALuCHZU66XEapD818JSP+k4H4Wn1QQd_av-_Zj-27A@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <br>
      <div dir="ltr">
        <div class="gmail_quote">
          <blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
            <div dir="ltr">
              <div dir="ltr">
                <div class="gmail_quote">
                  <div>So I restored from a snapshot a few days before
                    the last mythtv update.  As soon as I booted it ran
                    the mythconverg backup on schema 1378.  Then I sudo
                    apt update and upgrade, and now I am back to where
                    the database has indeed been updated to 1379 but the
                    backup will not run because the binding support
                    schema is still 1378.</div>
                  <div><br>
                  </div>
                  <div>Jim A<br>
                  </div>
                </div>
              </div>
            </div>
          </blockquote>
          <div><br>
          </div>
          <div>And I cannot run  ./find_orphans_jfa.py for the same
            reason.</div>
          <div><br>
          </div>
          <div>2023-10-11 12:20:20.226853 E [2272] Python Database
            Connection Database schema mismatch: we speak 1378 but
            database speaks 1379<br>
            Traceback (most recent call last):<br>
              File "/home/jim/./find_orphans_jfa.py", line 223, in
            <module><br>
                DB = MythDB()<br>
              File
            "/usr/local/lib/python3.10/dist-packages/MythTV/database.py",
            line 1272, in __init__<br>
                elif self._testconfig(tmpconfig):<br>
              File
            "/usr/local/lib/python3.10/dist-packages/MythTV/database.py",
            line 1301, in _testconfig<br>
                self._check_schema(self._schema_value,
            self._schema_local,<br>
              File
            "/usr/local/lib/python3.10/dist-packages/MythTV/database.py",
            line 1335, in _check_schema<br>
                raise MythDBError(MythError.DB_SCHEMAMISMATCH, value,
            sver, local)<br>
            MythTV.exceptions.MythDBError: Mismatched schema version for
            'DBSchemaVer': database speaks version 1379, we speak
            version 1378<br>
          </div>
          <div><br>
          </div>
          <div>Jim A</div>
          <div><br>
          </div>
        </div>
      </div>
      <br>
    </blockquote>
    <p><br>
    </p>
    <p>I would look in <span style="font-family:monospace">/usr/local/share/perl/
      </span><span style="font-family:monospace"></span>and see if there
      are different version of the binding in different directories.
      Look for different version of MythTV.pm</p>
    <p>I don't speak perl but I would guess if you look at your perl
      --version you should have a corresponding directory in <span
        style="font-family:monospace">/usr/local/share/perl/ </span><span
        style="font-family:monospace"></span>in which you should find a
      MythTV.pm.</p>
    <p>There is a dpkg command to see what a package installs and where
      I thing it is something like <span style="font-family:monospace"><span
          style="color:#000000;background-color:#ffffff;">dpkg -L
          libmythtv-perl </span></span><span
        style="font-family:monospace"><span
          style="color:#000000;background-color:#ffffff;"></span></span>to
      see if the bindings are being installed in the correct directory
      for your version of Perl.</p>
    <p><br>
    </p>
    <p>Paul H.<br>
    </p>
  </body>
</html>