Opened 13 years ago
Closed 13 years ago
#9693 closed Bug Report - General (fixed)
jamu crashes when cast['name'] is null
Reported by: | 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 13 years ago by
Milestone: | unknown → 0.25 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Jamu: Don't crash if cast is NULL.
Fixes #9693.