[mythtv-users] tmdb3 wonkiness

Phil Bridges gravityhammer at gmail.com
Wed Sep 16 19:51:38 UTC 2015


On Wed, Sep 16, 2015 at 3:31 PM, Hika van den Hoven <hikavdh at gmail.com>
wrote:

> Hoi Phil,
>
> Wednesday, September 16, 2015, 9:21:11 PM, you wrote:
>
> > On Wed, Sep 16, 2015 at 2:04 PM, Bill Meek <keemllib at gmail.com> wrote:
>
> >> On 09/16/2015 12:44 PM, Phil Bridges wrote:
> >>
> >>> <         confpath = os.path.join(confdir, 'pytmdb3.cache')
> >>> ---
> >>>
> >>>> >         confpath = os.path.join(confdir, 'cache', 'pytmdb3.cache')
> >>>>
> >>>
> >> Forgot that there's now a cache directory in 0.28-pre, so the
> >> version I'm using may not work for you.
> >>
> >> It might be worthwhile to remove your tmdb3.cache. I tried it and it
> failed
> >> like yours:
> >>
> >>     /usr/local/share/mythtv/metadata/Movie/tmdb3.py -l en -a US -D
> 116149
> >> ...
> >>     status = status_handlers[data.get('status_code', 1)]
> >> KeyError: 25
> >>
> >> Then I ran /usr/local/share/mythtv/metadata/Movie/tmdb3.py -l en -a US
> -D
> >> 11614
> >> (note the missing last digit):
> >>
> >> and it worked, as did the original (-D 116149.) And I repeated it
> >> eight times. All returned the same non-errored result.
> >>
> >>
> >>
> > The first few times I ran the 11614 query it worked fine, then it crashed
> > with the same error.   Running it again worked.  I can't seem to figure
> out
> > why it errors sometimes, and doesn't others.
>
> Maybe corrupt data in your cache? Try deleting it.
>
>
>
Thanks for the response - I deleted both cache files (see above), and
manually running still works sometimes, and doesn't work others.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20150916/d9044fdc/attachment.html>


More information about the mythtv-users mailing list