[mythtv-commits] Ticket #12491: Accessing myth database from python bindings throws an exception

MythTV noreply at mythtv.org
Fri Nov 13 17:46:02 UTC 2015

#12491: Accessing myth database from python bindings throws an exception
 Reporter:  hobbes1069@…          |          Owner:  wagnerrp
     Type:  Bug Report - General  |         Status:  new
 Priority:  minor                 |      Milestone:  unknown
Component:  Bindings - Python     |        Version:  0.27-fixes
 Severity:  medium                |     Resolution:
 Keywords:                        |  Ticket locked:  0

Comment (by Roger Siddons <dizygotheca@…>):

 Dev list discussion

 This issue also affects Ubuntu 15.10.
 \\Vivid (15.04) uses python-mysqldb whereas Wily (15.10) uses

 The bindings do appear to support 2 Python SQL libraries - mysqldb and
 This issue only concerns mysqldb, which changed upstream in 1.3.4

 For mysqldb, Fedora & Ubuntu package the same source, which was MySQLdb1
 up to 1.2.3 and mysqlclient thereafter.

 MySQLdb1 http://sourceforge.net/projects/mysql-python/
 is a legacy project that's been dormant for 2 years. It doesn't support
 Python 3 and the maintainer cannot be contacted.

 mysqlclient https://github.com/PyMySQL/mysqlclient-python is an active
 fork  to support distributions moving to Python 3.

 It appears they will likely be merged back together once the name
 ownership is resolved.

 Attached patch has been tested on Ubuntu 15.04 (python scripts still work)
 & 15.10 (fixes issue), so should fix all distros using python-mysqldb

Ticket URL: <https://code.mythtv.org/trac/ticket/12491#comment:1>
MythTV <http://www.mythtv.org>
MythTV Media Center

More information about the mythtv-commits mailing list