<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Sep 16, 2015 at 2:04 PM, Bill Meek <span dir="ltr"><<a href="mailto:keemllib@gmail.com" target="_blank">keemllib@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On 09/16/2015 12:44 PM, Phil Bridges wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<         confpath = os.path.join(confdir, 'pytmdb3.cache')<br>
---<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
>         confpath = os.path.join(confdir, 'cache', 'pytmdb3.cache')<br>
</blockquote></blockquote>
<br></span>
Forgot that there's now a cache directory in 0.28-pre, so the<br>
version I'm using may not work for you.<br>
<br>
It might be worthwhile to remove your tmdb3.cache. I tried it and it failed<br>
like yours:<br>
<br>
    /usr/local/share/mythtv/metadata/Movie/tmdb3.py -l en -a US -D 116149<br>
...<span class=""><br>
    status = status_handlers[data.get('status_code', 1)]<br>
KeyError: 25<br>
<br></span>
Then I ran /usr/local/share/mythtv/metadata/Movie/tmdb3.py -l en -a US -D 11614<br>
(note the missing last digit):<br>
<br>
and it worked, as did the original (-D 116149.) And I repeated it<br>
eight times. All returned the same non-errored result.<div class=""><div class="h5"><br></div></div></blockquote><div><br></div><div>Thanks again.  I have two instances of pytmdb3.cache:</div><div><br></div><div> ~ # locate pytmdb3.cache</div><div>/home/mythtv/.mythtv/pytmdb3.cache</div><div>/root/.mythtv/pytmdb3.cache</div><div><br></div><div>It appears that 1 is run by the system and is from me running as root:</div><div><br></div><div><div>~ # ls -al /home/mythtv/.mythtv/pytmdb3.cache</div><div>-rw-r--r-- 1 mythtv video 274447 Sep 16 07:00 /home/mythtv/.mythtv/pytmdb3.cache</div><div>~ # ls -al /root/.mythtv/pytmdb3.cache</div><div>-rw-r--r-- 1 root root 242075 Sep 16 13:41 /root/.mythtv/pytmdb3.cache</div></div><div><br></div><div>Is there a "proper" way to clear the cache?  </div></div></div></div>