[mythtv-users] Remotely monitor Backend is running
Barry Martin
barry3martin at gmail.com
Thu Oct 14 22:30:40 UTC 2021
Hi Stephen!
> So the libmyth-python package from MythTV v30 is not installed.
Sorry about the delay in responding: took my friend to urgent care
facility this morning. Nothing overly serious a prescription for
antibiotics shouldn’t cure in a week. (In U.S. ‘urgent care facility’ is
a walk-in medical site for symptoms less than requiring Emergency Room
treatment.)
OK, back to business. Downloaded the current test-mythbackend.py
<http://www.jsw.gen.nz/mythtv/test-mythbackend.py> – looks to be v.1.3
of October 12^th still. Modified initial line to use python2.
barry at NZXT:~$ python '/home/barry/MythTV Backend
Scripts/test-mythbackend_v1_3-101421.py'
Please install the MythTV services_api version compatible with your
MythTV backend.
In Ubuntu, to get the current version of the MythTV services_api, do
"sudo apt install libmyth-python".
If you still get this message after installing libmyth-python, do "sudo
apt install python-future python-requests".
Traceback (most recent call last):
File "/home/barry/MythTV Backend
Scripts/test-mythbackend_v1_3-101421.py", line 35, in <module>
from MythTV.services_api import send as api
ImportError: No module named services_api
OK, expected.
barry at NZXT:~$ sudo apt install libmyth-python
[sudo] password for barry:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libmyth-python is already the newest version
(2:29.1+fixes.20180414.329c235-0ubuntu3).
The following package was automatically installed and is no longer required:
libpdf-api2-perl
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
Pretty much expected. Re-ran test-mythbackend_v1_3-101421.py' – same
error. Expected.
barry at NZXT:~$ sudo apt install python-future python-requests
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-future is already the newest version (0.15.2-4ubuntu2).
python-requests is already the newest version (2.18.4-2ubuntu0.1).
The following package was automatically installed and is no longer required:
libpdf-api2-perl
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
Still “ImportError: No module named services_api “ – obviously I’m doing
something not quite right. Seems like I need to tell it which version
(30) to download.
Barry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20211014/57ae94e5/attachment.htm>
More information about the mythtv-users
mailing list