View Single Post
Old 12-11-2022, 06:31 AM   #1
mrprobert
Connoisseur
mrprobert began at the beginning.
 
Posts: 71
Karma: 46
Join Date: Mar 2017
Device: None
Language metadata tag causes embedded python error

Hi,

An epub I have has the language metadata tag set to: <dc:language>eng</dc:language>. Invoking the metadata editor changes the tag to: <dc:language></dc:language>, which I assume is an incorrect. Invoking the editor a second time throws an embedded python error.

To reproduce this behavior:
  1. Create a simple epub and change the metadata language tag in the opf to: <dc:language>eng</dc:language>
  2. Open the metadata editor and then click OK.
  3. Opening the metadata editor a second time throws an embedded python error.

I can get around this by editing the opf and deleting the language tag but I wonder if there is a better way to deal with this situation.
mrprobert is offline   Reply With Quote