[mythtv-users] tmdb3 wonkiness

Hika van den Hoven hikavdh at gmail.com
Wed Sep 16 19:31:06 UTC 2015


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.

Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens



More information about the mythtv-users mailing list