Modify ↓
Ticket #9693 (closed Bug Report - General: fixed)
Opened 2 years ago
Last modified 2 years ago
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')
Attachments
Change History
comment:1 Changed 2 years ago by Github
- Status changed from new to closed
- Resolution set to fixed
- Milestone changed from unknown to 0.25
Note: See
TracTickets for help on using
tickets.

Jamu: Don't crash if cast is NULL.
Fixes #9693.