[mythtv-users] Upgraded to 29, mythmetadata lookup failing...
Mark Perkins
perkins1724 at hotmail.com
Sat Sep 16 01:50:14 UTC 2017
> On 09/08/2017 09:10 AM, Marlon Buchanan wrote:
>
> > Thanks, but I've already added the appropriate packages and ttvd.py does
work commandline, so I don't think that's the problem.
> > Mythmetadatalookup also works commandline with ttvdb.py. So just trying
to figure out why Myth's automatic job doesn't seem to work.
>
> If you don't have the actual command line from mythmetadatalookup.log
> already, then try: mythbackend --setverbose system. After a recording,
look
> in mythmetadatalookup.log for it. The initial post here said
>
> "Television grabber not functional."
>
> That means that ttvdb.py was being run with the -v option just to see if
it's
> there (and it failed.)
>
What is the output of the following commands (if your distro has ttvdb.py
and tmdb3.py in a different location you may need to search for them and
correct the path as appropriate). Make sure to run as the same user in same
environment as is running the backend.
/usr/local/share/mythtv/metadata/Television/ttvdb.py -v
/usr/local/share/mythtv/metadata/Movie/tmdb3.py -v
/usr/local/share/mythtv/metadata/Movie/tmdb3.py -t
I was getting the same error. In my case on a clean install (but heavily
customised inside a docker container) I found that I was missing group
execute permissions on ttvdb.py and tmdb3.py. I also had no ~/.mythtv/cache
directory and ttvdb.py failed until I manually created the cache directory
with appropriate permissions. I also used pip to install requests_cache "pip
install requests-cache".
$/usr/local/share/mythtv/metadata/Television/ttvdb.py -v
Traceback (most recent call last):
File "/usr/local/share/mythtv/metadata/Television/ttvdb.py", line 1074, in
<module>
os.mkdir(cache_dir)
OSError: [Errno 2] No such file or directory:
'/home/mythtv/.mythtv/cache/tvdb_api/'
More information about the mythtv-users
mailing list