<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<p>Hi Stephen!
</p>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap=""><a class="moz-txt-link-freetext" href="http://www.jsw.gen.nz/mythtv/test-mythbackend.py">http://www.jsw.gen.nz/mythtv/test-mythbackend.py</a>
</pre>
</blockquote>
<p><br>
</p>
<p> </p>
<p style="margin-bottom: 0in; line-height: 100%">Downloaded version
1.3, changed the initial line to run Python 2. Did not add any
lines
this time! Results:</p>
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0in; line-height: 100%">barry@NZXT:~$
<b>python2 '/home/barry/MythTV Backend Scripts/Test-v1_3-work.py'
</b>
</p>
<p style="margin-bottom: 0in; line-height: 100%">Please install the
MythTV services_api version compatible with your MythTV backend.</p>
<p style="margin-bottom: 0in; line-height: 100%">In Ubuntu, to get
the current version of the MythTV services_api, do "sudo apt
install libmyth-python".</p>
<p style="margin-bottom: 0in; line-height: 100%">If you still get
this message after installing libmyth-python, do "sudo apt
install python-future python-requests".</p>
<p style="margin-bottom: 0in; line-height: 100%">Traceback (most
recent call last):</p>
<p style="margin-bottom: 0in; line-height: 100%"> File
"/home/barry/MythTV Backend Scripts/Test-v1_3-work.py",
line 35, in <module></p>
<p style="margin-bottom: 0in; line-height: 100%"> from
MythTV.services_api import send as api</p>
<p style="margin-bottom: 0in; line-height: 100%">ImportError: No
module named MythTV.services_api</p>
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0in; line-height: 100%">So <b>sudo apt
install libmyth-python</b> – installs a bunch of stuff .</p>
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0in; line-height: 100%">barry@NZXT:~$
<b>python2 '/home/barry/MythTV Backend Scripts/Test-v1_3-work.py'
</b>
</p>
<p style="margin-bottom: 0in; line-height: 100%">Please install the
MythTV services_api version compatible with your MythTV backend.</p>
<p style="margin-bottom: 0in; line-height: 100%">In Ubuntu, to get
the current version of the MythTV services_api, do "sudo apt
install libmyth-python".</p>
<p style="margin-bottom: 0in; line-height: 100%">If you still get
this message after installing libmyth-python, do "sudo apt
install python-future python-requests".</p>
<p style="margin-bottom: 0in; line-height: 100%">Traceback (most
recent call last):</p>
<p style="margin-bottom: 0in; line-height: 100%"> File
"/home/barry/MythTV Backend Scripts/Test-v1_3-work.py",
line 35, in <module></p>
<p style="margin-bottom: 0in; line-height: 100%"> from
MythTV.services_api import send as api</p>
<p style="margin-bottom: 0in; line-height: 100%"> File
"/usr/lib/python2.7/dist-packages/MythTV/__init__.py", line
36, in <module></p>
<p style="margin-bottom: 0in; line-height: 100%"> from .utility
import *</p>
<p style="margin-bottom: 0in; line-height: 100%"> File
"/usr/lib/python2.7/dist-packages/MythTV/utility/__init__.py",
line 2, in <module></p>
<p style="margin-bottom: 0in; line-height: 100%"> from .enum
import EnumValue, Enum, BitwiseEnum</p>
<p style="margin-bottom: 0in; line-height: 100%"> File
"/usr/lib/python2.7/dist-packages/MythTV/utility/enum.py",
line 9, in <module></p>
<p style="margin-bottom: 0in; line-height: 100%"> from builtins
import int</p>
<p style="margin-bottom: 0in; line-height: 100%">ImportError: No
module named builtins</p>
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0in; line-height: 100%">OK, so we got the
same error message again, but this time with others. Will run
"sudo
apt install python-future python-requests". Seems like I had to
run that installation for another programme on another computer
around here, so not unusual. … Installs a bunch more.</p>
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0in; line-height: 100%"> </p>
<p style="margin-bottom: 0in; line-height: 100%">barry@NZXT:~$
<b>python2 '/home/barry/MythTV Backend Scripts/Test-v1_3-work.py'
</b>
</p>
<p style="margin-bottom: 0in; line-height: 100%">Please install the
MythTV services_api version compatible with your MythTV backend.</p>
<p style="margin-bottom: 0in; line-height: 100%">In Ubuntu, to get
the current version of the MythTV services_api, do "sudo apt
install libmyth-python".</p>
<p style="margin-bottom: 0in; line-height: 100%">If you still get
this message after installing libmyth-python, do "sudo apt
install python-future python-requests".</p>
<p style="margin-bottom: 0in; line-height: 100%">Traceback (most
recent call last):</p>
<p style="margin-bottom: 0in; line-height: 100%"> File
"/home/barry/MythTV Backend Scripts/Test-v1_3-work.py",
line 35, in <module></p>
<p style="margin-bottom: 0in; line-height: 100%"> from
MythTV.services_api import send as api</p>
<p style="margin-bottom: 0in; line-height: 100%">ImportError: No
module named services_api</p>
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0in; line-height: 100%">Hmmm! Still seeing
the error message. </p>
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0in; line-height: 100%">As for the
‘services_api’ I’ll try changing localhost to the Backend’s
IP</p>
<p style="margin-bottom: 0in; line-height: 100%">HOST =
'localhost' ==> HOST = ‘192.168.4.3’ </p>
<p style="margin-bottom: 0in; line-height: 100%">(Not doing anything
to change line numbers.)</p>
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0in; line-height: 100%">barry@NZXT:~$
<b>python2 '/home/barry/MythTV Backend Scripts/Test-v1_3-work.py'
</b>
</p>
<p style="margin-bottom: 0in; line-height: 100%">Please install the
MythTV services_api version compatible with your MythTV backend.</p>
<p style="margin-bottom: 0in; line-height: 100%">In Ubuntu, to get
the current version of the MythTV services_api, do "sudo apt
install libmyth-python".</p>
<p style="margin-bottom: 0in; line-height: 100%">If you still get
this message after installing libmyth-python, do "sudo apt
install python-future python-requests".</p>
<p style="margin-bottom: 0in; line-height: 100%">Traceback (most
recent call last):</p>
<p style="margin-bottom: 0in; line-height: 100%"> File
"/home/barry/MythTV Backend Scripts/Test-v1_3-work.py",
line 35, in <module></p>
<p style="margin-bottom: 0in; line-height: 100%"> from
MythTV.services_api import send as api</p>
<p style="margin-bottom: 0in; line-height: 100%">ImportError: No
module named services_api</p>
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0in; line-height: 100%">Changed back to
localhost, though seems like it should be looking to the Backend.
</p>
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0in; line-height: 100%">Barry </p>
<p>
<style type="text/css">p { margin-bottom: 0.1in; line-height: 115% }a:link { so-language: zxx }</style></p>
</body>
</html>