[mythtv-users] Error running find_orphans.py

Dave Badia dbadia at gmail.com
Sun Aug 30 18:02:31 UTC 2015


Hi -

I did a fresh download of this script from the wiki at
https://www.mythtv.org/wiki/Find_orphans.py   but getting the following
error:

Any thoughts?

 python2 find_orphans.py
Traceback (most recent call last):
  File "find_orphans.py", line 221, in <module>
    DB = MythDB()
  File "/usr/local/lib/python2.7/dist-packages/MythTV/database.py", line
1271, in __init__
    elif self._testconfig(tmpconfig):
  File "/usr/local/lib/python2.7/dist-packages/MythTV/database.py", line
1301, in _testconfig
    self._schema_name)
  File "/usr/local/lib/python2.7/dist-packages/MythTV/database.py", line
1324, in _check_schema
    sver = int(cursor.fetchone()[0])
  File "/usr/local/lib/python2.7/dist-packages/MythTV/_conn_mysqldb.py",
line 107, in __exit__
    self.commit()
  File "/usr/local/lib/python2.7/dist-packages/MythTV/_conn_mysqldb.py",
line 98, in commit
    def commit(self): self.connection.commit()
AttributeError: 'weakref' object has no attribute 'commit'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20150830/63faf227/attachment.html>


More information about the mythtv-users mailing list