[mythtv-commits] Ticket #9693: jamu crashes when cast['name'] is null

MythTV noreply at mythtv.org
Sun Mar 27 04:32:35 UTC 2011

#9693: jamu crashes when cast['name'] is null
 Reporter:  ignissport@…          |           Type:  Bug Report - General
   Status:  new                   |       Priority:  minor
Milestone:  unknown               |      Component:  MythTV - General
  Version:  Unspecified           |       Severity:  medium
 Keywords:                        |  Ticket locked:  0
 I've been experiencing crashes in jamu. The error was due to attempting to
 concatenate a null object (cast['name']) with a unicode string. I'm not
 sure if there is an underlying problem causing the variable to be null to
 begin with, but adding a simple check appears to fix the problem:

 <                 cast_members+=(cast['name']+u', ').encode('utf8')
 >               if cast['name'] is not None:
 >                       cast_members+=(cast['name']+u', ').encode('utf8')

Ticket URL: <http://code.mythtv.org/trac/ticket/9693>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center

More information about the mythtv-commits mailing list