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


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 (0)

Change History (1)

comment:1 Changed 7 years ago by Github

  • Milestone changed from unknown to 0.25
  • Resolution set to fixed
  • Status changed from new to closed

Jamu: Don't crash if cast is NULL.

Fixes #9693.

Branch: master Changeset: bda604d887be6f685bdbd29fd6ddc6cfce5f836f

Add Comment

Modify Ticket

as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'new'.

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

Note: See TracTickets for help on using tickets.