[mythtv-users] MythTV python schema mismatch

Stephen Worthington stephen_agent at jsw.gen.nz
Fri Nov 22 10:22:39 UTC 2013


I am running Mythbuntu 12.04 with MythTV 0.27-fixes
(v0.27-98-g552fdc0).  Today, for probably the first time since I
upgraded to 0.27, I tried to run a Python program that uses the MythTV
bindings (mhegepgsnoop.py).  But it stopped with an error about
mismatched schema version.  So I just ran some manual Python commands
to see what the problem was:

Python 2.7.3 (default, Sep 26 2013, 20:03:06)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from MythTV import MythDB
>>> db = MythDB()
2013-11-22 23:10:48.530636 E [5396] Python Database Connection
Database schema mismatch: we speak 1307 but database speaks 1317
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/MythTV/database.py",
line 1259, in __init__
    elif self._testconfig(tmpconfig):
  File "/usr/local/lib/python2.7/dist-packages/MythTV/database.py",
line 1289, in _testconfig
    self._schema_name)
  File "/usr/local/lib/python2.7/dist-packages/MythTV/database.py",
line 1322, in _check_schema
    raise MythDBError(MythError.DB_SCHEMAMISMATCH, value, sver, local)
MythTV.exceptions.MythDBError: Mismatched schema version for
'DBSchemaVer': database speaks version 1317, we speak version 1307
>>>


So it seems that the Python bindings I have installed (from the
Mythbuntu package) are out of date.  Does anyone have any ideas as to
what has gone wrong?  Is it just that the Mythbuntu package just needs
updating?  The installed package version for libmyth-python is:

  2:0.27.0+fixes.20131121.552fdc0-0ubuntu0mythbuntu2


More information about the mythtv-users mailing list