View Single Post
Old 11-21-2022, 04:42 AM   #1
gmw
cacoethes scribendi
gmw ought to be getting tired of karma fortunes by now.gmw ought to be getting tired of karma fortunes by now.gmw ought to be getting tired of karma fortunes by now.gmw ought to be getting tired of karma fortunes by now.gmw ought to be getting tired of karma fortunes by now.gmw ought to be getting tired of karma fortunes by now.gmw ought to be getting tired of karma fortunes by now.gmw ought to be getting tired of karma fortunes by now.gmw ought to be getting tired of karma fortunes by now.gmw ought to be getting tired of karma fortunes by now.gmw ought to be getting tired of karma fortunes by now.
 
gmw's Avatar
 
Posts: 5,818
Karma: 137770742
Join Date: Nov 2010
Location: Australia
Device: Kobo Aura One & H2Ov2, Sony PRS-650
Empty dc:language causing error in v1.9.20

I just upgraded from v1.9.2 to v1.9.20 and the first file I loaded gave me a series of "Embedded Python Error" when I tried to show the Metadata Editor.

Python Object Method Invocation Error: get_recognized_metadata
Python Object Method Invocation Error: get_other_meta_xml
Python Object Method Invocation Error: get_id_list
Python Object Method Invocation Error: get_metadata_tag

After which the Metadata Editor window shows up empty. The other epubs I tried seemed fine. This was an epub3 file. Some back and forth with between 1.9.2 (which can see and update the metadata) and 1.9.20 (which cannot) showed culprit to be this line out the metadata block in the .opf file:

Code:
    <dc:language/>
Shows as an empty Language entry in v1.9.2.

I can supply the rest of the opf file if you want, but I don't think you should need it to reproduce the problem. It's a tradpub book, so I cannot share the original file in full.
gmw is offline   Reply With Quote