[mythtv-users] Upgraded to 29, mythmetadata lookup failing...

William Taft m056678 at gmail.com
Sat Sep 16 02:33:05 UTC 2017


On Fri, Sep 15, 2017 at 9:50 PM, Mark Perkins <perkins1724 at hotmail.com>
wrote:

> > 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/'
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>

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.

Running:
/usr/share/mythtv/metadata/Television/ttvdb.py -t
returns:
No handlers could be found for logger "MythTV.ttvdb.tvdb_exceptions"

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?

Thanks,
William
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20170915/940aa44d/attachment-0001.html>


More information about the mythtv-users mailing list