<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Sep 15, 2017 at 9:50 PM, Mark Perkins <span dir="ltr"><<a href="mailto:perkins1724@hotmail.com" target="_blank">perkins1724@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">> On 09/08/2017 09:10 AM, Marlon Buchanan wrote:<br>
><br>
> > Thanks, but I've already added the appropriate packages and ttvd.py does<br>
work commandline, so I don't think that's the problem.<br>
> > Mythmetadatalookup also works commandline with ttvdb.py. So just trying<br>
to figure out why Myth's automatic job doesn't seem to work.<br>
><br>
> If you don't have the actual command line from mythmetadatalookup.log<br>
> already, then try: mythbackend --setverbose system. After a recording,<br>
look<br>
> in mythmetadatalookup.log for it. The initial post here said<br>
><br>
>      "Television grabber not functional."<br>
><br>
> That means that ttvdb.py was being run with the -v option just to see if<br>
it's<br>
> there (and it failed.)<br>
><br>
</span>What is the output of the following commands (if your distro has ttvdb.py<br>
and tmdb3.py in a different location you may need to search for them and<br>
correct the path as appropriate). Make sure to run as the same user in same<br>
environment as is running the backend.<br>
<br>
/usr/local/share/mythtv/<wbr>metadata/Television/ttvdb.py -v<br>
/usr/local/share/mythtv/<wbr>metadata/Movie/tmdb3.py -v<br>
/usr/local/share/mythtv/<wbr>metadata/Movie/tmdb3.py -t<br>
<br>
I was getting the same error. In my case on a clean install (but heavily<br>
customised inside a docker container) I found that I was missing group<br>
execute permissions on ttvdb.py and tmdb3.py. I also had no ~/.mythtv/cache<br>
directory and ttvdb.py failed until I manually created the cache directory<br>
with appropriate permissions. I also used pip to install requests_cache "pip<br>
install requests-cache".<br>
<br>
$/usr/local/share/mythtv/<wbr>metadata/Television/ttvdb.py -v<br>
<span class="gmail-">Traceback (most recent call last):<br>
</span>  File "/usr/local/share/mythtv/<wbr>metadata/Television/ttvdb.py", line 1074, in<br>
<module><br>
    os.mkdir(cache_dir)<br>
OSError: [Errno 2] No such file or directory:<br>
'/home/mythtv/.mythtv/cache/<wbr>tvdb_api/'<br>
<div class="gmail-HOEnZb"><div class="gmail-h5"><br>
______________________________<wbr>_________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/<wbr>mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/<wbr>Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a><br>
</div></div></blockquote></div><br></div><div class="gmail_extra">I have 0.28 (0.28.1+fixes.20170903) installed on Ubuntu 16.04.3 and also cannot get some metadata lookup tasks to work.  Movie lookups using tmdb.py work but television show lookups using ttvdb.py have been failing for about a week.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Running:</div><div class="gmail_extra"><div class="gmail_extra">/usr/share/mythtv/metadata/Television/ttvdb.py -t</div><div class="gmail_extra">returns:</div><div class="gmail_extra">No handlers could be found for logger "MythTV.ttvdb.tvdb_exceptions"</div><div class="gmail_extra"><br></div><div class="gmail_extra">I have previously installed requests_cache and a few other missing modules using pip.  Can anyone here suggest anything else I can try to fix this, short of reinstalling from scratch?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks,</div><div class="gmail_extra">William</div></div></div>