Opened 7 years ago

Closed 7 years ago

#9693 closed Bug Report - General (fixed)

jamu crashes when cast['name'] is null

Reported by: ignissport@… Owned by:
Priority: minor Milestone: 0.25
Component: MythTV - General Version: Unspecified
Severity: medium Keywords:
Cc: Ticket locked: no

Description

I've been experiencing crashes in jamu. The error was due to attempting to concatenate a null object (castname?) 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+=(castname?+u', ').encode('utf8') ---

if castname? is not None:

cast_members+=(castname?+u', ').encode('utf8')

Change History (1)

comment:1 Changed 7 years ago by Github

Milestone: unknown0.25
Resolution: fixed
Status: newclosed

Jamu: Don't crash if cast is NULL.

Fixes #9693.

Branch: master Changeset: bda604d887be6f685bdbd29fd6ddc6cfce5f836f

Note: See TracTickets for help on using tickets.