[mythtv-users] Error running find_orphans.py
Andrew Berridge
andrew.berridge at gmail.com
Thu Sep 3 16:30:53 UTC 2015
Thank you. That helps, but the solution doesn't work for rollback. I have
changed rollback code to match, but get:
./find_orphans.py
Traceback (most recent call last):
File "./find_orphans.py", line 230, in <module>
main()
File "./find_orphans.py", line 166, in main
recs, zerorecs, orphvids, orphimgs, dbbackup, unfiltered =
populate(host)
File "./find_orphans.py", line 71, in populate
for sg in DB.getStorageGroup():
File "/usr/lib/python2.7/site-packages/MythTV/database.py", line 1397, in
getStorageGroup
yield StorageGroup.fromRaw(row, self)
File "/usr/lib/python2.7/site-packages/MythTV/_conn_mysqldb.py", line
105, in __exit__
self.rollback()
File "/usr/lib/python2.7/site-packages/MythTV/_conn_mysqldb.py", line 99,
in rollback
def rollback(self): self.get_db().rollback()
AttributeError: 'LoggedCursor' object has no attribute 'get_db'
I have "passed" that function for now.
I am using Fedora 22 like the original bug reporter.
Andrew
On Thu, Sep 3, 2015 at 5:02 PM, Roger Siddons <dizygotheca at ntlworld.com>
wrote:
> On Thu, 03 Sep 2015 16:23:37 +0100, Andrew Berridge <
> andrew.berridge at gmail.com> wrote:
>
> I have the same issue - has anyone figured it out yet?
>
> I am using myth v0.27.4-64-g8fd277b
>
>
> A fix is reported in the bugzilla ticket.
>
> https://code.mythtv.org/trac/ticket/12491
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20150903/351dc02d/attachment-0001.html>
More information about the mythtv-users
mailing list