Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 11-10-2025, 09:28 AM   #1876
zkab
Member
zkab began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Apr 2016
Device: none
Count Pages

I followed the guideline in https://themedium.substack.com/p/how...unt-in-calibre
but got an error in - With the same books selected click the "Count pages" dropdown button and click "Download page/wordcounts - Goodreads."

This is the error ...
version 8.13.0
WARNING: Page/word/statistics warnings: Could not analyse some statistics in 1 of 1 books, for reasons shown in details below.

Den franska fotografen - Natasha Lester (No identifiers for selected download sources)
zkab is offline   Reply With Quote
Old 11-10-2025, 10:13 AM   #1877
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,317
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Moderator Notice
FYI, moved zkab's post here, was a new thread.
JimmXinu is offline   Reply With Quote
Advert
Old 11-10-2025, 10:34 AM   #1878
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,561
Karma: 62543878
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by zkab View Post
I followed the guideline in https://themedium.substack.com/p/how...unt-in-calibre
but got an error in - With the same books selected click the "Count pages" dropdown button and click "Download page/wordcounts - Goodreads."

This is the error ...
version 8.13.0
WARNING: Page/word/statistics warnings: Could not analyse some statistics in 1 of 1 books, for reasons shown in details below.

Den franska fotografen - Natasha Lester (No identifiers for selected download sources)
I believe it needs a Goodreads identifier set in the MDE.
Another possibility is that title has no entry at Goodreads
You could right click the icon: Estimate
theducks is online now   Reply With Quote
Old 11-21-2025, 11:14 PM   #1879
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,774
Karma: 2208556
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Count Pages release

Release Notes:
https://github.com/kiwidude68/calibr...t_pages-1.14.2

The first new feature for a long time (thanks for the suggestion to Victor239 for requesting this ages ago).

Select a subset (or all) of your books in the library and choose 'Statistic totals for selected books'. This will display a popup dialog with totals and averages of pages, words and other statistic columns if you have them configured for those books.
kiwidude is offline   Reply With Quote
Old 11-22-2025, 06:51 AM   #1880
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: 82,246
Karma: 150871427
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by kiwidude View Post
Release Notes:
https://github.com/kiwidude68/calibr...t_pages-1.14.2

The first new feature for a long time (thanks for the suggestion to Victor239 for requesting this ages ago).

Select a subset (or all) of your books in the library and choose 'Statistic totals for selected books'. This will display a popup dialog with totals and averages of pages, words and other statistic columns if you have them configured for those books.
Can the static page count please be updated to generate counts (but not add to the database) for books that have no counts in the database? If any books are selected that have no count, then the result is incorrect. Thanks.
JSWolf is offline   Reply With Quote
Advert
Old 11-22-2025, 07:48 AM   #1881
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,774
Karma: 2208556
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
No, because there is no guarantee that a book can have a count generated for it. The onus is on you the user - if you select books that dont have page counts then you cant expect the "averages" to be correct and should recalculate them.

EDIT: I just saw your bit about "not add to the database" - that would make this whole feature horribly slow and a giant time waste for someone who selects a massive amount of books. Waiting for count pages to go through, calculate the raw stats and then not actually record them against the books? That is a mean form of torture, definite no

Last edited by kiwidude; 11-22-2025 at 07:51 AM.
kiwidude is offline   Reply With Quote
Old 11-22-2025, 08:01 AM   #1882
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: 82,246
Karma: 150871427
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by kiwidude View Post
No, because there is no guarantee that a book can have a count generated for it. The onus is on you the user - if you select books that dont have page counts then you cant expect the "averages" to be correct and should recalculate them.

EDIT: I just saw your bit about "not add to the database" - that would make this whole feature horribly slow and a giant time waste for someone who selects a massive amount of books. Waiting for count pages to go through, calculate the raw stats and then not actually record them against the books? That is a mean form of torture, definite no
Then could you make it throw up an error that at least one selected book has no count? If in my selection, I select a book that doesn't have a count, the numbers are skewed and I may not know it.
JSWolf is offline   Reply With Quote
Old 11-22-2025, 09:35 PM   #1883
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,774
Karma: 2208556
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Count Pages release

Release Notes:
https://github.com/kiwidude68/calibr...t_pages-1.14.3

Averages will now skip books missing a value for that statistic. Any books missing a statistic will result in a warning added to the dialog.
kiwidude is offline   Reply With Quote
Old 11-23-2025, 06:23 AM   #1884
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: 82,246
Karma: 150871427
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by kiwidude View Post
Release Notes:
https://github.com/kiwidude68/calibr...t_pages-1.14.3

Averages will now skip books missing a value for that statistic. Any books missing a statistic will result in a warning added to the dialog.
Thank you very much!
JSWolf is offline   Reply With Quote
Old 11-30-2025, 06:46 PM   #1885
Aporatael
Junior Member
Aporatael began at the beginning.
 
Posts: 5
Karma: 10
Join Date: May 2024
Device: Kindle
Count pages isn't loading for me. After the last update it no longer shows up on the toolbar, and I can't add it back to the toolbar. When I go to installed plugins and try to configure it there I get the message, "ERROR: Must restart: You must restart calibre before you can configure the <b>Count Pages</b> plugin" But it still says that after restarting.

