[mythtv-commits] Ticket #11768: tmdb3.py crash on download movie ID 116711 from tmdb

MythTV noreply at mythtv.org
Thu Aug 22 17:46:18 UTC 2013


#11768: tmdb3.py crash on download movie ID 116711 from tmdb
----------------------------------------+-----------------------------
 Reporter:  mythtv@…                    |          Owner:  wagnerrp
     Type:  Bug Report - Crash          |         Status:  assigned
 Priority:  minor                       |      Milestone:  0.27
Component:  Contributed Scripts & Apps  |        Version:  Master Head
 Severity:  medium                      |     Resolution:
 Keywords:                              |  Ticket locked:  0
----------------------------------------+-----------------------------
Changes (by wagnerrp):

 * status:  infoneeded => assigned
 * milestone:  unknown => 0.27


Comment:

 This code in the out-of-tree version fires a ValueError, which is caught
 by the error handling and returns an empty string.

 https://github.com/wagnerrp/pytmdb3/blob/master/tmdb3/tmdb_api.py#L79

 The same exact code in-tree fires a TypeError, which is not handled, and
 faults out the entire script.

 http://code.mythtv.org/cgit/mythtv/tree/mythtv/bindings/python/tmdb3/tmdb3/tmdb_api.py#n79

 I can't claim to understand why there is a difference in behavior for the
 same code, but if nothing else, I can just have it hook on both errors.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/11768#comment:5>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list