mythburn.py crashes: AttributeError: 'weakref' object has no attribute 'commit'

Bug #1526963 reported by Simon Lambourn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mythbuntu
New
Undecided
Unassigned

Bug Description

While archiving a mpg video to DVD, I go through all the steps to define what I want to write to DVD, press the 'next' button, and after a delay, the log view is displayed, but no text, and nothing is happening. When I look in mythburn.log, I find the following error message:

Traceback (most recent call last):
  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 197, in <module>
    DB = MythTV.MythDB()
  File "/usr/lib/python2.7/dist-packages/MythTV/database.py", line 1271, in __init__
    elif self._testconfig(tmpconfig):
  File "/usr/lib/python2.7/dist-packages/MythTV/database.py", line 1301, in _testconfig
    self._schema_name)
  File "/usr/lib/python2.7/dist-packages/MythTV/database.py", line 1324, in _check_schema
    sver = int(cursor.fetchone()[0])
  File "/usr/lib/python2.7/dist-packages/MythTV/_conn_mysqldb.py", line 107, in __exit__
    self.commit()
  File "/usr/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'

That's the whole content of the file. I have had this working before, but it was several months ago, probably with a different release of mythtv.

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: mytharchive 2:0.27.1+fixes.20140624.aa822f5-0ubuntu6 [origin: unknown]
ProcVersionSignature: Ubuntu 4.2.0-21.25-generic 4.2.6
Uname: Linux 4.2.0-21-generic x86_64
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
CrashDB: mythbuntu
CurrentDesktop: Unity
Date: Wed Dec 16 21:33:31 2015
Installed_mythtv_dbg: 2:0.27.1+fixes.20140624.aa822f5-0ubuntu6
SourcePackage: mythtv
UpgradeStatus: Upgraded to wily on 2015-10-25 (52 days ago)

Revision history for this message
Simon Lambourn (simon-lambourn-o) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.