Opened 4 years ago

Last modified 4 years ago

#12245 accepted Bug Report - General

mythvidexport fails when there are non ascii characters in actor names.

Reported by: jharbestonus@… Owned by: Raymond Wagner
Priority: minor Milestone: unknown
Component: Bindings - Python Version: 0.27.3
Severity: medium Keywords:
Cc: Ticket locked: no

Description

When exporting NCIS: Los Angeles, mythvidexport fails with the comment error ascii.

I am running mythtv version v0.27.3-150-g082d5c1 under mythbuntu.

I am attaching the traceback showing the error in dataheap.py.

I am also including a diff file that I used to fix the error. It is just a hack that ignores the ascii error and dumps that actors name to null in the DB.

Apologies for not creating a true patch file. Not sure how to do so.

Attachments (3)

pythontraceback.txt (833 bytes) - added by jharbestonus@… 4 years ago.
python traceback showing error.
dataheap.py.diff (82 bytes) - added by jharbestonus@… 4 years ago.
diff file showing the 3 lines to add for bypassing non ascii actor names.
mythtvversioninfo.txt (932 bytes) - added by jharbestonus@… 4 years ago.
MythTV version info

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by jharbestonus@…

Attachment: pythontraceback.txt added

python traceback showing error.

Changed 4 years ago by jharbestonus@…

Attachment: dataheap.py.diff added

diff file showing the 3 lines to add for bypassing non ascii actor names.

Changed 4 years ago by jharbestonus@…

Attachment: mythtvversioninfo.txt added

MythTV version info

comment:1 Changed 4 years ago by Raymond Wagner

Component: MythTV - GeneralBindings - Python
Owner: set to Raymond Wagner
Status: newaccepted
Type: Patch - Bug FixBug Report - General

I'm bumping this back to a bug report, as just catching and ignoring the exception is not acceptable. We need to be sure to handle it properly. I'll take a look at it tonight.

Note: See TracTickets for help on using tickets.