<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br class="">
Traceback (most recent call last):<br class="">
File "/usr/share/mythtv/metadata/Movie/tmdb3.py", line 300, in <module><br class="">
main()<br class="">
File "/usr/share/mythtv/metadata/Movie/tmdb3.py", line 294, in main<br class="">
buildSingle(args[0], opts)<br class="">
File "/usr/share/mythtv/metadata/Movie/tmdb3.py", line 88, in buildSingle<br class="">
if cast.profile: d['thumb'] = cast.profile.geturl()<br class="">
File "/usr/lib64/python2.7/site-packages/MythTV/tmdb3/util.py", line 153, in __get__<br class="">
self.poller.__get__(inst, owner)()<br class="">
File "/usr/lib64/python2.7/site-packages/MythTV/tmdb3/util.py", line 80, in __call__<br class="">
self.apply(req.readJSON())<br class="">
File "/usr/lib64/python2.7/site-packages/MythTV/tmdb3/cache.py", line 118, in __call__<br class="">
data = self.func(*args, **kwargs)<br class="">
File "/usr/lib64/python2.7/site-packages/MythTV/tmdb3/request.py", line 128, in readJSON<br class="">
handle_status(data, url)<br class="">
File "/usr/lib64/python2.7/site-packages/MythTV/tmdb3/request.py", line 163, in handle_status<br class="">
status = status_handlers[data.get('status_code', 1)]<br class="">
KeyError: 25<br class="">
<br class="">
<br class="">
Any ideas on how to fix this?<br class="">
</blockquote>
<br class=""></div></div>
Status code 25 means that you have exceeded 40 requests in 10 seconds from your IP address. What is needed is to add support for retries using the 'Retry-After' header, and/or keep track of the limit by using the 'X-RateLimit' header.<br class="">
<br class="">
<a href="http://docs.themoviedb.apiary.io/" rel="noreferrer" target="_blank" class="">http://docs.themoviedb.apiary.io/</a><br class="">
<br class=""><div class="HOEnZb"><div class="h5"><br class=""></div></div></blockquote><div class=""><br class=""></div><div class="">A-ha! Thanks for the response. I parsed my pastebin above, and it is, indeed, erroring out on retrieval #41.</div><div class=""><br class=""></div><div class="">Myth gurus - is there anything in the retrieval script that limits the number of queries? Am I the only one seeing this? Does Myth need to pull the pages for all of the individuals listed on the credits?</div><div class=""><br class=""></div></div></div></div></div></blockquote>I used the modification in the <a href="https://code.mythtv.org/trac/ticket/12455" class="">https://code.mythtv.org/trac/ticket/12455</a> to fix mine. you basically just need to edit request.py mentioned above, and replace the original function with the modified function.</div><div><br class=""></div><div>Not sure how to get it into the future .27 version. Maybe one of the devs can move it into place.</div><div><br class=""></div><div>Regards,</div><div><br class=""></div><div>Jay</div><div><br class=""></div><div><br class=""></div><br class=""></body></html>