[mythtv-commits] Ticket #9694: jamu crashes when cast['name'] is null
MythTV
noreply at mythtv.org
Sun Mar 27 04:33:51 UTC 2011
#9694: jamu crashes when cast['name'] is null
----------------------------------+------------------------------------
Reporter: ignissport@… | Type: Bug Report - Crash
Status: new | Priority: minor
Milestone: unknown | Component: MythTV - General
Version: Unspecified | Severity: low
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:
2544c2544,2545
< cast_members+=(cast['name']+u', ').encode('utf8')
---
> if cast['name'] is not None:
> cast_members+=(cast['name']+u', ').encode('utf8')
I'm running 0.24-fixes from ubuntu PPA (updated today).
--
Ticket URL: <http://code.mythtv.org/trac/ticket/9694>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list