I booted into debug mode and got the debug log for you.
Spoiler:
Code:
calibre Debug log
calibre 3.48 [64bit]  embedded-python: True is64bit: True
Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE')
('Windows', '7', '6.1.7601')
Python 2.7.15+
Windows: ('7', '6.1.7601', 'SP1', u'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: FanFicFare (4, 51, 0) && Count Pages (1, 14, 3) && Kindle Collections (1, 7, 29)
calibre 3.48 [64bit]  embedded-python: True is64bit: True
Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE')
('Windows', '7', '6.1.7601')
Python 2.7.15+
Windows: ('7', '6.1.7601', 'SP1', u'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: FanFicFare (4, 51, 0) && Count Pages (1, 14, 3) && Kindle Collections (1, 7, 29)
Turning on automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 72.0088593577 x 72.0
Using calibre Qt style: True
[0.00] Starting up...
[0.00] Showing splash screen...
[0.05] splash screen shown
[0.05] Initializing db...
[5.91] db initialized
[5.91] Constructing main UI...
DEPRECATION: The OpenSSL being used by this python install (OpenSSL 1.0.2q  20 Nov 2018) does not meet the minimum supported version (>= OpenSSL 1.1.1) in order to support TLS 1.3 required by Cloudflare, You may encounter an unexpected Captcha or cloudflare 1020 blocks.
Traceback (most recent call last):
  File "site-packages\calibre\gui2\ui.py", line 157, in __init__
  File "site-packages\calibre\gui2\ui.py", line 171, in init_iaction
  File "site-packages\calibre\customize\__init__.py", line 612, in load_actual_plugin
  File "importlib\__init__.py", line 37, in import_module
  File "site-packages\calibre\customize\zipplugin.py", line 185, in load_module
  File "calibre_plugins.count_pages.action", line 28, in <module>
  File "site-packages\calibre\customize\zipplugin.py", line 181, in load_module
  File "calibre_plugins.count_pages.dialogs", line 265
    total_item = QTableWidgetItem(f"{total:,.0f}" if total >= 0 else "-")
                                                ^
SyntaxError: invalid syntax
Failed to load recipe from: u'Unknown News Source_1000.recipe'
Traceback (most recent call last):
  File "site-packages\calibre\web\feeds\recipes\collection.py", line 117, in get_custom_recipe_collection
IOError: [Errno 2] No such file or directory: u'C:\\Users\\Anders\\AppData\\Roaming\\calibre\\custom_recipes\\Unknown News Source_1000.recipe'
FFF: DEBUG: 2025-11-30 16:32:46,019: calibre_plugins.fanficfare_plugin.fff_plugin(218): Plugin FanFicFare macmenuhack file_path:C:\Users\[User]\AppData\Roaming\calibre\plugins\fanficfare_macmenuhack.txt
[26.21] main UI initialized...
[26.22] Hiding splash screen
[115.14] splash screen hidden
[115.14] Started up in 115.14 seconds with 75763 books
Aporatael is offline   Reply With Quote
Old 11-30-2025, 07:56 PM   #1886
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,561
Karma: 62543878
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Preferences: Get Plugins: Installed to see what is installed.

1.14.3 is the latest (and it works on W10 8.15 Calibre)
theducks is online now   Reply With Quote
Old 11-30-2025, 08:31 PM   #1887
Aporatael
Junior Member
Aporatael began at the beginning.
 
Posts: 5
Karma: 10
Join Date: May 2024
Device: Kindle
I have 1.14.3 that is the version that doesn't work. I tried downgrading to 1.14.1 and that worked.
Aporatael is offline   Reply With Quote
Old 12-01-2025, 12:08 AM   #1888
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,774
Karma: 2208556
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Count Pages release

Release Notes
https://github.com/kiwidude68/calibr...t_pages-1.14.4

@Aporatael - not sure why you are using such a necro version of calibre (3.48) but I have updated the plugin to support it. There was an incompatibility with the old version of python that uses and how I had written the code for the new statistics dialog.
kiwidude is offline   Reply With Quote
Old 12-01-2025, 02:00 AM   #1889
Aporatael
Junior Member
Aporatael began at the beginning.
 
Posts: 5
Karma: 10
Join Date: May 2024
Device: Kindle
New version works, Thank you.

I am using calibre 3.48 because that is the best version that works with windows 7 (I will upgrade when it stops working)
Aporatael is offline   Reply With Quote
Old 12-09-2025, 07:20 AM   #1890
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: 82,246
Karma: 150871427
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Aporatael View Post
New version works, Thank you.

I am using calibre 3.48 because that is the best version that works with windows 7 (I will upgrade when it stops working)
You should upgrade to Windows 10 before you need a newer version of calibre.
JSWolf is offline   Reply With Quote
Reply

Tags
count, count pages, page count, pages, plugin


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Open With kiwidude Plugins 405 02-09-2026 08:54 AM
[GUI Plugin] Quality Check kiwidude Plugins 1281 02-09-2026 08:51 AM
[GUI Plugin] Quick Preferences kiwidude Plugins 63 02-09-2026 08:48 AM
[GUI Plugin] Kindle Collections (old) meme Plugins 2070 08-11-2014 01:02 AM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 01:27 PM


All times are GMT -4. The time now is 05:52 PM.


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