[mythtv-users] tvmaze -t causing failure in mythmetadatalookup
smkranz0506 at gmail.com
Tue Apr 13 22:29:31 UTC 2021
On Wed, 14 Apr 2021 at 04:28, Roland Ernst <rcrernst at gmail.com> wrote:
> On Tue, Apr 13, 2021 at 5:28 PM Hika van den Hoven <hikavdh at gmail.com> wrote:
>> > In my case, tvmaze.py -t fails as it says "Failed to import PyTVmaze
>> > library. This should have been included with the python MythTV
>> > bindings." Then the job exits.
> This can be related to the bug #347 at
> Open a terminal, and enter the following commands:
>> Python 3.8.5 (default, Jan 27 2021, 15:41:15)
>> [GCC 9.3.0] on linux
>> Type "help", "copyright", "credits" or "license" for more information.
>> >>> import lxml
>> >>> import requests
>> >>> import requests_cache
>> >>> import MythTV
>> >>> from MythTV.tvmaze import tvmaze_api
> This should give you a python traceback if one of these modules can't be found.
> Try to install the missing module
> I suspect, that the package 'python3-dateutil' is missing, according to issue #347.
> mythtv-users mailing list
> mythtv-users at mythtv.org
> MythTV Forums: https://forum.mythtv.org
yes, thanks, the dateutil module was missing:
xxxxx at xxxxxxxxxxx:~$ python3
Python 3.7.3 (default, Jul 25 2020, 13:03:44)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import lxml
>>> import requests
>>> import requests_cache
>>> import MythTV
>>> from MythTV.tvmaze import tvmaze_api
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
line 38, in <module>
from dateutil import parser
ModuleNotFoundError: No module named 'dateutil'
As i don't have any problem with adding these modules for both python2
and python3, i simply installed both the python-dateutil and
python3-dateutil packages. Even when the bugfix for #347 comes
through on my next mythtv update via deb-multimedia, the change will
I then removed my comments in the original script to allow the "-t"
option to actually function and it's all ok now.
More information about the mythtv-users