|
|
#1 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 905
Karma: 2111023
Join Date: Sep 2013
Device: Kobo Sage
|
Polish Books Keeps Adding titlepage-n.xhtml Pages
With Calibre 9.18, I'm now seeing Polish Books add another titlepage-n.xhtml page every time it runs (titlepage.xhtml, titlepage-1.xhtml, titlepage-2.xhtml...) even though it finds an existing titlepage. It happens with every book I try. This didn't happen with previous versions.
I've attached a screenshot of my Polish Books settings. I'll also stick in the html for the titlepages. Original titlepage.xhtml: Code:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta name="calibre:cover" content="true"/>
<title>The Blade Itself</title>
<style type="text/css" title="override_css">
@page {
padding: 0;
margin: 0;
}
body {
text-align: center;
padding: 0;
margin: 0;
}
</style>
</head>
<body>
<div>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="100%" height="100%" viewBox="0 0 1414 2200" preserveAspectRatio="xMidYMid meet">
<title>The Blade Itself</title>
<image width="1414" height="2200" xlink:href="../images/cover.jpg"/>
</svg>
</div>
</body>
</html>
Code:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta name="calibre:cover" content="true"/>
<title>The Blade Itself</title>
<style type="text/css" title="override_css">
@page {
padding: 0;
margin: 0;
}
body {
text-align: center;
padding: 0;
margin: 0;
}
</style>
</head>
<body>
<div>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="100%" height="100%" viewBox="0 0 1414 2200" preserveAspectRatio="xMidYMid meet">
<title>The Blade Itself</title>
<image width="1414" height="2200" xlink:href="../images/cover.jpg"/>
</svg>
</div>
</body>
</html>
Code:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta name="calibre:cover" content="true"/>
<title>The Blade Itself</title>
<style type="text/css" title="override_css">
@page {
padding: 0;
margin: 0;
}
body {
text-align: center;
padding: 0;
margin: 0;
}
</style>
</head>
<body>
<div>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="100%" height="100%" viewBox="0 0 1414 2200" preserveAspectRatio="xMidYMid meet">
<title>The Blade Itself</title>
<image width="1414" height="2200" xlink:href="../images/cover.jpg"/>
</svg>
</div>
</body>
</html>
Code:
ApplicationPaletteChange event ignored
Using calibre Qt style: True
qt.qpa.services: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'calibre-gui'")
calibre Debug log
calibre 9.18 embedded-python: True
Linux-7.3.3-ogc1.1.fc45.x86_64-x86_64-with-glibc2.44 Linux ('64bit', 'ELF')
('Linux', '7.3.3-ogc1.1.fc45.x86_64', '#1 SMP PREEMPT_DYNAMIC Fri Nov 6 22:02:09 UTC 2026')
Python 3.14.10
Linux: Bazzite
Interface language: None
EXE path: /var/home/dave/calibre-bin/calibre/bin/calibre-debug
Successfully initialized third party plugins: DeACSM (0, 0, 16) && DeDRM (10, 0, 3) && Diaps Editing Toolbag (0, 5, 0) && EpubCheck (0, 3, 0) && Kindle hi-res covers (0, 5, 1) && Kobo Metadata (1, 14, 0) && Kobo Utilities (2, 29, 0) && Last Modified (0, 8, 5) && Modify ePub (1, 8, 14) && Quality Check (1, 15, 0) && ScrambleEbook (0, 6, 0)
calibre 9.18 embedded-python: True
Linux-7.3.3-ogc1.1.fc45.x86_64-x86_64-with-glibc2.44 Linux ('64bit', 'ELF')
('Linux', '7.3.3-ogc1.1.fc45.x86_64', '#1 SMP PREEMPT_DYNAMIC Fri Nov 6 22:02:09 UTC 2026')
Python 3.14.10
Linux: Bazzite
Interface language: None
EXE path: /var/home/dave/calibre-bin/calibre/bin/calibre-debug
Successfully initialized third party plugins: DeACSM (0, 0, 16) && DeDRM (10, 0, 3) && Diaps Editing Toolbag (0, 5, 0) && EpubCheck (0, 3, 0) && Kindle hi-res covers (0, 5, 1) && Kobo Metadata (1, 14, 0) && Kobo Utilities (2, 29, 0) && Last Modified (0, 8, 5) && Modify ePub (1, 8, 14) && Quality Check (1, 15, 0) && ScrambleEbook (0, 6, 0)
QPA platform: xcb
devicePixelRatio: 1.5
logicalDpi: 96.0 x 96.0
physicalDpi: 72.80274999999999 x 72.78805970149253
[0.00] Starting up...
[0.00] Initializing db...
[0.03] db initialized
[0.03] Constructing main UI...
[0.06] [DEBUG] [koboutilities.config:<module>:74] CreateNewCustomColumn is supported
qt.webengine.QWebEngineView OK
[0.24] [DEBUG] [koboutilities.action:KoboUtilitiesAction.genesis:131] Running in optimized mode
[0.47] GUI main window shown
[0.48] [DEBUG] [koboutilities.action:KoboUtilitiesAction.initialization_complete:135] Plugin config: {
"BookmarkOptions": {
"backgroundJob": false,
"clearIfUnread": false,
"doNotStoreIfReopened": false,
"rating": true,
"readingStatus": true,
"readingTime": true,
"setDateToNow": false,
"storeBookmarks": false,
"storeIfMoreRecent": false
},
"Devices": {
"N778215019407": {
"active": true,
"backupOptionsStore": {
"backupCopiesToKeepSpin": 5,
"backupDestDirectory": "/home/dave/Kobo backups",
"backupEachCOnnection": false,
"doDailyBackp": false
},
"location_code": "main",
"name": "Dave's Sage",
"serial_no": "N778215019407",
"type": "Kobo Sage",
"uuid": "0099fd8c-6339-41d6-8f5e-7764464725d0"
},
"N77847F004878": {
"active": true,
"backupOptionsStore": {
"backupCopiesToKeepSpin": 5,
"backupDestDirectory": "/home/dave/Kobo backups",
"backupEachCOnnection": false,
"doDailyBackp": false
},
"location_code": "main",
"name": "Carol's Sage",
"serial_no": "N77847F004878",
"type": "Kobo Sage",
"uuid": "5671ae9c-a555-48ad-be32-9b16d0838c48"
},
"N782120007529": {
"active": true,
"backupOptionsStore": {
"backupCopiesToKeepSpin": 5,
"backupDestDirectory": "/home/dave/Kobo backups",
"backupEachCOnnection": false,
"doDailyBackp": false
},
"location_code": "main",
"name": "Carol's Forma",
"serial_no": "N782120007529",
"type": "Kobo Forma",
"uuid": "8f411990-af24-497a-af7a-a22f49d5b030"
}
},
"MetadataOptions": {
"author": false,
"authourSort": false,
"description": false,
"descriptionTemplate": "",
"descriptionUseTemplate": false,
"isbn": false,
"language": false,
"published_date": false,
"publisher": false,
"rating": false,
"readingStatus": -1,
"reading_direction": "Default",
"resetPosition": false,
"resetReadingTime": false,
"series": false,
"setRreadingStatus": false,
"set_reading_direction": false,
"set_sync_date": false,
"subtitle": false,
"subtitleTemplate": "",
"sync_date_library_date": "timestamp",
"title": false,
"titleSort": false,
"update_KoboEpubs": false,
"usePlugboard": false
},
"ReadingOptions": {
"doNotUpdateIfSet": false,
"lockMargins": false,
"readingAlignment": "Off",
"readingFontFamily": "Georgia",
"readingFontSize": 22,
"readingLeftMargin": 3,
"readingLineHeight": 1.3,
"readingRightMargin": 3,
"updateConfigFile": false
},
"_version": 3,
"backupAnnotations": {
"dest_directory": ""
},
"backupOptionsStore": {
"backupCopiesToKeepSpin": 5,
"backupDestDirectory": "/home/dave/Calibre/KUBackups",
"backupEachCOnnection": false,
"backupZipDatabase": true,
"doDailyBackp": true
},
"cleanImagesDir": {
"delete_extra_covers": false
},
"commonOptionsStore": {
"buttonActionDevice": "",
"buttonActionLibrary": "",
"individualDeviceOptions": false
},
"coverUpload": {
"blackandwhite": false,
"dithered_covers": false,
"keep_cover_aspect": false,
"kepub_covers": false,
"letterbox": false,
"letterbox_color": "#000000",
"png_covers": false
},
"fixDuplicatesOptionsStore": {
"keepNewestShelf": true,
"purgeShelves": false
},
"getShelvesOptionStore": {
"allBooks": true,
"replaceShelves": true
},
"removeAnnotations": {
"removeAnnotAction": 0
},
"removeCovers": {
"kepub_covers": false,
"remove_fullsize_covers": false
},
"setRelatedBooksOptionsStore": {
"relatedBooksType": 0
},
"updateOptionsStore": {
"doEarlyFirmwareUpdate": false,
"doFirmwareUpdateCheck": false,
"firmwareUpdateCheckLastTime": 1688001836
}
}
[0.48] [DEBUG] [koboutilities.config:get_library_config:663] library_config: {
"SchemaVersion": 1,
"profiles": {
"Carol's Forma": {
"customColumnOptions": {
"currentReadingLocationColumn": "#cesreadloc",
"lastReadColumn": "#ceslastread",
"percentReadColumn": "#cespercentread",
"ratingColumn": "#cesrating",
"restOfBookEstimateColumn": "",
"timeSpentReadingColumn": ""
},
"forDevice": "N782120007529",
"profileName": "Carol's Forma",
"storeOptionsStore": {
"doNotStoreIfReopened": false,
"promptToStore": true,
"storeIfMoreRecent": true,
"storeOnConnect": true
},
"updateOptionsStore": {
"doEarlyFirmwareUpdate": false,
"doFirmwareUpdateCheck": false,
"firmwareUpdateCheckLastTime": 0
}
},
"Carol's Sage": {
"customColumnOptions": {
"currentReadingLocationColumn": "#cesreadloc",
"lastReadColumn": "#ceslastread",
"percentReadColumn": "#cespercentread",
"ratingColumn": "#cesrating",
"restOfBookEstimateColumn": "#cesrestest",
"timeSpentReadingColumn": "#cestimespent"
},
"forDevice": "N77847F004878",
"profileName": "Carol's Sage",
"storeOptionsStore": {
"doNotStoreIfReopened": false,
"promptToStore": true,
"storeIfMoreRecent": true,
"storeOnConnect": true
}
},
"Dave's Sage": {
"customColumnOptions": {
"currentReadingLocationColumn": "#dalreadloc",
"lastReadColumn": "#dallastread",
"percentReadColumn": "#dalpercentread",
"ratingColumn": "#dalrating",
"restOfBookEstimateColumn": "#dalrestest",
"timeSpentReadingColumn": "#daltimespent"
},
"forDevice": "N778215019407",
"profileName": "Dave's Sage",
"storeOptionsStore": {
"doNotStoreIfReopened": false,
"promptToStore": true,
"storeIfMoreRecent": true,
"storeOnConnect": true
},
"updateOptionsStore": {
"doEarlyFirmwareUpdate": false,
"doFirmwareUpdateCheck": false,
"firmwareUpdateCheckLastTime": 0
}
}
},
"readingPositionChangesStore": {
"selectBooksInLibrary": true,
"updeateGoodreadsProgress": false
},
"shelvesColumn": null
}
[0.48] [DEBUG] [koboutilities.action:KoboUtilitiesAction.set_toolbar_button_tooltip:203] setting to text='Utilities to use with Kobo ereaders
Driver: KoboTouch'
[0.51] main UI initialized...
[0.51] Started up in 0.51 seconds with 608 books
GLX: Disable GBM because Ozone X11 is not available. Possibly caused by missing libraries for qpa-xcb support.
calibre_plugins.diaps_toolbag.resources.smartypants:567: SyntaxWarning: "\S" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\S"? A raw string is also an option.
calibre_plugins.diaps_toolbag.resources.smartypants:573: SyntaxWarning: "\S" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\S"? A raw string is also an option.
qt.qpa.services: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'calibre-ebook-edit'")
GLX: Disable GBM because Ozone X11 is not available. Possibly caused by missing libraries for qpa-xcb support.
calibre_plugins.diaps_toolbag.resources.smartypants:567: SyntaxWarning: "\S" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\S"? A raw string is also an option.
calibre_plugins.diaps_toolbag.resources.smartypants:573: SyntaxWarning: "\S" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\S"? A raw string is also an option.
qt.qpa.services: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'calibre-ebook-edit'")
Worker Launch took: 0.00 seconds
Job: 0 Polish The Blade Itself finished
Polish The Blade Itself
Found existing cover page
------------------------------ REPORT ------------------------------
## Polishing: EPUB
### Updating metadata
Updated metadata jacket
Metadata updated
### Setting cover
Cover inserted
### Inserting metadata jacket
Existing metadata jacket replaced
### Smartening punctuation
Smartened punctuation in: jacket.xhtml
### Removing unused CSS rules
No unused CSS style rules found
No unused CSS selectors found
No unused stylesheets found
### Losslessly compressing images
images/00004.jpeg could not be further compressed
images/cover.jpg compressed from 482.5 KB to 432.7 KB bytes [10.3% reduction]
Total image filesize reduced from 504.5 KB to 454.7 KB [9.9% reduction, 1 images changed]
### Upgrading book, if possible
No upgrade needed
### Removing soft hyphens
Soft hyphens removed
----------------------------------------------------------------------
Polishing took: 0.9 seconds
Worker Launch took: 0.00 seconds
Worker Launch took: 0.00 seconds
Job: 2 Polish The Blade Itself finished
Polish The Blade Itself
Found existing cover page
------------------------------ REPORT ------------------------------
## Polishing: EPUB
### Updating metadata
Updated metadata jacket
Metadata updated
### Setting cover
Cover inserted
### Inserting metadata jacket
Existing metadata jacket replaced
### Smartening punctuation
Smartened punctuation in: jacket.xhtml
### Removing unused CSS rules
No unused CSS style rules found
No unused CSS selectors found
No unused stylesheets found
### Losslessly compressing images
images/00004.jpeg could not be further compressed
images/cover.jpg compressed from 482.5 KB to 432.7 KB bytes [10.3% reduction]
Total image filesize reduced from 504.5 KB to 454.7 KB [9.9% reduction, 1 images changed]
### Upgrading book, if possible
No upgrade needed
### Removing soft hyphens
Soft hyphens removed
----------------------------------------------------------------------
Polishing took: 0.9 seconds
Worker Launch took: 0.00 seconds
[103.24] Shutdown starting...
[103.24] Shutdown message shown...
[103.25] Grid view shutdown
[103.25] Bookshelf view shutdown
[103.25] Actions shutdown
[103.45] Various services shutdown
[103.45] Metadata backup shutdown
[103.51] Current database closed
[103.51] Windows hidden
[103.53] Waiting for overseers, mdns, and live to shutdown
[103.53] Waiting for device manager to shutdown
[103.53] Shutdown complete in 0.28, quitting...
[103.53] Application event loop quit
|
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,601
Karma: 29634066
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
This was a regression cause dby the accessibility changes: https://github.com/kovidgoyal/calibr...27bf472dff7135
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Change Default Cover Page (titlepage.xhtml)? | enuddleyarbl | Conversion | 2 | 01-28-2024 10:28 PM |
| ToC not linking to titlepage.xhtml for Cover image? | Sting8 | Conversion | 1 | 01-18-2020 12:09 AM |
| Replace titlepage.xhtml | gogu1904 | Calibre | 9 | 05-19-2019 03:38 PM |
| calibre's inserted cover file, titlepage.xhtml | rhino79 | Calibre | 7 | 05-01-2015 03:27 PM |
| Custom code in ePub titlepage.xhtml | Mrs_Often | Conversion | 6 | 07-24-2012 01:36 PM |