[mythtv-users] Απ: opensuse and python bindings

Yianni Vidalis yiannividalis at hotmail.com
Wed Apr 25 01:22:20 UTC 2018


Hi, Stuart, thanks for your reply.

I cloned ansible and played the whole playbook, unfortunately on the relevant part it returns:
TASK [mythtv-suse : install mythtv essential python modules] **************************************************************************************
failed: [localhost] (item=[u'python-MySQL-python', u'python-lxml', u'python-urlgrabber', u'python-future', u'python-requests', u'python-oauth']) => {"changed": false, "cmd": ["/usr/bin/zypper", "--quiet", "--non-interactive", "--xmlout", "install", "--type", "package", "--auto-agree-with-licenses", "--no-recommends", "--", "+python-MySQL-python", "+python-lxml", "+python-urlgrabber", "+python-future", "+python-requests", "+python-oauth"], "item": ["python-MySQL-python", "python-lxml", "python-urlgrabber", "python-future", "python-requests", "python-oauth"], "msg": "The package '+python-MySQL-python' was not found.", "rc": 104, "stderr": "", "stderr_lines": [], "stdout": "<?xml version='1.0'?>\n<stream>\n<message type=\"error\">Το πακέτο '+python-MySQL-python' δε βρέθηκε.</message>\n</stream>\n", "stdout_lines": ["<?xml version='1.0'?>", "<stream>", "<message type=\"error\">the package '+python-MySQL-python' was not found.</message>", "</stream>"]}
        to retry, use: --limit @/home/yianni/ansible/qt5.retry

I have these packages installed but they don't help:
yianni at eagle3:~/ansible> rpm -qa | grep -i python | grep -i sql
python2-mysql-connector-python-2.1.7-1.1.noarch
python3-python-sql-0.9-1.2.noarch
python3-PyMySQL-0.7.11-1.2.noarch
python3-mysql-connector-python-2.1.7-1.1.noarch
python2-PyMySQL-0.7.11-1.2.noarch
python2-python-sql-0.9-1.2.noarch

Maybe opensuse differs...

Yianni.

________________________________________
Από: mythtv-users <mythtv-users-bounces at mythtv.org> εκ μέρους του Stuart Auchterlonie <stuarta at squashedfrog.net>
Στάλθηκε: Τετάρτη, 25 Απριλίου 2018 12:36 πμ
Προς: mythtv-users at mythtv.org
Θέμα: Re: [mythtv-users] opensuse and python bindings

On 24/04/18 06:34, Yianni Vidalis wrote:
> Hi,
>
> I had to reinstall opensuse tumbleweed on my laptop due to unfortunate filesystem errors. I cannot enable python-bindings. The error says:
> WARNING: disabling Python bindings; missing MySQLdb
>
> I'm running the master version.
>
> Can someone please let me know what package I'm missing?
>

I believe python-MySQL-python, see also

https://github.com/MythTV/ansible/blob/master/roles/mythtv-suse/tasks/main.yml#L43

If you run into other problems, i suggest running the whole playbook

Regards
Stuart
_______________________________________________
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


More information about the mythtv-users mailing list