<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 16, 2015 at 3:31 PM, Hika van den Hoven <span dir="ltr"><<a href="mailto:hikavdh@gmail.com" target="_blank">hikavdh@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hoi Phil,<br>
<div><div class="h5"><br>
Wednesday, September 16, 2015, 9:21:11 PM, you wrote:<br>
<br>
> On Wed, Sep 16, 2015 at 2:04 PM, Bill Meek <<a href="mailto:keemllib@gmail.com">keemllib@gmail.com</a>> wrote:<br>
<br>
>> On 09/16/2015 12:44 PM, Phil Bridges wrote:<br>
>><br>
>>> <         confpath = os.path.join(confdir, 'pytmdb3.cache')<br>
>>> ---<br>
>>><br>
>>>> >         confpath = os.path.join(confdir, 'cache', 'pytmdb3.cache')<br>
>>>><br>
>>><br>
>> 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>
>> ...<br>
>>     status = status_handlers[data.get('status_code', 1)]<br>
>> KeyError: 25<br>
>><br>
>> Then I ran /usr/local/share/mythtv/metadata/Movie/tmdb3.py -l en -a US -D<br>
>> 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.<br>
>><br>
>><br>
>><br>
> The first few times I ran the 11614 query it worked fine, then it crashed<br>
> with the same error.   Running it again worked.  I can't seem to figure out<br>
> why it errors sometimes, and doesn't others.<br>
<br>
</div></div>Maybe corrupt data in your cache? Try deleting it.<br>
<br><div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div><br></div><div>Thanks for the response - I deleted both cache files (see above), and manually running still works sometimes, and doesn't work others. </div></div><br></div></div>