Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-04-2026, 11:56 AM   #136
un_pogaz
Chalut o/
un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.
 
un_pogaz's Avatar
 
Posts: 547
Karma: 718860
Join Date: Dec 2017
Device: Kobo
Yeah, plus it seem that the automatic behave in a fairly variable manner among users and screen, so definitely not something that we can be finely refine.
(second time I thinking too much for a point of detail, I need to tone down my perfectionism and nitpicking)

Else, it seem that the scrambled file given early have a strange behave:
The dominant color of the spine does not appear to be the same as the one used for the fade-in animation. In more extreme case the spine became even green, sign that the internal dominant color is realy incorrect (but I haven't been able to reproduce this one)
post
Symphony of the Wind - Steven McKinnon_scrambled.epub
Attached Thumbnails
Click image for larger version

Name:	2026-01-04_16-37-54.png
Views:	30
Size:	41.1 KB
ID:	220063   Click image for larger version

Name:	2026-01-04_16-40-51.png
Views:	25
Size:	48.1 KB
ID:	220064  

Last edited by un_pogaz; 01-04-2026 at 12:00 PM.
un_pogaz is offline   Reply With Quote
Old 01-04-2026, 12:06 PM   #137
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,825
Karma: 28586150
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Added ability to have a second line of text in the spine, for example to show authors, configurable via a template. https://github.com/kovidgoyal/calibr...0ee097f9bae22e
kovidgoyal is offline   Reply With Quote
Advert
Old 01-04-2026, 12:10 PM   #138
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,825
Karma: 28586150
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@unpogaz: The algorithm for selecting the color is your code I havent changed it. I'd guess it's the part where it tries to select a "vibrant" color. You can try increasing the threshold of pixels the fallback color must cover.
kovidgoyal is offline   Reply With Quote
Old 01-04-2026, 12:28 PM   #139
nqk
Fanatic
nqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beauty
 
Posts: 590
Karma: 32228
Join Date: Feb 2012
Device: Onyx Boox Leaf
Quote:
Originally Posted by kovidgoyal View Post
@nqk: Run in debug mode and go to preferences->look & feel->book shelf and trigger a recount and see if there are any errors in the debug log.
It seems to have run, about 16xx books shows pages, but then the number stopped increasing.

Code:
Failed to initialize plugin: 'C:\\Users\\khanh\\AppData\\Roaming\\calibre\\plugins\\Goodreads More Tags.zip'
Traceback (most recent call last):
  File "calibre_plugins.goodreads_more_tags.config", line 12, in <module>
ImportError: cannot import name 'Qt' from 'qt' (C:\Program Files\Calibre2\app\bin\python-lib.bypy.frozen\qt\__init__.pyc)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre\customize\ui.py", line 833, in initialize_plugins
  File "calibre\customize\ui.py", line 87, in load_plugin
  File "calibre\customize\zipplugin.py", line 310, in load
  File "importlib\__init__.py", line 88, in import_module
  File "<frozen importlib._bootstrap>", line 1398, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1371, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1342, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 938, in _load_unlocked
  File "calibre\customize\zipplugin.py", line 209, in exec_module
  File "calibre_plugins.goodreads_more_tags.__init__", line 12, in <module>
  File "calibre\customize\zipplugin.py", line 209, in exec_module
  File "calibre_plugins.goodreads_more_tags.config", line 15, in <module>
ModuleNotFoundError: No module named 'PyQt4'
ApplicationPaletteChange event ignored
Using calibre Qt style: True
calibre_plugins.goodreads_sync.httplib2.__init__:1055: SyntaxWarning: "\." is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\."? A raw string is also an option.
calibre_plugins.resize_cover.common_menus:50: SyntaxWarning: "\g" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\g"? A raw string is also an option.
Failed to initialize plugin: 'C:\\Users\\khanh\\AppData\\Roaming\\calibre\\plugins\\Goodreads More Tags.zip'
calibre Nhật kí gỡ lỗi
calibre 8.99.1  embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.14.2
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: vi
EXE path: C:\Program Files\Calibre2\calibre-debug.exe
Successfully initialized third party plugins: Action Chains (1, 20, 10) && Editor Chains (1, 1, 9) && Generate Cover (2, 3, 6) && Goodreads (1, 8, 3) && Goodreads Sync (1, 16, 12) && Markdown Output (1, 0, 3) && Resize Cover (1, 2, 1)
calibre 8.99.1  embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.14.2
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: vi
EXE path: C:\Program Files\Calibre2\calibre-debug.exe
Successfully initialized third party plugins: Action Chains (1, 20, 10) && Editor Chains (1, 1, 9) && Generate Cover (2, 3, 6) && Goodreads (1, 8, 3) && Goodreads Sync (1, 16, 12) && Markdown Output (1, 0, 3) && Resize Cover (1, 2, 1)
QPA platform: windows
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 118.41774744027302 x 118.22545454545454
[0.00] Starting up...
[0.00] Showing splash screen...
[1.20] splash screen shown
[1.20] Initializing db...
[1.38] db initialized
[1.38] Constructing main UI...
[3.57] GUI main window shown
Key 'G' is assigned to multiple shortcuts: Thêm sách, Lấy sách. Using shortcut: Thêm sách
Key 'S' is assigned to multiple shortcuts: Lưu vào đĩa, Move to next match. Using shortcut: Lưu vào đĩa
Key 'G' is assigned to multiple shortcuts: Thêm sách, Lấy sách. Using shortcut: Thêm sách
Key 'S' is assigned to multiple shortcuts: Lưu vào đĩa, Move to next match. Using shortcut: Lưu vào đĩa
[4.13] main UI initialized...
[4.13] Hiding splash screen
[4.14] splash screen hidden
[4.14] Started up in 4.14 seconds with 3477 books
Action chains: _get_plugins_resources(): start
Editor chains: _get_plugins_resources(): start
Editor Chains: _get_plugins_resources(): finished
Editor Chains: actions that does not run headless: ['Mark Cursor Tag', 'Insert Before Cursor Tag', 'Insert After Cursor Tag']
calling method (on_modules_update) of obj (Tag Actions)
Editor Chains: Tag Actions: running on_modules_update()
calling method (on_modules_update) of obj (Style Actions)
Editor Chains: Style Actions: running on_modules_update()
Editor chains: _call_plugins_on_modules_update(): start
Editor Chains: _call_plugins_on_modules_update(): finished
Action Chains: _get_plugins_resources(): finished
ActionChains::events/books_added.py - exception when loading translations
Action chains: formulas: running on_templates_update()
Action chains: _call_plugins_on_modules_update(): start
Action Chains: _call_plugins_on_modules_update(): finished
Key 'G' is assigned to multiple shortcuts: Thêm sách, Lấy sách. Using shortcut: Thêm sách
Key 'S' is assigned to multiple shortcuts: Lưu vào đĩa, Move to next match. Using shortcut: Lưu vào đĩa
[249.14] Shutdown starting...
[252.68] Shutdown complete, quitting...
Sent from my Pixel 7 Pro using Tapatalk
nqk is offline   Reply With Quote
Old 01-04-2026, 12:34 PM   #140
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,825
Karma: 28586150
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Dont see any errors there. You can try running it from the command line with:

Code:
calibre-debug -c 'from calibre.library import db; db = db();  db.new_api.queue_pages_scan(); input(); db.close()'
It will run in the background. Press Enter to quit it. If there are any errors they should be printed out.

Last edited by kovidgoyal; 01-04-2026 at 12:36 PM.
kovidgoyal is offline   Reply With Quote
Advert
Old 01-04-2026, 12:39 PM   #141
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,209
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by kovidgoyal View Post
Added ability to have a second line of text in the spine, for example to show authors, configurable via a template. https://github.com/kovidgoyal/calibr...0ee097f9bae22e


Except that render_author_template() should use self.template_author not self.template_title.

(I left a comment on github, but I'm not sure if those go anywhere when not attached to a PR.)
JimmXinu is offline   Reply With Quote
Old 01-04-2026, 01:23 PM   #142
un_pogaz
Chalut o/
un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.
 
un_pogaz's Avatar
 
Posts: 547
Karma: 718860
Join Date: Dec 2017
Device: Kobo
Quote:
Originally Posted by kovidgoyal View Post
@unpogaz: The algorithm for selecting the color is your code I havent changed it. I'd guess it's the part where it tries to select a "vibrant" color. You can try increasing the threshold of pixels the fallback color must cover.
Yeah, I will see if I can solve it.
Seem to be a very rare edge case, realy lucky that I found it, so it not such a issue, just to know.

Last edited by un_pogaz; 01-04-2026 at 01:26 PM.
un_pogaz is offline   Reply With Quote
Old 01-04-2026, 01:28 PM   #143
Dal Bhat
Connoisseur
Dal Bhat began at the beginning.
 
Posts: 61
Karma: 10
Join Date: Apr 2024
Device: Kindle 11th Gen
nqk, in tapatalk settings, you can delete the signature block.

In order to not spam for the app in every single post.
Dal Bhat is offline   Reply With Quote
Old 01-04-2026, 02:38 PM   #144
un_pogaz
Chalut o/
un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.
 
un_pogaz's Avatar
 
Posts: 547
Karma: 718860
Join Date: Dec 2017
Device: Kobo
Send a PR to fix this edge case when the hover animation color is not the same than the spine.
This is caused because thumbnail (that determine the spine color) and the hover cover (that determine animation color) are not the same size, and this result that "imageops.dominant_color()" don't return the same value.

I'm also now able to reproduce this "worse" case when the spine is of the "wrong" color: is when the spine height is above a certain size. So, technically this "worse" case is not a bug because "imageops.dominant_color()" work as intended.
I will see if I can improve that by making "dominant_color()" more coherent, regardless of the size of the input image, but not sur if that worse it.
(This does not appear in the original code because "dominant_color()" resized the image to a very little dimension before extract the color, which is not longuer the case now.)

At least, the color between the spine and the animation is now coherent, which was the minimun.

Last edited by un_pogaz; 01-04-2026 at 02:40 PM.
un_pogaz is offline   Reply With Quote
Old 01-04-2026, 04:55 PM   #145
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 81,500
Karma: 150265339
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I'm hoping we get a new build soon to test for those of us who do not run from source.
JSWolf is online now   Reply With Quote
Old 01-04-2026, 06:26 PM   #146
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 49,415
Karma: 174632678
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by kovidgoyal View Post
And of course if you dont like 1/3rd screen height per shelf, you can adjust it to whatever fixed value you like in preferences.
That is likely the easiest way to go forward. Did some playing around and rebuilding the images just takes way to long on any resolution change.
DNSB is offline   Reply With Quote
Old 01-04-2026, 06:32 PM   #147
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 49,415
Karma: 174632678
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
I also noticed that when I originally updated to 8.99.0, there were multiple books showing error as the page count (~18 out of 19,200). When I did the individual manual recount on them, all but one PDF file went to showing a valid page count. I triggered a recount after the last source update I installed and this time about 10 books showed errors but different books from the first time. Again all but the one PDF showed a valid page count after a manual triggered recount.
DNSB is offline   Reply With Quote
Old 01-04-2026, 06:37 PM   #148
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 49,415
Karma: 174632678
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Just updated to the latest source and adding the author to the spine has some issues. In the bookshelf preferences, the author template editor does not seem to be working. In the bookshelf view, quite a few books seem to be too narrow so the author is not displaying.
DNSB is offline   Reply With Quote
Old 01-04-2026, 07:10 PM   #149
nqk
Fanatic
nqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beauty
 
Posts: 590
Karma: 32228
Join Date: Feb 2012
Device: Onyx Boox Leaf
Quote:
Originally Posted by kovidgoyal View Post
Dont see any errors there. You can try running it from the command line with:

Code:
calibre-debug -c 'from calibre.library import db; db = db();  db.new_api.queue_pages_scan(); input(); db.close()'
It will run in the background. Press Enter to quit it. If there are any errors they should be printed out.
I did another recount in debug mode and it went through, I don't know in how many hours, then I returned to the normal mode, added a random book. This book shows -2 pages.

I only have 3-4 plugins.

Hmm

I disabled them all. Still no go.

And another issue: the viewer is all black. And the preview panel in editor is also all black. Content Server viewer is alright

Last edited by nqk; 01-04-2026 at 07:45 PM.
nqk is offline   Reply With Quote
Old 01-04-2026, 07:40 PM   #150
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,768
Karma: 7927573
Join Date: Sep 2020
Device: none
I found an issue with icon themes. Where are all the others? lol.

tested on 8.99.1 and 7.26. Looks like a server-side issue.

(BTW I'm trying to dl the source from github but for some reason it's coming at 20KB/s!

gh status page says all ok...)
Attached Thumbnails
Click image for larger version

Name:	2026-01-04 20_19_49-Choose from 1 available icon themes.png
Views:	20
Size:	248.3 KB
ID:	220078  
Comfy.n is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
calibre 5: Beta testers needed kovidgoyal Calibre 497 09-29-2020 01:58 AM
Beta testers needed kovidgoyal Calibre 75 08-18-2019 08:00 PM
Beta testers for calibre 3.0 needed kovidgoyal Calibre 598 07-09-2017 11:26 PM
Beta testers needed kovidgoyal Calibre 54 05-20-2016 01:34 PM
Beta testers for calibre 2.0 needed kovidgoyal Calibre 142 05-08-2015 05:44 AM


All times are GMT -4. The time now is 08:20 PM.


MobileRead.com is a privately owned, operated and funded community.