calibre-kobo-driver
calibre-kobo-driver copied to clipboard
Missing cover after the conversion
Bug Checklist
I am using the latest version of calibre to report this bug, which is: 5.38 I am using an official calibre release, not one from a third party I am using the latest version of this plugin, which is: 3.5.4 My operating system is Windows 10 I have included the full, complete, unmodified debug log from calibre
Describe the bug
When comments <!-- .... -->
are present inside the html file related to the cover page, the resulting kepub will show an empty page in place of the expected cover.
I have attached two minimal samples files testMissingCover1.epub (which recreates the issue) and testMissingCover2.epub (where the comment has been removed and the cover is correctly displayed).
Please note that such issue was not present in earlier version of your plugin. In fact, ebooks that had been uploaded years ago are displayed correctly. If I reupload such ebooks the issue appears.
I could check this with my Kobo Aura H2O and Kobo Libra 2.
Steps to Reproduce
Steps to reproduce the behavior (as detailed as you can):
- load testMissingCover1.epub into calibre
- upload that epub onto your kobo reader
- open that epub on your kobo reader and notice the initial empty page where the cover shoil be.
Expected behavior
I expect to see the book cover when I open the epub
Actual behaviour
In place of the cover there is an empty page
Logs
calibre Debug log calibre 5.38 embedded-python: True is64bit: False Windows-10-10.0.19041 Windows ('32bit', 'WindowsPE') 32bit process running on 64bit windows ('Windows', '10', '10.0.19041') Python 3.8.5 Windows: ('10', '10.0.19041', '', 'Multiprocessor Free') Interface language: en_GB Successfully initialized third party plugins: Count Pages (1, 11, 2) && KePub Output (3, 5, 3) && Kobo Utilities (2, 15, 1) && KoboTouchExtended (3, 5, 4) && View Manager (1, 7, 0) calibre 5.38 embedded-python: True is64bit: False Windows-10-10.0.19041 Windows ('32bit', 'WindowsPE') 32bit process running on 64bit windows ('Windows', '10', '10.0.19041') Python 3.8.5 Windows: ('10', '10.0.19041', '', 'Multiprocessor Free') Interface language: en_GB Successfully initialized third party plugins: Count Pages (1, 11, 2) && KePub Output (3, 5, 3) && Kobo Utilities (2, 15, 1) && KoboTouchExtended (3, 5, 4) && View Manager (1, 7, 0) Turning on automatic hidpi scaling devicePixelRatio: 1.0 logicalDpi: 96.0 x 96.0 physicalDpi: 91.84180790960451 x 92.05369127516778 Using calibre Qt style: True [0.00] Starting up... [0.00] Showing splash screen... [0.45] splash screen shown [0.45] Initializing db... [0.45] db initialized [0.45] Constructing main UI... DEBUG: 0.0 Kobo Utilities Configuration - CreateNewCustomColumn is supported DEBUG: 0.0 KoboUtilites::action.py - loading translations DEBUG: 0.0 KoboUtilites::dialogs.py - loading translations DEBUG: 0.0 KoboUtilites::action.py - loading translations DEBUG: 0.6 No Kobo Touch, Glo or Mini appears to be connected DEBUG: 0.6 rebuild_menus - self.supports_ratings=None, self.supports_tiles=None DEBUG: 0.6 KoboUtilities:set_toolbar_button_tooltip - start: text='None' DEBUG: 0.6 KoboUtilities:set_toolbar_button_tooltip - setting to text='Utilities to use with Kobo ereaders
Driver: KoboTouchExtended'
[1.22] main UI initialized...
[1.22] Hiding splash screen
Starting QuickView
[65.36] splash screen hidden
[65.36] Started up in 65.36 seconds with 2 books
Storage number map:
{(7, 0): [(3, 'C')], (7, 1): [(1, 'D')], (7, 2): [(2, 'G')], (7, 3): [(1, 'F')]}
Storage number for USBSTOR\DISK&VEN_LINUX&PROD_FILE-STOR_GADGET&REV_0401\N418190089116&0: StorageDeviceNumber(type=7, number=3, partition_number=0)
Drive letters for USBDevice(vendor_id=0x2237 product_id=0x4234 bcd=0x401 devid=usb\vid_2237&pid_4234&rev_0401 devinst=31)
{'drive_letters': ['F'],
'pnp_id_map': {'F': '\\?\usbstor#disk&ven_linux&prod_file-stor_gadget&rev_0401#n418190089116&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'},
'readonly_drives': set(),
'sort_map': {'F': (3, 1)}}
DEBUG: 86.0 KoboUtilities:_on_device_connection_changed - self.plugin_device_connection_changed.class: <class 'PyQt5.QtCore.pyqtBoundSignal'>
DEBUG: 86.0 Methods for self.plugin_device_connection_changed: ['call', 'class', 'delattr', 'dir', 'doc', 'eq', 'format', 'ge', 'getattribute', 'getitem', 'gt', 'hash', 'init', 'init_subclass', 'le', 'lt', 'module', 'ne', 'new', 'reduce', 'reduce_ex', 'repr', 'setattr', 'sizeof', 'str', 'subclasshook', 'connect', 'disconnect', 'emit', 'signal']
DEBUG: 86.0 Have a Kobo device connected connected
DEBUG: 86.0 BEGIN Get Device Path
DEBUG: 86.0 Root path of device: F:
DEBUG: 86.0 END Get Device Path
DEBUG: 86.0 KoboUtilities:get_device - self.device_path="F:"
DEBUG: 86.0 KoboUtilities:set_toolbar_button_tooltip - start: text='None'
DEBUG: 86.0 KoboUtilities:set_toolbar_button_tooltip - setting to text='Utilities to use with Kobo ereaders
Driver: KoboTouchExtended'
Job: 0 Get device information started
DeviceJob: 0 Get device information done, calling callback
DeviceJob: 0 Get device information callback returned
Job: 1 Set library information started
DeviceJob: 1 Set library information done, calling callback
DeviceJob: 1 Set library information callback returned
Job: 2 Get list of books on device started
DEBUG: 0.0 KoboTouch:books - oncard='None'
2022-03-09 13:41:51 [DEBUG] KoboTouchExtended:settings: settings= 2022-03-09 13:41:51 [DEBUG] <calibre.utils.config_base.OptionValues object at 0x18D2E130>
DEBUG: 0.0 KoboTouch:books - oncard='None', prefix='F:'
DEBUG: 0.0 Kobo device: Kobo Libra 2
DEBUG: 0.0 Version of driver: (3, 5, 4) Has kepubs: True
DEBUG: 0.0 Version of firmware: (4, 30, 18838) Has kepubs: True
DEBUG: 0.0 Firmware supports cover image tree: True
2022-03-09 13:41:51 [DEBUG] KoboTouchExtended:settings: settings= 2022-03-09 13:41:51 [DEBUG] <calibre.utils.config_base.OptionValues object at 0x18D2E868>
DEBUG: 0.0 KoboTouch:books - opts.extra_customization= []
DEBUG: 0.0 KoboTouch:books - driver options= Driver:KoboTouchExtended, Options - format_map: ['kepub', 'epub', 'cbr', 'cbz', 'pdf', 'txt'], use_subdirs: True, read_metadata: True, use_author_sort: False, save_template: {series}{series_index:0>3s| - | - }{title} – {authors}, extra_customization: [], manage_collections: True, collections_columns: #myserie,#mycat,#mygenre, create_collections: True, delete_empty_collections: True, ignore_collections_names: , upload_covers: False, dithered_covers: False, keep_cover_aspect: True, upload_grayscale: False, letterbox_fs_covers: False, letterbox_fs_covers_color: #000000, png_covers: False, show_archived_books: True, show_previews: False, show_recommendations: False, update_series: True, update_core_metadata: False, update_purchased_kepubs: False, update_device_metadata: True, update_subtitle: False, subtitle_template: None, modify_css: False, override_kobo_replace_existing: True, support_newer_firmware: False, debugging_title: , driver_version: 2.8.2, extra_features: True, upload_encumbered: True, skip_failed: True, hyphenate: True, smarten_punctuation: True, clean_markup: True, full_page_numbers: False, disable_hyphenation: False, file_copy_dir: D:\Kepub, hyphenate_chars: 6, hyphenate_chars_before: 3, hyphenate_chars_after: 3, hyphenate_limit_lines: 2
DEBUG: 0.0 KoboTouch:books - prefs['manage_device_metadata']= on_connect
DEBUG: 0.0 KoboTouch:books - set_debugging_title to ''
DEBUG: 0.0 KoboTouch:books - length bl=0
Job: 0 Get device information finished
No details available.
Job: 1 Set library information finished
No details available.
DEBUG: 0.5 KoboTouch:books - length bl after sync=61
DEBUG: 0.5 KoboTouch:books - reading device database
DEBUG: 0.5 Database Version: 166
DEBUG: 0.6 KoboTouch:books - shelf list: ['Guide', 'Genere Fiabesco', 'Romanzi brevi', 'Saggistica', 'Racconti', 'ReadingList', 'Genere Erotico', 'Romanzi', 'Genere Gothic', 'Genere Horror', 'Genere Mistero', 'Saggi di Psicologia', 'Saggi di Scienze', 'Saggi di Religione', 'Genere Letture per ragazzi', 'Saggi di Economia', 'Saggi di Politica', 'Genere Thriller', 'Genere Fantascienza', 'Genere Avventura', 'Genere Letteratura Classica', 'Saggi di Storia', 'Genere Storico']
DEBUG: 0.6 KoboTouch:books - query= SELECT Title, Attribution, DateCreated, ContentID, MimeType, ContentType, ImageId, ReadStatus, Description, Publisher , ___ExpirationStatus, FavouritesIndex, Accessibility, Language, IsDownloaded, ISBN, Series, SeriesNumber, ___UserID, ExternalId, Subtitle, SeriesID, SeriesNumberFloat FROM content WHERE BookID IS NULL AND ((Accessibility = -1 AND IsDownloaded in ('true', 1 )) OR (Accessibility IN (1,2,8,9) ) ) AND (externalId IS NULL OR externalId = '') AND contentId NOT LIKE 'file:///mnt/sd/%'
DEBUG: 0.9 KoboTouch:books - automatically managing metadata
DEBUG: 0.9 KoboTouch:books - self.kobo_series_dict= {'The Descent Series': '27a7cbef-16b6-5d95-86e3-449e2fbca6d6', "Angerwolf - La Saga dell'Alfa": 'fc2e5c17-5e2a-5375-a9d2-91cc892b1e64', 'The Rise of the Totalitarians': '7a687212-3dbf-5615-a6d7-892cd43d6923', 'Black Hull': 'd5f3293f-0f2a-5ca5-be44-a89b0300096a', 'The Gathandrian Trilogy': '70fd4e31-6982-5534-a6a9-dc469e8cf399'}
DEBUG: 0.9 KoboTouch:books - about to sync_booklists
DEBUG: 0.9 USBMS: starting sync_booklists
DEBUG: 1.3 USBMS: finished sync_booklists
DEBUG: 1.3 KoboTouch:books - have done sync_booklists
DEBUG: 1.3 KoboTouch:books - end - oncard='None'
DEBUG: 1.3 KoboTouch:books - oncard='carda'
DEBUG: 1.3 KoboTouch:books - Asked to process 'carda', but do not have one!
DEBUG: 1.3 KoboTouch:books - oncard='cardb'
DEBUG: 1.3 KoboTouch:books - Asked to process 'cardb', but do not have one!
DeviceJob: 2 Get list of books on device done, calling callback
DeviceJob: metadata_downloaded: Starting set_books_in_library
DeviceJob: set_books_in_library: books to process= 59
DeviceJob: set_books_in_library finished: time= 0.003998517990112305
DeviceJob: metadata_downloaded: updating views
DeviceJob: metadata_downloaded: syncing
2022-03-09 13:41:52 [DEBUG] KoboTouchExtended:settings: settings= 2022-03-09 13:41:52 [DEBUG] <calibre.utils.config_base.OptionValues object at 0x11A8A9D0>
2022-03-09 13:41:52 [DEBUG] KoboTouchExtended:settings: settings= 2022-03-09 13:41:52 [DEBUG] <calibre.utils.config_base.OptionValues object at 0x11A8AC10>
DeviceJob: metadata_downloaded: refreshing ondevice
DeviceJob: metadata_downloaded: sending metadata_available signal
DEBUG: 87.5 KoboUtilites:_on_device_metadata_available - Start
DEBUG: 87.5 Have a Kobo device connected connected
DEBUG: 87.5 BEGIN Get Device Path
DEBUG: 87.5 Root path of device: F:
DEBUG: 87.5 END Get Device Path
DEBUG: 87.5 KoboUtilities:get_device - self.device_path="F:"
DEBUG: 87.5 KoboUtilities:get_device - drive_info: {'main': {'device_store_uuid': 'dbb9af7c-3362-4f69-8703-6d3544810d42', 'device_name': 'Kobo Libra 2', 'location_code': 'main', 'last_library_uuid': 'e3164029-6ab1-47cb-8467-3e93c577386e', 'calibre_version': '5.38.0', 'date_last_connected': '2022-03-09T12:41:51.100399+00:00', 'prefix': 'F:/'}}
DEBUG: 87.5 migrate_library_config_if_required - start
DEBUG: 87.5 get_library_config - library_config: {'profiles': {'Default': {'forDevice': None, 'updateOptionsStore': {'doFirmwareUpdateCheck': False, 'firmwareUpdateCheckLastTime': 0, 'doEarlyFirmwareUpdate': False}, 'storeOptionsStore': {'storeOnConnect': False, 'promptToStore': True, 'storeIfMoreRecent': False, 'doNotStoreIfReopened': False}}}, 'SchemaVersion': 0.1}
DEBUG: 87.5 get_plugin_pref - start - store_name='commonOptionsStore', option='individualDeviceOptions'
DEBUG: 87.5 get_prefs - start - store_name='backupOptionsStore'
DEBUG: 87.5 get_prefs - start - store_name='updateOptionsStore'
DEBUG: 87.5 KoboUtilities:set_toolbar_button_tooltip - start: text='None'
DEBUG: 87.5 KoboUtilities:set_toolbar_button_tooltip - device connected. self.device.fwversion= (4, 30, 18838)
DEBUG: 87.5 KoboUtilities:set_toolbar_button_tooltip - setting to text='Utilities to use with Kobo ereaders
Connected Device: Kobo Libra 2
Firmware version: 4.30.18838
Driver: KoboTouchExtended'
DEBUG: 87.5 KoboUtilites:_on_device_metadata_available - self.current_device_profile: None
DEBUG: 87.5 KoboUtilites:_on_device_metadata_available - self.current_backup_config: {'doDailyBackp': False, 'backupEachCOnnection': False, 'backupCopiesToKeepSpin': 5, 'backupDestDirectory': '', 'backupZipDatabase': True}
DEBUG: 87.5 Have a Kobo device connected connected
DEBUG: 87.5 BEGIN Get Device Path
DEBUG: 87.5 Root path of device: F:
DEBUG: 87.5 END Get Device Path
DEBUG: 87.5 KoboUtilities:get_device - self.device_path="F:"
DEBUG: 87.5 KoboUtilities:get_device - drive_info: {'main': {'device_store_uuid': 'dbb9af7c-3362-4f69-8703-6d3544810d42', 'device_name': 'Kobo Libra 2', 'location_code': 'main', 'last_library_uuid': 'e3164029-6ab1-47cb-8467-3e93c577386e', 'calibre_version': '5.38.0', 'date_last_connected': '2022-03-09T12:41:51.100399+00:00', 'prefix': 'F:/'}}
DEBUG: 87.5 migrate_library_config_if_required - start
DEBUG: 87.5 get_library_config - library_config: {'profiles': {'Default': {'forDevice': None, 'updateOptionsStore': {'doFirmwareUpdateCheck': False, 'firmwareUpdateCheckLastTime': 0, 'doEarlyFirmwareUpdate': False}, 'storeOptionsStore': {'storeOnConnect': False, 'promptToStore': True, 'storeIfMoreRecent': False, 'doNotStoreIfReopened': False}}}, 'SchemaVersion': 0.1}
DEBUG: 87.5 get_plugin_pref - start - store_name='commonOptionsStore', option='individualDeviceOptions'
DEBUG: 87.5 get_prefs - start - store_name='backupOptionsStore'
DEBUG: 87.5 get_prefs - start - store_name='updateOptionsStore'
DEBUG: 87.5 rebuild_menus - self.supports_ratings=True, self.supports_tiles=True
DEBUG: 87.5 KoboUtilities:set_toolbar_button_tooltip - start: text='None'
DEBUG: 87.5 KoboUtilities:set_toolbar_button_tooltip - device connected. self.device.fwversion= (4, 30, 18838)
DEBUG: 87.5 KoboUtilities:set_toolbar_button_tooltip - setting to text='Utilities to use with Kobo ereaders
Connected Device: Kobo Libra 2
Firmware version: 4.30.18838
Driver: KoboTouchExtended'
DEBUG: 87.5 rebuild_menus - have device.
DeviceJob: 2 Get list of books on device callback returned
Job: 3 Send metadata to device started
DEBUG: 1.4 KOBO:sync_booklists - start
DEBUG: 1.4 KoboTouch:update_device_database_collections - oncard='main'
DEBUG: 1.4 KoboTouch::is_supported_fwversion - self.fwversion[:2] (4, 30)
DEBUG: 1.4 KoboTouch:update_device_database_collections - set_debugging_title to ''
DEBUG: 1.4 KTCollectionsBookList:get_collections - start - collection_attributes= ['#myserie', '#mycat', '#mygenre']
DEBUG: 1.4 KTCollectionsBookList:get_collections - collection_attributes= ['#myserie', '#mycat', '#mygenre']
DEBUG: 1.4 KTCollectionsBookList:get_collections - end
DEBUG: 1.4 No Collections - resetting ReadStatus
DEBUG: 1.4 KoboTouch:update_device_database_collections - managing bookshelves and series.
DEBUG: 1.4 KoboTouch:update_device_database_collections - about to clear empty bookshelves
DEBUG: 1.4 KoboTouch:delete_empty_bookshelves - start
DEBUG: 1.4 KoboTouch:delete_empty_bookshelves - delete_query= DELETE FROM Shelf WHERE Shelf._IsSynced = 'false' AND Shelf.InternalName not in ('Shortlist', 'Wishlist') AND (Type IS NULL OR Type <> 'SystemTag') AND NOT EXISTS (SELECT 1 FROM ShelfContent c WHERE Shelf.Name = C.ShelfName AND c._IsDeleted <> 'true')
DEBUG: 1.4 KoboTouch:delete_empty_bookshelves - update_query= UPDATE Shelf SET _IsDeleted = 'true' WHERE Shelf._IsSynced = 'true' AND Shelf.InternalName not in ('Shortlist', 'Wishlist') AND (Type IS NULL OR Type <> 'SystemTag') AND NOT EXISTS (SELECT 1 FROM ShelfContent C WHERE Shelf.Name = C.ShelfName AND c._IsDeleted <> 'true')
DEBUG: 1.4 KoboTouch:delete_empty_bookshelves - delete_activity_query= DELETE FROM Activity WHERE Type = 'Shelf' AND NOT EXISTS (SELECT 1 FROM Shelf WHERE Shelf.Name = Activity.Id AND Shelf._IsDeleted = 'false')
DEBUG: 1.4 KoboTouch:delete_empty_bookshelves - end
DEBUG: 1.4 KoboTouch:update_device_database_collections - Number of series set=0 Number of books=0
DEBUG: 1.4 KoboTouch:update_device_database_collections - Number of core metadata set=0 Number of books=0
DEBUG: 1.4 KoboTouch:update_device_database_collections - Finished
DEBUG: 1.4 USBMS: starting sync_booklists
DEBUG: 1.8 USBMS: finished sync_booklists
DEBUG: 1.8 KOBO:sync_booklists - end
DeviceJob: 3 Send metadata to device done, calling callback
DeviceJob: 3 Send metadata to device callback returned
Job: 2 Get list of books on device finished
No details available.
Job: 3 Send metadata to device finished
No details available.
2022-03-09 13:42:03 [DEBUG] KoboTouchExtended:settings: settings= 2022-03-09 13:42:03 [DEBUG] <calibre.utils.config_base.OptionValues object at 0x11A8A598>
Job: 4 Upload 2 books to the device: TestMissingCover MISSING, TestMissingCover OKAY started
Device using plugboard epub KOBOTOUCHEXTENDED None
Setting metadata in: TestMissingCover MISSING at: d:\Users\Stefano\AppData\Local\Temp\calibre_pkptkgzx\tlqryi86caltmpfmt.epub
Device using plugboard epub KOBOTOUCHEXTENDED None
Setting metadata in: TestMissingCover OKAY at: d:\Users\Stefano\AppData\Local\Temp\calibre_pkptkgzx\lj74x0bxcaltmpfmt.epub
2022-03-09 13:42:05 [INFO] KoboTouchExtended:upload_books:Setting FeatureSettings.FullBookPageNumbers to false
DEBUG: 14.0 KoboTouch:upload_books - 2 books
DEBUG: 14.0 KoboTouch:upload_books - files= ['d:\Users\Stefano\AppData\Local\Temp\calibre_pkptkgzx\tlqryi86caltmpfmt.epub', 'd:\Users\Stefano\AppData\Local\Temp\calibre_pkptkgzx\lj74x0bxcaltmpfmt.epub']
DEBUG: 14.0 KoboTouch:upload_books: Processing book: TestMissingCover MISSING by Nome Cognome
DEBUG: 14.0 KoboTouch:upload_books: file=d:\Users\Stefano\AppData\Local\Temp\calibre_pkptkgzx\tlqryi86caltmpfmt.epub, name=TestMissingCover MISSING - Nome Cognome_1180.epub
2022-03-09 13:42:05 [INFO] KoboTouchExtended:_modify_epub:Adding basic Kobo features to TestMissingCover MISSING by Nome Cognome
2022-03-09 13:42:05 [DEBUG] KoboTouchExtended:settings: settings= 2022-03-09 13:42:05 [DEBUG] <calibre.utils.config_base.OptionValues object at 0x11A22C40>
2022-03-09 13:42:05 [INFO] KoboTouchExtended:_modify_epub:Failed conversions will be skipped
2022-03-09 13:42:05 [DEBUG] Creating KePub Container for ePub at d:\Users\Stefano\AppData\Local\Temp\calibre_pkptkgzx\tlqryi86caltmpfmt.epub
2022-03-09 13:42:05 [DEBUG] Forcing cleanup for file OEBPS/Text/Cover.xhtml
2022-03-09 13:42:05 [DEBUG] Forcing cleanup for file OEBPS/Text/part001.xhtml
2022-03-09 13:42:05 [DEBUG] Forcing cleanup for file OEBPS/Text/capitolo_001.xhtml
2022-03-09 13:42:05 [DEBUG] Cleaning markup for file OEBPS/Text/Cover.xhtml
2022-03-09 13:42:05 [DEBUG] Cleaning markup for file OEBPS/Text/part001.xhtml
2022-03-09 13:42:05 [DEBUG] Cleaning markup for file OEBPS/Text/capitolo_001.xhtml
2022-03-09 13:42:05 [DEBUG] KoboTouchExtended:_modify_epub:Calibre details file :: F:\driveinfo.calibre
2022-03-09 13:42:05 [DEBUG] KoboTouchExtended:_modify_epub:Driver data file :: d:\Users\Stefano\AppData\Local\Temp\calibre_pkptkgzx\e24lkud4_KoboTouchExtendedDriverInfo
2022-03-09 13:42:05 [INFO] Copying file 'd:\Users\Stefano\AppData\Local\Temp\calibre_pkptkgzx\e24lkud4_KoboTouchExtendedDriverInfo' to 'D:\Users\Stefano\AppData\Local\Temp\calibre_pkptkgzx\pa9aajs1_epub_container' as 'driverinfo.kte'
2022-03-09 13:42:05 [DEBUG] Found meta node with name=cover
2022-03-09 13:42:05 [INFO] Found cover image ID 'cover-image'
2022-03-09 13:42:05 [DEBUG] Found an item node with cover ID
2022-03-09 13:42:05 [INFO] Setting cover-image property
2022-03-09 13:42:05 [INFO] Copying file 'd:\Users\Stefano\AppData\Local\Temp\calibre_pkptkgzx\kepub_yj0tpmo6_hyphenate' to 'D:\Users\Stefano\AppData\Local\Temp\calibre_pkptkgzx\pa9aajs1_epub_container' as 'kte-css/hyphenation.css'
2022-03-09 13:42:05 [DEBUG] Adding reference to kte-css/hyphenation.css to file OEBPS/Text/Cover.xhtml
2022-03-09 13:42:05 [DEBUG] Adding reference to kte-css/hyphenation.css to file OEBPS/Text/capitolo_001.xhtml
2022-03-09 13:42:05 [DEBUG] Adding reference to kte-css/hyphenation.css to file OEBPS/Text/part001.xhtml
2022-03-09 13:42:05 [DEBUG] Smartening punctuation for file OEBPS/Text/Cover.xhtml
2022-03-09 13:42:05 [DEBUG] Smartening punctuation for file OEBPS/Text/part001.xhtml
2022-03-09 13:42:05 [DEBUG] Smartening punctuation for file OEBPS/Text/capitolo_001.xhtml
2022-03-09 13:42:05 [DEBUG] Initial parse failed, using more forgiving parsers
2022-03-09 13:42:05 [DEBUG] Parsing tags)
2022-03-09 13:42:05 [INFO] Copying file 'D:\Users\Stefano\AppData\Local\Temp\calibre_pkptkgzx\an8j_h_a_epub_container\js/kobo.js' to 'D:\Users\Stefano\AppData\Local\Temp\calibre_pkptkgzx\pa9aajs1_epub_container' as 'kobo.js'
2022-03-09 13:42:05 [DEBUG] Adding reference to kobo.js to file OEBPS/Text/Cover.xhtml
2022-03-09 13:42:05 [DEBUG] Adding reference to kobo.js to file OEBPS/Text/part001.xhtml
2022-03-09 13:42:05 [DEBUG] Adding reference to kobo.js to file OEBPS/Text/capitolo_001.xhtml
2022-03-09 13:42:05 [INFO] Copying file 'd:\Users\Stefano\AppData\Local\Temp\calibre_pkptkgzx\kepub_et2uf_j9_stylehacks' to 'D:\Users\Stefano\AppData\Local\Temp\calibre_pkptkgzx\pa9aajs1_epub_container' as 'kte-css/stylehacks.css'
2022-03-09 13:42:05 [DEBUG] Adding reference to kte-css/stylehacks.css to file OEBPS/Text/Cover.xhtml
2022-03-09 13:42:05 [DEBUG] Adding reference to kte-css/stylehacks.css to file OEBPS/Text/part001.xhtml
2022-03-09 13:42:05 [DEBUG] Adding reference to kte-css/stylehacks.css to file OEBPS/Text/capitolo_001.xhtml
2022-03-09 13:42:06 [INFO] modify_epub took 1.225239 seconds
2022-03-09 13:42:06 [DEBUG] KoboTouchExtended:settings: settings= 2022-03-09 13:42:06 [DEBUG] <calibre.utils.config_base.OptionValues object at 0x11A77F88>
2022-03-09 13:42:06 [DEBUG] KoboTouchExtended:settings: settings= 2022-03-09 13:42:06 [DEBUG] <calibre.utils.config_base.OptionValues object at 0x11A775E0>
2022-03-09 13:42:06 [DEBUG] KoboTouchExtended:filename_callback:Path - TestMissingCover MISSING - Nome Cognome.epub
2022-03-09 13:42:06 [DEBUG] KoboTouchExtended:filename_callback:New path - TestMissingCover MISSING - Nome Cognome.kepub.epub
2022-03-09 13:42:06 [INFO] KoboTouchExtended:_modify_epub:Generated KePub file copy path: D:\Kepub\TestMissingCover MISSING - Nome Cognome.kepub.epub
DEBUG: 15.3 KoboTouch:_modify_epub:Processing Cognome, Nome - TestMissingCover MISSING
DEBUG: 15.3 KoboTouch:_modify_epub: no CSS file
DEBUG: 15.3 KoboTouch:upload_books: Processing book: TestMissingCover OKAY by Nome Cognome
DEBUG: 15.3 KoboTouch:upload_books: file=d:\Users\Stefano\AppData\Local\Temp\calibre_pkptkgzx\lj74x0bxcaltmpfmt.epub, name=TestMissingCover OKAY - Nome Cognome_1181.epub
2022-03-09 13:42:06 [INFO] KoboTouchExtended:_modify_epub:Adding basic Kobo features to TestMissingCover OKAY by Nome Cognome
2022-03-09 13:42:06 [DEBUG] KoboTouchExtended:settings: settings= 2022-03-09 13:42:06 [DEBUG] <calibre.utils.config_base.OptionValues object at 0x11A77538>
2022-03-09 13:42:06 [INFO] KoboTouchExtended:_modify_epub:Failed conversions will be skipped
2022-03-09 13:42:06 [DEBUG] Creating KePub Container for ePub at d:\Users\Stefano\AppData\Local\Temp\calibre_pkptkgzx\lj74x0bxcaltmpfmt.epub
2022-03-09 13:42:06 [DEBUG] Forcing cleanup for file OEBPS/Text/Cover.xhtml
2022-03-09 13:42:06 [DEBUG] Forcing cleanup for file OEBPS/Text/part001.xhtml
2022-03-09 13:42:06 [DEBUG] Forcing cleanup for file OEBPS/Text/capitolo_001.xhtml
2022-03-09 13:42:06 [DEBUG] Cleaning markup for file OEBPS/Text/Cover.xhtml
2022-03-09 13:42:06 [DEBUG] Cleaning markup for file OEBPS/Text/part001.xhtml
2022-03-09 13:42:06 [DEBUG] Cleaning markup for file OEBPS/Text/capitolo_001.xhtml
2022-03-09 13:42:06 [DEBUG] KoboTouchExtended:_modify_epub:Calibre details file :: F:\driveinfo.calibre
2022-03-09 13:42:06 [DEBUG] KoboTouchExtended:_modify_epub:Driver data file :: d:\Users\Stefano\AppData\Local\Temp\calibre_pkptkgzx\fezn8l_j_KoboTouchExtendedDriverInfo
2022-03-09 13:42:06 [INFO] Copying file 'd:\Users\Stefano\AppData\Local\Temp\calibre_pkptkgzx\fezn8l_j_KoboTouchExtendedDriverInfo' to 'D:\Users\Stefano\AppData\Local\Temp\calibre_pkptkgzx\c144wt3s_epub_container' as 'driverinfo.kte'
2022-03-09 13:42:06 [DEBUG] Found meta node with name=cover
2022-03-09 13:42:06 [INFO] Found cover image ID 'cover-image'
2022-03-09 13:42:06 [DEBUG] Found an item node with cover ID
2022-03-09 13:42:06 [INFO] Setting cover-image property
2022-03-09 13:42:06 [INFO] Copying file 'd:\Users\Stefano\AppData\Local\Temp\calibre_pkptkgzx\kepub_u3qzjyfz_hyphenate' to 'D:\Users\Stefano\AppData\Local\Temp\calibre_pkptkgzx\c144wt3s_epub_container' as 'kte-css/hyphenation.css'
2022-03-09 13:42:06 [DEBUG] Adding reference to kte-css/hyphenation.css to file OEBPS/Text/Cover.xhtml
2022-03-09 13:42:06 [DEBUG] Adding reference to kte-css/hyphenation.css to file OEBPS/Text/part001.xhtml
2022-03-09 13:42:06 [DEBUG] Adding reference to kte-css/hyphenation.css to file OEBPS/Text/capitolo_001.xhtml
2022-03-09 13:42:06 [DEBUG] Smartening punctuation for file OEBPS/Text/Cover.xhtml
2022-03-09 13:42:06 [DEBUG] Smartening punctuation for file OEBPS/Text/part001.xhtml
2022-03-09 13:42:06 [DEBUG] Smartening punctuation for file OEBPS/Text/capitolo_001.xhtml
2022-03-09 13:42:06 [INFO] Adding extended Kobo features to TestMissingCover OKAY by Nome Cognome
2022-03-09 13:42:06 [DEBUG] Adding Kobo spans to OEBPS/Text/Cover.xhtml
2022-03-09 13:42:06 [DEBUG] Adding Kobo spans to OEBPS/Text/part001.xhtml
2022-03-09 13:42:06 [WARN] [OEBPS/Text/Cover.xhtml] Found only whitespace, not adding spans
2022-03-09 13:42:06 [DEBUG] Adding Kobo spans to OEBPS/Text/capitolo_001.xhtml
2022-03-09 13:42:06 [DEBUG] [OEBPS/Text/Cover.xhtml] Wrapping 'img' tag and ignoring children
2022-03-09 13:42:06 [WARN] [OEBPS/Text/part001.xhtml] Found only whitespace, not adding spans
2022-03-09 13:42:06 [WARN] [OEBPS/Text/Cover.xhtml] Found only whitespace, not adding spans
2022-03-09 13:42:06 [WARN] [OEBPS/Text/part001.xhtml] Found only whitespace, not adding spans
2022-03-09 13:42:06 [WARN] [OEBPS/Text/capitolo_001.xhtml] Found only whitespace, not adding spans
2022-03-09 13:42:06 [WARN] [OEBPS/Text/part001.xhtml] Found only whitespace, not adding spans
2022-03-09 13:42:06 [WARN] [OEBPS/Text/part001.xhtml] Found only whitespace, not adding spans
2022-03-09 13:42:06 [WARN] [OEBPS/Text/capitolo_001.xhtml] Found only whitespace, not adding spans
2022-03-09 13:42:06 [WARN] [OEBPS/Text/capitolo_001.xhtml] Found only whitespace, not adding spans
2022-03-09 13:42:06 [WARN] [OEBPS/Text/capitolo_001.xhtml] Found only whitespace, not adding spans
2022-03-09 13:42:06 [WARN] [OEBPS/Text/capitolo_001.xhtml] Found only whitespace, not adding spans
2022-03-09 13:42:06 [WARN] [OEBPS/Text/capitolo_001.xhtml] Found only whitespace, not adding spans
2022-03-09 13:42:06 [WARN] [OEBPS/Text/capitolo_001.xhtml] Found only whitespace, not adding spans
2022-03-09 13:42:06 [DEBUG] Adding Kobo divs to OEBPS/Text/Cover.xhtml
2022-03-09 13:42:06 [DEBUG] Adding Kobo divs to OEBPS/Text/part001.xhtml
2022-03-09 13:42:06 [WARN] Skipping file OEBPS/Text/part001.xhtml (1 tags)
2022-03-09 13:42:06 [DEBUG] Adding Kobo divs to OEBPS/Text/capitolo_001.xhtml
2022-03-09 13:42:06 [INFO] Copying file 'D:\Users\Stefano\AppData\Local\Temp\calibre_pkptkgzx\nqamuf6p_epub_container\js/kobo.js' to 'D:\Users\Stefano\AppData\Local\Temp\calibre_pkptkgzx\c144wt3s_epub_container' as 'kobo.js'
2022-03-09 13:42:06 [DEBUG] Adding reference to kobo.js to file OEBPS/Text/Cover.xhtml
2022-03-09 13:42:06 [DEBUG] Adding reference to kobo.js to file OEBPS/Text/part001.xhtml
2022-03-09 13:42:06 [DEBUG] Adding reference to kobo.js to file OEBPS/Text/capitolo_001.xhtml
2022-03-09 13:42:06 [INFO] Copying file 'd:\Users\Stefano\AppData\Local\Temp\calibre_pkptkgzx\kepub_rw8mjhq7_stylehacks' to 'D:\Users\Stefano\AppData\Local\Temp\calibre_pkptkgzx\c144wt3s_epub_container' as 'kte-css/stylehacks.css'
2022-03-09 13:42:06 [DEBUG] Adding reference to kte-css/stylehacks.css to file OEBPS/Text/Cover.xhtml
2022-03-09 13:42:06 [DEBUG] Adding reference to kte-css/stylehacks.css to file OEBPS/Text/part001.xhtml
2022-03-09 13:42:06 [DEBUG] Adding reference to kte-css/stylehacks.css to file OEBPS/Text/capitolo_001.xhtml
2022-03-09 13:42:06 [INFO] modify_epub took 0.413665 seconds
2022-03-09 13:42:06 [DEBUG] KoboTouchExtended:settings: settings= 2022-03-09 13:42:06 [DEBUG] <calibre.utils.config_base.OptionValues object at 0x11A775C8>
2022-03-09 13:42:06 [DEBUG] KoboTouchExtended:settings: settings= 2022-03-09 13:42:06 [DEBUG] <calibre.utils.config_base.OptionValues object at 0x11A778F8>
2022-03-09 13:42:06 [DEBUG] KoboTouchExtended:filename_callback:Path - TestMissingCover OKAY - Nome Cognome.epub
2022-03-09 13:42:06 [DEBUG] KoboTouchExtended:filename_callback:New path - TestMissingCover OKAY - Nome Cognome.kepub.epub
2022-03-09 13:42:06 [INFO] KoboTouchExtended:_modify_epub:Generated KePub file copy path: D:\Kepub\TestMissingCover OKAY - Nome Cognome.kepub.epub
DEBUG: 15.8 KoboTouch:_modify_epub:Processing Cognome, Nome - TestMissingCover OKAY
DEBUG: 15.8 KoboTouch:modify_epub: no CSS file
DEBUG: 15.8 USBMS: uploading 2 books
2022-03-09 13:42:06 [DEBUG] KoboTouchExtended:settings: settings= 2022-03-09 13:42:06 [DEBUG] <calibre.utils.config_base.OptionValues object at 0x11A776E8>
2022-03-09 13:42:06 [DEBUG] KoboTouchExtended:settings: settings= 2022-03-09 13:42:06 [DEBUG] <calibre.utils.config_base.OptionValues object at 0x11A77C70>
2022-03-09 13:42:06 [DEBUG] KoboTouchExtended:filename_callback:Path - TestMissingCover MISSING - Nome Cognome.epub
2022-03-09 13:42:06 [DEBUG] KoboTouchExtended:filename_callback:New path - TestMissingCover MISSING - Nome Cognome.kepub.epub
DEBUG: 15.9 KoboTouch:upload_cover - path='F:' filename='TestMissingCover MISSING - Nome Cognome.kepub'
DEBUG: 15.9 filepath='F:\TestMissingCover MISSING - Nome Cognome.kepub.epub'
2022-03-09 13:42:07 [DEBUG] KoboTouchExtended:settings: settings= 2022-03-09 13:42:07 [DEBUG] <calibre.utils.config_base.OptionValues object at 0x11A77658>
2022-03-09 13:42:07 [DEBUG] KoboTouchExtended:settings: settings= 2022-03-09 13:42:07 [DEBUG] <calibre.utils.config_base.OptionValues object at 0x11A77D18>
2022-03-09 13:42:07 [DEBUG] KoboTouchExtended:filename_callback:Path - TestMissingCover OKAY - Nome Cognome.epub
2022-03-09 13:42:07 [DEBUG] KoboTouchExtended:filename_callback:New path - TestMissingCover OKAY - Nome Cognome.kepub.epub
Failed to initialize plugin: 'd:\Users\Stefano\AppData\Roaming\calibre\plugins\DeDRM.zip'
Traceback (most recent call last):
File "calibre\customize\ui.py", line 740, in initialize_plugins
File "calibre\customize\ui.py", line 64, in load_plugin
File "calibre\customize\zipplugin.py", line 292, in load
File "importlib_init.py", line 127, in import_module
File " Driver: KoboTouchExtended'
DEBUG: 133.3 KoboUtilities:set_toolbar_button_tooltip - start: text='None'
DEBUG: 133.3 KoboUtilities:set_toolbar_button_tooltip - setting to text='Utilities to use with Kobo ereaders Driver: KoboTouchExtended' Such issue appeared at some point, maybe one year ago.
testMissingCover.zipAdditional context
I'm not able to reproduce this, after sending the "MISSING" book to my Kobo the cover page shows up perfectly fine. Same for converting manually and using the calibre built-in viewer. Also the logs you've given me don't match up with what's in the sample books. Your logs refer to modifying OEBPS/Text/Cover.xhtml
, which doesn't exist in the books you've given me.
Could you please try again to see if this is working for you or not? If not, please update the logs in the issue with the ones from the same sample books you're giving me to reproduce the issue.
I could reproduce the issue with "testMissingCover1.epub". This is what I did:
- restarted Calibre in debug mode
- connected my Kobo
- added testMissingCover1.epub in calibre library
- sent such epub to my device
- safely removed my device from calibre interface
- my kobo disconnected from my computer and imported the new kepub
- closed Calibre and got the log
- the new kepub shows the expected cover as thumb image, but when you open that book you will see a blank cover
Here is the log calibre Debug log calibre 5.39 embedded-python: True is64bit: False Windows-10-10.0.19041 Windows ('32bit', 'WindowsPE') 32bit process running on 64bit windows ('Windows', '10', '10.0.19041') Python 3.8.5 Windows: ('10', '10.0.19041', '', 'Multiprocessor Free') Interface language: en_GB Successfully initialized third party plugins: Count Pages (1, 11, 2) && KePub Output (3, 5, 3) && Kobo Utilities (2, 15, 1) && KoboTouchExtended (3, 5, 4) && View Manager (1, 8, 0) calibre 5.39 embedded-python: True is64bit: False Windows-10-10.0.19041 Windows ('32bit', 'WindowsPE') 32bit process running on 64bit windows ('Windows', '10', '10.0.19041') Python 3.8.5 Windows: ('10', '10.0.19041', '', 'Multiprocessor Free') Interface language: en_GB Successfully initialized third party plugins: Count Pages (1, 11, 2) && KePub Output (3, 5, 3) && Kobo Utilities (2, 15, 1) && KoboTouchExtended (3, 5, 4) && View Manager (1, 8, 0) Turning on automatic hidpi scaling devicePixelRatio: 1.0 logicalDpi: 96.0 x 96.0 physicalDpi: 91.84180790960451 x 92.05369127516778 Using calibre Qt style: True [0.00] Starting up... [0.00] Showing splash screen... [0.44] splash screen shown [0.44] Initializing db... [0.44] db initialized [0.44] Constructing main UI... DEBUG: 0.0 Kobo Utilities Configuration - CreateNewCustomColumn is supported DEBUG: 0.0 KoboUtilites::action.py - loading translations DEBUG: 0.0 KoboUtilites::dialogs.py - loading translations DEBUG: 0.0 KoboUtilites::action.py - loading translations DEBUG: 0.6 No Kobo Touch, Glo or Mini appears to be connected DEBUG: 0.6 rebuild_menus - self.supports_ratings=None, self.supports_tiles=None DEBUG: 0.6 KoboUtilities:set_toolbar_button_tooltip - start: text='None' DEBUG: 0.6 KoboUtilities:set_toolbar_button_tooltip - setting to text='Utilities to use with Kobo ereaders
Driver: KoboTouchExtended'
[1.20] main UI initialized...
[1.20] Hiding splash screen
Starting QuickView
[10.33] splash screen hidden
[10.33] Started up in 10.33 seconds with 1 books
Storage number map:
{(7, 0): [(3, 'C')], (7, 1): [(1, 'D')], (7, 2): [(2, 'G')], (7, 3): [(1, 'E')]}
Storage number for USBSTOR\DISK&VEN_KOBO&PROD_EREADER-4.31.190&REV_0110\N250584008098&0: StorageDeviceNumber(type=7, number=3, partition_number=0)
Drive letters for USBDevice(vendor_id=0x2237 product_id=0x4213 bcd=0x110 devid=usb\vid_2237&pid_4213&rev_0110 devinst=31)
{'drive_letters': ['E'],
'pnp_id_map': {'E': '\\?\usbstor#disk&ven_kobo&prod_ereader-4.31.190&rev_0110#n250584008098&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'},
'readonly_drives': set(),
'sort_map': {'E': (3, 1)}}
DEBUG: 31.7 KoboUtilities:_on_device_connection_changed - self.plugin_device_connection_changed.class: <class 'PyQt5.QtCore.pyqtBoundSignal'>
DEBUG: 31.7 Methods for self.plugin_device_connection_changed: ['call', 'class', 'delattr', 'dir', 'doc', 'eq', 'format', 'ge', 'getattribute', 'getitem', 'gt', 'hash', 'init', 'init_subclass', 'le', 'lt', 'module', 'ne', 'new', 'reduce', 'reduce_ex', 'repr', 'setattr', 'sizeof', 'str', 'subclasshook', 'connect', 'disconnect', 'emit', 'signal']
DEBUG: 31.7 Have a Kobo device connected connected
DEBUG: 31.7 BEGIN Get Device Path
DEBUG: 31.7 Root path of device: E:
DEBUG: 31.7 END Get Device Path
DEBUG: 31.7 KoboUtilities:get_device - self.device_path="E:"
DEBUG: 31.7 KoboUtilities:set_toolbar_button_tooltip - start: text='None'
DEBUG: 31.7 KoboUtilities:set_toolbar_button_tooltip - setting to text='Utilities to use with Kobo ereaders
Driver: KoboTouchExtended'
Job: 0 Get device information started
DeviceJob: 0 Get device information done, calling callback
DeviceJob: 0 Get device information callback returned
Job: 1 Set library information started
DeviceJob: 1 Set library information done, calling callback
Job: 0 Get device information finished
No details available.
Job: 1 Set library information finished
No details available.
DeviceJob: 1 Set library information callback returned
Job: 2 Get list of books on device started
DEBUG: 0.0 KoboTouch:books - oncard='None'
2022-04-11 17:39:38 [DEBUG] KoboTouchExtended:settings: settings= 2022-04-11 17:39:38 [DEBUG] <calibre.utils.config_base.OptionValues object at 0x165D4C58>
DEBUG: 0.2 KoboTouch:books - oncard='None', prefix='E:'
Job: 1 Set library information finished
No details available.
DEBUG: 0.4 Kobo device: Kobo Aura H2O
DEBUG: 0.4 Version of driver: (3, 5, 4) Has kepubs: True
DEBUG: 0.4 Version of firmware: (4, 31, 19086) Has kepubs: True
DEBUG: 0.4 Firmware supports cover image tree: True
2022-04-11 17:39:38 [DEBUG] KoboTouchExtended:settings: settings= 2022-04-11 17:39:38 [DEBUG] <calibre.utils.config_base.OptionValues object at 0x165D4C88>
DEBUG: 0.4 KoboTouch:books - opts.extra_customization= []
DEBUG: 0.4 KoboTouch:books - driver options= Driver:KoboTouchExtended, Options - format_map: ['kepub', 'epub', 'cbr', 'cbz', 'pdf', 'txt'], use_subdirs: True, read_metadata: True, use_author_sort: False, save_template: {series}{series_index:0>3s| - | - }{title} – {authors}, extra_customization: [], manage_collections: True, collections_columns: #myserie,#mycat,#mygenre, create_collections: True, delete_empty_collections: True, ignore_collections_names: , upload_covers: False, dithered_covers: False, keep_cover_aspect: True, upload_grayscale: False, letterbox_fs_covers: False, letterbox_fs_covers_color: #000000, png_covers: False, show_archived_books: True, show_previews: False, show_recommendations: False, update_series: True, update_core_metadata: False, update_purchased_kepubs: False, update_device_metadata: True, update_subtitle: False, subtitle_template: None, modify_css: False, override_kobo_replace_existing: True, support_newer_firmware: False, debugging_title: , driver_version: 2.8.2, extra_features: True, upload_encumbered: True, skip_failed: True, hyphenate: True, smarten_punctuation: True, clean_markup: True, full_page_numbers: False, disable_hyphenation: False, file_copy_dir: D:\Kepub, hyphenate_chars: 6, hyphenate_chars_before: 3, hyphenate_chars_after: 3, hyphenate_limit_lines: 2
DEBUG: 0.4 KoboTouch:books - prefs['manage_device_metadata']= on_connect
DEBUG: 0.4 KoboTouch:books - set_debugging_title to ''
DEBUG: 0.4 KoboTouch:books - length bl=0
DEBUG: 7.9 KoboTouch:books - length bl after sync=516
DEBUG: 8.0 KoboTouch:books - reading device database
DEBUG: 8.0 Database Version: 166
DEBUG: 8.1 KoboTouch:books - shelf list: ['Romanzi', 'Saggistica', 'Romanzi brevi', 'Saggi di Religione', 'Genere Umoristico', 'Genere Saga', 'Genere Letteratura Classica', 'Genere Thriller', 'Genere Sentimentale', 'Serie - My Land', 'Genere Avventura', 'Genere Urban Fantasy', 'Serie - Twilight Saga', 'Genere Fantascienza', 'Serie - Guida Galattica', 'Saggi di Psicologia', 'Serie - Logan McRae', 'Saggi di Storia', 'Genere Erotico', 'Genere Psicologico Introspettivo', 'Genere Fantastico', 'Serie - Maximum Ride', 'Serie - Alice Allevi', 'Genere Fantasy', 'Serie - La Guerra delle due Rose', 'Saggi di Economia', 'Genere Storico', 'Genere Mitologico Epico', 'Serie - Le storie dei re sassoni', 'Serie - A.A.A. Vampiri offresi', 'Serie - Il romanzo di Excalibur', 'Serie - Temperance Brennan', 'Serie - La casa della notte', 'Saggi di Scienze', 'Serie - Sigma Force', "Serie - Libri dell'inizio", 'Serie - The Giver', 'Biografie', 'Serie - Martí Barbany', 'Serie - Trilogia del Male', 'Serie - Starters e Enders', 'Genere Distopico', 'Serie - Le inchieste di Maigret', 'Serie - Hercule Poirot', 'Genere Letture per ragazzi', 'Genere Horror', 'Genere Mistero', 'Genere Gothic', 'Genere Giallo', 'Serie - Miss Marple', 'Serie - Giovani, carine e bugiarde', 'Genere Fiabesco', 'Racconti', 'Saggi di Politica', 'Serie - Hanger Games', 'Serie - Magdeburg', 'Genere Poliziesco', 'Serie - Leggende del Mondo Emerso', 'Serie - Shadowhunters', 'ReadingList', 'Serie - Wake Trilogy', 'Serie - Daniel Vartanian Trilogy', 'Guide', 'Serie - The Revelation Saga', 'Serie - Star Wars: Darth Bane', 'Serie - Maze Runner Series', 'Serie - Trilogia della Sopravvivenza', "Serie - L'Anello dello Stregone", 'Serie - Libri di sangue', 'Serie - The 100', 'Serie - La Spada della Verità', 'Serie - Canti di Hyperion', 'Serie - Matched Trilogy', "Serie - Cronache dell'Età del Bronzo", 'Serie - Jack Reacher', 'Serie - Appunti di un Vampiro', 'Serie - Il Ciclo di Dune', 'Serie - Anita Blake', 'Serie - Divergent Trilogy', 'Serie - The Mortality Doctrine', 'Saggi di Filosofia', 'Serie - Dream Force']
DEBUG: 8.1 KoboTouch:books - query= SELECT Title, Attribution, DateCreated, ContentID, MimeType, ContentType, ImageId, ReadStatus, Description, Publisher , ___ExpirationStatus, FavouritesIndex, Accessibility, Language, IsDownloaded, ISBN, Series, SeriesNumber, ___UserID, ExternalId, Subtitle, SeriesID, SeriesNumberFloat FROM content WHERE BookID IS NULL AND ((Accessibility = -1 AND IsDownloaded in ('true', 1 )) OR (Accessibility IN (1,2,8,9) ) ) AND (externalId IS NULL OR externalId = '') AND contentId NOT LIKE 'file:///mnt/sd/%'
DEBUG: 12.7 KoboTouch:books - automatically managing metadata
DEBUG: 12.7 KoboTouch:books - self.kobo_series_dict= {'The Gathandrian Trilogy': '70fd4e31-6982-5534-a6a9-dc469e8cf399', 'The Rise of the Totalitarians': '7a687212-3dbf-5615-a6d7-892cd43d6923', 'Black Hull': 'd5f3293f-0f2a-5ca5-be44-a89b0300096a', 'The Descent Series': '27a7cbef-16b6-5d95-86e3-449e2fbca6d6', "Angerwolf - La Saga dell'Alfa": 'fc2e5c17-5e2a-5375-a9d2-91cc892b1e64'}
DEBUG: 12.8 KoboTouch:books - about to sync_booklists
DEBUG: 12.8 USBMS: starting sync_booklists
DEBUG: 19.2 USBMS: finished sync_booklists
DEBUG: 19.2 KoboTouch:books - have done sync_booklists
DEBUG: 19.2 KoboTouch:books - end - oncard='None'
DEBUG: 19.2 KoboTouch:books - oncard='carda'
DEBUG: 19.2 KoboTouch:books - Asked to process 'carda', but do not have one!
DEBUG: 19.2 KoboTouch:books - oncard='cardb'
DEBUG: 19.2 KoboTouch:books - Asked to process 'cardb', but do not have one!
DeviceJob: 2 Get list of books on device done, calling callback
DeviceJob: metadata_downloaded: Starting set_books_in_library
DeviceJob: set_books_in_library: books to process= 516
DeviceJob: set_books_in_library finished: time= 0.013995885848999023
DeviceJob: metadata_downloaded: updating views
DeviceJob: metadata_downloaded: syncing
2022-04-11 17:39:57 [DEBUG] KoboTouchExtended:settings: settings= 2022-04-11 17:39:57 [DEBUG] <calibre.utils.config_base.OptionValues object at 0x147B8AC0>
2022-04-11 17:39:57 [DEBUG] KoboTouchExtended:settings: settings= 2022-04-11 17:39:57 [DEBUG] <calibre.utils.config_base.OptionValues object at 0x147B8CD0>
DeviceJob: metadata_downloaded: refreshing ondevice
DeviceJob: metadata_downloaded: sending metadata_available signal
DEBUG: 52.3 KoboUtilites:_on_device_metadata_available - Start
DEBUG: 52.3 Have a Kobo device connected connected
DEBUG: 52.3 BEGIN Get Device Path
DEBUG: 52.3 Root path of device: E:
DEBUG: 52.3 END Get Device Path
DEBUG: 52.3 KoboUtilities:get_device - self.device_path="E:"
DEBUG: 52.3 KoboUtilities:get_device - drive_info: {'main': {'location_code': 'main', 'calibre_version': '5.39.0', 'device_name': 'Kobo Aura H2O', 'last_library_uuid': 'e3164029-6ab1-47cb-8467-3e93c577386e', 'device_store_uuid': '602e7c86-e023-4834-87ea-b46189098ae0', 'prefix': 'E:/', 'date_last_connected': '2022-04-11T15:39:36.616480+00:00'}}
DEBUG: 52.3 migrate_library_config_if_required - start
DEBUG: 52.3 get_library_config - library_config: {'profiles': {'Default': {'forDevice': None, 'updateOptionsStore': {'doFirmwareUpdateCheck': False, 'firmwareUpdateCheckLastTime': 0, 'doEarlyFirmwareUpdate': False}, 'storeOptionsStore': {'storeOnConnect': False, 'promptToStore': True, 'storeIfMoreRecent': False, 'doNotStoreIfReopened': False}}}, 'SchemaVersion': 0.1}
DEBUG: 52.3 get_plugin_pref - start - store_name='commonOptionsStore', option='individualDeviceOptions'
DEBUG: 52.3 get_prefs - start - store_name='backupOptionsStore'
DEBUG: 52.3 get_prefs - start - store_name='updateOptionsStore'
DEBUG: 52.3 KoboUtilities:set_toolbar_button_tooltip - start: text='None'
DEBUG: 52.3 KoboUtilities:set_toolbar_button_tooltip - device connected. self.device.fwversion= (4, 31, 19086)
DEBUG: 52.3 KoboUtilities:set_toolbar_button_tooltip - setting to text='Utilities to use with Kobo ereaders
Connected Device: Kobo Aura H2O
Firmware version: 4.31.19086
Driver: KoboTouchExtended'
DEBUG: 52.3 KoboUtilites:_on_device_metadata_available - self.current_device_profile: None
DEBUG: 52.3 KoboUtilites:_on_device_metadata_available - self.current_backup_config: {'doDailyBackp': False, 'backupEachCOnnection': False, 'backupCopiesToKeepSpin': 5, 'backupDestDirectory': '', 'backupZipDatabase': True}
DEBUG: 52.3 Have a Kobo device connected connected
DEBUG: 52.3 BEGIN Get Device Path
DEBUG: 52.3 Root path of device: E:
DEBUG: 52.3 END Get Device Path
DEBUG: 52.3 KoboUtilities:get_device - self.device_path="E:"
DEBUG: 52.3 KoboUtilities:get_device - drive_info: {'main': {'location_code': 'main', 'calibre_version': '5.39.0', 'device_name': 'Kobo Aura H2O', 'last_library_uuid': 'e3164029-6ab1-47cb-8467-3e93c577386e', 'device_store_uuid': '602e7c86-e023-4834-87ea-b46189098ae0', 'prefix': 'E:/', 'date_last_connected': '2022-04-11T15:39:36.616480+00:00'}}
DEBUG: 52.3 migrate_library_config_if_required - start
DEBUG: 52.3 get_library_config - library_config: {'profiles': {'Default': {'forDevice': None, 'updateOptionsStore': {'doFirmwareUpdateCheck': False, 'firmwareUpdateCheckLastTime': 0, 'doEarlyFirmwareUpdate': False}, 'storeOptionsStore': {'storeOnConnect': False, 'promptToStore': True, 'storeIfMoreRecent': False, 'doNotStoreIfReopened': False}}}, 'SchemaVersion': 0.1}
DEBUG: 52.3 get_plugin_pref - start - store_name='commonOptionsStore', option='individualDeviceOptions'
DEBUG: 52.3 get_prefs - start - store_name='backupOptionsStore'
DEBUG: 52.3 get_prefs - start - store_name='updateOptionsStore'
DEBUG: 52.3 rebuild_menus - self.supports_ratings=True, self.supports_tiles=True
DEBUG: 52.3 KoboUtilities:set_toolbar_button_tooltip - start: text='None'
DEBUG: 52.3 KoboUtilities:set_toolbar_button_tooltip - device connected. self.device.fwversion= (4, 31, 19086)
DEBUG: 52.3 KoboUtilities:set_toolbar_button_tooltip - setting to text='Utilities to use with Kobo ereaders
Connected Device: Kobo Aura H2O
Firmware version: 4.31.19086
Driver: KoboTouchExtended'
DEBUG: 52.3 rebuild_menus - have device.
DeviceJob: 2 Get list of books on device callback returned
Job: 3 Send metadata to device started
DEBUG: 19.5 KOBO:sync_booklists - start
DEBUG: 19.5 KoboTouch:update_device_database_collections - oncard='main'
DEBUG: 19.5 KoboTouch::is_supported_fwversion - self.fwversion[:2] (4, 31)
DEBUG: 19.5 KoboTouch:update_device_database_collections - set_debugging_title to ''
DEBUG: 19.5 KTCollectionsBookList:get_collections - start - collection_attributes= ['#myserie', '#mycat', '#mygenre']
DEBUG: 19.5 KTCollectionsBookList:get_collections - collection_attributes= ['#myserie', '#mycat', '#mygenre']
DEBUG: 19.5 KTCollectionsBookList:get_collections - end
DEBUG: 19.5 No Collections - resetting ReadStatus
DEBUG: 19.5 KoboTouch:update_device_database_collections - managing bookshelves and series.
DEBUG: 19.5 KoboTouch:update_device_database_collections - about to clear empty bookshelves
DEBUG: 19.5 KoboTouch:delete_empty_bookshelves - start
DEBUG: 19.5 KoboTouch:delete_empty_bookshelves - delete_query= DELETE FROM Shelf WHERE Shelf._IsSynced = 'false' AND Shelf.InternalName not in ('Shortlist', 'Wishlist') AND (Type IS NULL OR Type <> 'SystemTag') AND NOT EXISTS (SELECT 1 FROM ShelfContent c WHERE Shelf.Name = C.ShelfName AND c._IsDeleted <> 'true')
DEBUG: 19.5 KoboTouch:delete_empty_bookshelves - update_query= UPDATE Shelf SET _IsDeleted = 'true' WHERE Shelf._IsSynced = 'true' AND Shelf.InternalName not in ('Shortlist', 'Wishlist') AND (Type IS NULL OR Type <> 'SystemTag') AND NOT EXISTS (SELECT 1 FROM ShelfContent C WHERE Shelf.Name = C.ShelfName AND c._IsDeleted <> 'true')
DEBUG: 19.5 KoboTouch:delete_empty_bookshelves - delete_activity_query= DELETE FROM Activity WHERE Type = 'Shelf' AND NOT EXISTS (SELECT 1 FROM Shelf WHERE Shelf.Name = Activity.Id AND Shelf._IsDeleted = 'false')
Job: 2 Get list of books on device finished
No details available.
DEBUG: 19.7 KoboTouch:delete_empty_bookshelves - end
DEBUG: 19.7 KoboTouch:update_device_database_collections - Number of series set=0 Number of books=0
DEBUG: 19.7 KoboTouch:update_device_database_collections - Number of core metadata set=0 Number of books=0
DEBUG: 19.7 KoboTouch:update_device_database_collections - Finished
DEBUG: 19.7 USBMS: starting sync_booklists
DEBUG: 23.8 USBMS: finished sync_booklists
DEBUG: 23.8 KOBO:sync_booklists - end
DeviceJob: 3 Send metadata to device done, calling callback
Added TestMissingCover MISSING to db in: 5.1
DeviceJob: 3 Send metadata to device callback returned
Failed to initialize plugin: 'd:\Users\Stefano\AppData\Roaming\calibre\plugins\DeDRM.zip'
Failed to initialize plugin: 'd:\Users\Stefano\AppData\Roaming\calibre\plugins\INMONDADORI.zip'
Added 1 books in 5.6 seconds
Job: 3 Send metadata to device finished
No details available.
2022-04-11 17:40:24 [DEBUG] KoboTouchExtended:settings: settings= 2022-04-11 17:40:24 [DEBUG] <calibre.utils.config_base.OptionValues object at 0x148326B8>
Job: 4 Upload one book to the device: TestMissingCover MISSING started
Device using plugboard epub KOBOTOUCHEXTENDED None
Setting metadata in: TestMissingCover MISSING at: d:\Users\Stefano\AppData\Local\Temp\calibre_9qw030tz\s1ymvl82caltmpfmt.epub
2022-04-11 17:40:26 [INFO] KoboTouchExtended:upload_books:Setting FeatureSettings.FullBookPageNumbers to false
DEBUG: 48.9 KoboTouch:upload_books - 1 books
DEBUG: 48.9 KoboTouch:upload_books - files= ['d:\Users\Stefano\AppData\Local\Temp\calibre_9qw030tz\s1ymvl82caltmpfmt.epub']
DEBUG: 48.9 KoboTouch:upload_books: Processing book: TestMissingCover MISSING by Nome Cognome
DEBUG: 48.9 KoboTouch:upload_books: file=d:\Users\Stefano\AppData\Local\Temp\calibre_9qw030tz\s1ymvl82caltmpfmt.epub, name=TestMissingCover MISSING - Nome Cognome_1188.epub
2022-04-11 17:40:26 [INFO] KoboTouchExtended:_modify_epub:Adding basic Kobo features to TestMissingCover MISSING by Nome Cognome
2022-04-11 17:40:26 [DEBUG] KoboTouchExtended:settings: settings= 2022-04-11 17:40:26 [DEBUG] <calibre.utils.config_base.OptionValues object at 0x11168820>
2022-04-11 17:40:26 [INFO] KoboTouchExtended:_modify_epub:Failed conversions will be skipped
2022-04-11 17:40:26 [DEBUG] Creating KePub Container for ePub at d:\Users\Stefano\AppData\Local\Temp\calibre_9qw030tz\s1ymvl82caltmpfmt.epub
2022-04-11 17:40:26 [DEBUG] Forcing cleanup for file OEBPS/Text/Cover.xhtml
2022-04-11 17:40:26 [DEBUG] Forcing cleanup for file OEBPS/Text/part001.xhtml
2022-04-11 17:40:26 [DEBUG] Forcing cleanup for file OEBPS/Text/capitolo_001.xhtml
2022-04-11 17:40:27 [DEBUG] Cleaning markup for file OEBPS/Text/Cover.xhtml
2022-04-11 17:40:27 [DEBUG] Cleaning markup for file OEBPS/Text/part001.xhtml
2022-04-11 17:40:27 [DEBUG] Cleaning markup for file OEBPS/Text/capitolo_001.xhtml
2022-04-11 17:40:27 [DEBUG] KoboTouchExtended:_modify_epub:Calibre details file :: E:\driveinfo.calibre
2022-04-11 17:40:27 [DEBUG] KoboTouchExtended:_modify_epub:Driver data file :: d:\Users\Stefano\AppData\Local\Temp\calibre_9qw030tz\669d6hbc_KoboTouchExtendedDriverInfo
2022-04-11 17:40:27 [INFO] Copying file 'd:\Users\Stefano\AppData\Local\Temp\calibre_9qw030tz\669d6hbc_KoboTouchExtendedDriverInfo' to 'D:\Users\Stefano\AppData\Local\Temp\calibre_9qw030tz\0bpjwq_0_epub_container' as 'driverinfo.kte'
2022-04-11 17:40:27 [DEBUG] Found meta node with name=cover
2022-04-11 17:40:27 [INFO] Found cover image ID 'cover-image'
2022-04-11 17:40:27 [DEBUG] Found an item node with cover ID
2022-04-11 17:40:27 [INFO] Setting cover-image property
2022-04-11 17:40:27 [INFO] Copying file 'd:\Users\Stefano\AppData\Local\Temp\calibre_9qw030tz\kepub_agip3ht1_hyphenate' to 'D:\Users\Stefano\AppData\Local\Temp\calibre_9qw030tz\0bpjwq_0_epub_container' as 'kte-css/hyphenation.css'
2022-04-11 17:40:27 [DEBUG] Adding reference to kte-css/hyphenation.css to file OEBPS/Text/Cover.xhtml
2022-04-11 17:40:27 [DEBUG] Adding reference to kte-css/hyphenation.css to file OEBPS/Text/capitolo_001.xhtml
2022-04-11 17:40:27 [DEBUG] Adding reference to kte-css/hyphenation.css to file OEBPS/Text/part001.xhtml
2022-04-11 17:40:27 [DEBUG] Smartening punctuation for file OEBPS/Text/Cover.xhtml
2022-04-11 17:40:27 [DEBUG] Smartening punctuation for file OEBPS/Text/part001.xhtml
2022-04-11 17:40:27 [DEBUG] Smartening punctuation for file OEBPS/Text/capitolo_001.xhtml
2022-04-11 17:40:27 [DEBUG] Initial parse failed, using more forgiving parsers
2022-04-11 17:40:27 [DEBUG] Parsing tags)
2022-04-11 17:40:27 [INFO] Copying file 'D:\Users\Stefano\AppData\Local\Temp\calibre_9qw030tz\vummv8cw_epub_container\js/kobo.js' to 'D:\Users\Stefano\AppData\Local\Temp\calibre_9qw030tz\0bpjwq_0_epub_container' as 'kobo.js'
2022-04-11 17:40:27 [DEBUG] Adding reference to kobo.js to file OEBPS/Text/Cover.xhtml
2022-04-11 17:40:27 [DEBUG] Adding reference to kobo.js to file OEBPS/Text/part001.xhtml
2022-04-11 17:40:27 [DEBUG] Adding reference to kobo.js to file OEBPS/Text/capitolo_001.xhtml
2022-04-11 17:40:27 [INFO] Copying file 'd:\Users\Stefano\AppData\Local\Temp\calibre_9qw030tz\kepub_y7dhkhj7_stylehacks' to 'D:\Users\Stefano\AppData\Local\Temp\calibre_9qw030tz\0bpjwq_0_epub_container' as 'kte-css/stylehacks.css'
2022-04-11 17:40:27 [DEBUG] Adding reference to kte-css/stylehacks.css to file OEBPS/Text/Cover.xhtml
2022-04-11 17:40:27 [DEBUG] Adding reference to kte-css/stylehacks.css to file OEBPS/Text/part001.xhtml
2022-04-11 17:40:27 [DEBUG] Adding reference to kte-css/stylehacks.css to file OEBPS/Text/capitolo_001.xhtml
2022-04-11 17:40:27 [INFO] modify_epub took 0.609947 seconds
2022-04-11 17:40:27 [DEBUG] KoboTouchExtended:settings: settings= 2022-04-11 17:40:27 [DEBUG] <calibre.utils.config_base.OptionValues object at 0x11168850>
2022-04-11 17:40:27 [DEBUG] KoboTouchExtended:settings: settings= 2022-04-11 17:40:27 [DEBUG] <calibre.utils.config_base.OptionValues object at 0x11168700>
2022-04-11 17:40:27 [DEBUG] KoboTouchExtended:filename_callback:Path - TestMissingCover MISSING - Nome Cognome.epub
2022-04-11 17:40:27 [DEBUG] KoboTouchExtended:filename_callback:New path - TestMissingCover MISSING - Nome Cognome.kepub.epub
2022-04-11 17:40:27 [INFO] KoboTouchExtended:_modify_epub:Generated KePub file copy path: D:\Kepub\TestMissingCover MISSING - Nome Cognome.kepub.epub
DEBUG: 50.0 KoboTouch:_modify_epub:Processing Cognome, Nome - TestMissingCover MISSING
DEBUG: 50.0 KoboTouch:modify_epub: no CSS file
DEBUG: 50.0 USBMS: uploading 1 books
2022-04-11 17:40:27 [DEBUG] KoboTouchExtended:settings: settings= 2022-04-11 17:40:27 [DEBUG] <calibre.utils.config_base.OptionValues object at 0x11168CA0>
2022-04-11 17:40:27 [DEBUG] KoboTouchExtended:settings: settings= 2022-04-11 17:40:27 [DEBUG] <calibre.utils.config_base.OptionValues object at 0x11168FE8>
2022-04-11 17:40:27 [DEBUG] KoboTouchExtended:filename_callback:Path - TestMissingCover MISSING - Nome Cognome.epub
2022-04-11 17:40:27 [DEBUG] KoboTouchExtended:filename_callback:New path - TestMissingCover MISSING - Nome Cognome.kepub.epub
Failed to initialize plugin: 'd:\Users\Stefano\AppData\Roaming\calibre\plugins\DeDRM.zip'
Traceback (most recent call last):
File "calibre\customize\ui.py", line 740, in initialize_plugins
File "calibre\customize\ui.py", line 64, in load_plugin
File "calibre\customize\zipplugin.py", line 292, in load
File "importlib_init.py", line 127, in import_module
File " Driver: KoboTouchExtended'
DEBUG: 94.6 KoboUtilities:set_toolbar_button_tooltip - start: text='None'
DEBUG: 94.6 KoboUtilities:set_toolbar_button_tooltip - setting to text='Utilities to use with Kobo ereaders Driver: KoboTouchExtended'
@jgoguen I gave you feedback 17 days ago. Take a look above.
I still can't reproduce this, but there's one thing I'd like you to try.
- Right-click the book and choose
Convert books > Convert individually
. - Change the output format to
KEPUB
. - In the left sidebar, choose "KePub Output".
- Enable the setting "No SVG cover"
This setting says it can produce blank page covers on devices that don't support SVG.