You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The translator is currently written to assume that the contents of the subtitle element are a string, but they should actually be treated like an object of type Title.json. When ManualParser tries to write a classic record for an input file having a subtitle specified, it will generate a failure about being unable to concatenate a variable of type dict to a string, which happens when the subtitle is appended to the title.
To fix, instead of passing the subtitle object from the parser, in translator, pass sub_title.get("textEnglish", "")
The text was updated successfully, but these errors were encountered:
The translator is currently written to assume that the contents of the subtitle element are a string, but they should actually be treated like an object of type
Title.json
. When ManualParser tries to write a classic record for an input file having a subtitle specified, it will generate a failure about being unable to concatenate a variable of typedict
to a string, which happens when the subtitle is appended to the title.To fix, instead of passing the subtitle object from the parser, in translator, pass
sub_title.get("textEnglish", "")
The text was updated successfully, but these errors were encountered: