View Single Post
Old 01-05-2023, 12:41 AM   #1
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 776
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Forma
Set Semantics: Notes Gives Error

I've noticed this before, but since it happens all the time, I figured I'd better report it. In an EPUB3, if I go to Tools > Set Semantics > Notes and point it at a file, it errors out with:
Code:
calibre, version 6.10.0
ERROR: Unhandled exception: <b>KeyError</b>:'notes'

calibre 6.10  embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.10.1
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: DeACSM (0, 0, 16) && DeDRM (10, 0, 3) && Diaps Editing Toolbag (0, 4, 0) && EpubCheck (0, 2, 4) && EpubSplit (3, 5, 0) && Goodreads (1, 7, 1) && KindleUnpack - The Plugin (0, 83, 1) && Kobo Utilities (2, 16, 6) && KoboTouchExtended (3, 6, 3) && Modify ePub (1, 8, 1) && Quality Check (1, 13, 3) && ScrambleEbook (0, 6, 0)
Traceback (most recent call last):
  File "calibre\gui2\tweak_book\boss.py", line 1056, in set_semantics
  File "calibre\gui2\tweak_book\widgets.py", line 989, in apply_changes
KeyError: 'notes'
I haven't run into any problems with any of the other Semantic classes in that tool.

Computer: GIGABYTE B550 VISION D-P
CPU: AMD Ryzen 5 5600X (Vermeer, VMR-B0)
3700 MHz (37.00x100.0) @ 3593 MHz (36.00x99.8)
Motherboard: GIGABYTE B550 VISION D-P
BIOS: F15d, 07/20/2022
Chipset: AMD B550 (Promontory PROM19 C)
Memory: 16384 MBytes @ 1597 MHz, 14-14-14-34
- 8192 MB PC25600 DDR4 SDRAM - G.Skill F4-3200C14-8GFX
- 8192 MB PC25600 DDR4 SDRAM - G.Skill F4-3200C14-8GFX
Graphics: AMD Radeon RX 6800 XT
AMD Radeon RX 6800 XT, 16384 MB GDDR6 SDRAM
Drive: KINGSTON SKC3000D2048G, 2000.4 GB, NVMe
Sound: ATI/AMD Navi2x - High Definition Audio Controller
Sound: AMD Family 17h/19h - HD Audio Controller
Network: RealTek Semiconductor RTL8125 Gaming 2.5GbE Family Ethernet Controller
Network: Intel Wi-Fi 6 AX200 160MHz
OS: Microsoft Windows 10 Professional (x64) Build 19045.2364
enuddleyarbl is offline   Reply With Quote