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

Jamu: Don't crash if cast is NULL.

Fixes #9693.

Branch: master Changeset: bda604d887be6f685bdbd29fd6ddc6cfce5f836f

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.