10-25-2023, 05:51 AM | #1711 |
Junior Member
Posts: 3
Karma: 10
Join Date: Sep 2023
Device: Kindle Voyage
|
Hi! Looking at the previous messages I was not able to find a similar behaviour to what I'm experiencing, I hope this is not a dupe.
Basically after I've added a new book and I execute the Count Pages action the plugin will store in the dedicated column the word count. If I execute it again (and all the next times) it correctly stores the pages count. Looking at the logs, it counts consistently pages & words on both runs. The difference is that the first run on a new book (and only the first) it will store the wrong number of the two. It's not a big deal (I usually just run the plugin twice) but I find it curious. I'm on the latest version of Calibre/Count Pages, running on a M1 Macbook, but this has been going on for a long time. |
10-27-2023, 01:14 AM | #1712 | |
Calibre Plugins Developer
Posts: 4,641
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Quote:
|
|
Advert | |
|
10-27-2023, 10:31 AM | #1713 |
Junior Member
Posts: 3
Karma: 10
Join Date: Sep 2023
Device: Kindle Voyage
|
Here are the logs for both runs.
To launch the page count I've always used the button I've got on the main Calibre toolbar with the book selected in the Library view. It's pretty weird, I agree... I'm attaching the screenshots of the settings and the results of the first and second run: https://imgur.com/a/ROw3CZ5 (it seems like imgur flagged the images as "mature", I don't know why. I assure you it's safe to open them ) First Run: Count Page/Word Statistics do_count_statistics - book_path=/var/folders/bl/s0tkk9nx3vsfm2pb8scfnw2c0000gq/C/calibre_6.29.0_tmp_5bvwbe10/ze2sc2nm_count_pages/2122.epub, pages_algorithm=0, page_count_mode=Estimate, statistics_to_run=['PageCount', 'WordCount'], custom_chars_per_page=1500, icu_wordcount=True do_count_statistics - job started for file book_path=/var/folders/bl/s0tkk9nx3vsfm2pb8scfnw2c0000gq/C/calibre_6.29.0_tmp_5bvwbe10/ze2sc2nm_count_pages/2122.epub ------------------------------- Logfile for book ID 2122 (Rimini - Pier Vittorio Tondelli) Method of counting _page_count_mode=Estimate _download_sources=[] results= {'PageCount': 358, 'WordCount': 99523} Found 358 pages Found 99523 words 2122 do_statistics_for_book: /var/folders/bl/s0tkk9nx3vsfm2pb8scfnw2c0000gq/C/calibre_6.29.0_tmp_5bvwbe10/ze2sc2nm_count_pages/2122.epub 0 Estimate [] ['PageCount', 'WordCount'] 1500 True Calculating page count using APNX Accurate algorithm Estimated accurate page count Lines: 11109 Divs: 37 Paras: 2331 Accurate count: 358 Fast count: 300 Page count: 358 Word count using icu_wordcount - trying to count_words Word count - used count_words: 99523 Word count: 99523 Second Run: Count Page/Word Statistics do_count_statistics - book_path=/var/folders/bl/s0tkk9nx3vsfm2pb8scfnw2c0000gq/C/calibre_6.29.0_tmp_5bvwbe10/tde8htyv_count_pages/2122.epub, pages_algorithm=0, page_count_mode=Estimate, statistics_to_run=['PageCount', 'WordCount'], custom_chars_per_page=1500, icu_wordcount=True do_count_statistics - job started for file book_path=/var/folders/bl/s0tkk9nx3vsfm2pb8scfnw2c0000gq/C/calibre_6.29.0_tmp_5bvwbe10/tde8htyv_count_pages/2122.epub ------------------------------- Logfile for book ID 2122 (Rimini - Pier Vittorio Tondelli) Method of counting _page_count_mode=Estimate _download_sources=[] results= {'PageCount': 358, 'WordCount': 99523} Found 358 pages Found 99523 words 2122 do_statistics_for_book: /var/folders/bl/s0tkk9nx3vsfm2pb8scfnw2c0000gq/C/calibre_6.29.0_tmp_5bvwbe10/tde8htyv_count_pages/2122.epub 0 Estimate [] ['PageCount', 'WordCount'] 1500 True Calculating page count using APNX Accurate algorithm Estimated accurate page count Lines: 11109 Divs: 37 Paras: 2331 Accurate count: 358 Fast count: 300 Page count: 358 Word count using icu_wordcount - trying to count_words Word count - used count_words: 99523 Word count: 99523 |
10-27-2023, 05:08 PM | #1714 |
Calibre Plugins Developer
Posts: 4,641
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
As I suspected - look again at your settings in the screenshot. You have the same custom column of #pages assigned to the word count column. You need a second custom column assigned there, such as #words
|
10-30-2023, 09:46 AM | #1715 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Sep 2023
Device: Kindle Voyage
|
Quote:
Thanks, it makes sense. |
|
Advert | |
|
11-15-2023, 06:17 AM | #1716 |
Fanatic
Posts: 516
Karma: 32106
Join Date: Feb 2012
Device: Onyx Boox Leaf
|
I would like, again, to ask for support for the current Calibre Viewer page numbers.
🤞 Sent from my Pixel 7 using Tapatalk |
11-15-2023, 08:38 AM | #1717 |
Resident Curmudgeon
Posts: 74,368
Karma: 129333690
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
delete post
Last edited by JSWolf; 11-15-2023 at 02:11 PM. |
11-15-2023, 11:51 AM | #1718 | |
want to learn what I want
Posts: 1,037
Karma: 6422750
Join Date: Sep 2020
Device: Calibre E-book viewer
|
Quote:
https://www.mobileread.com/forums/sh...postcount=1666 Note that you need to re-run it on books that got the column #pages populated with the previous/outdated Count Pages Viewer algorithm! |
|
11-16-2023, 04:20 AM | #1719 |
Fanatic
Posts: 516
Karma: 32106
Join Date: Feb 2012
Device: Onyx Boox Leaf
|
Oh. My apologies
I have now updated the plugin and it works. I have complained about a non-issue. 😍 Sent from my Pixel 7 using Tapatalk |
11-20-2023, 03:47 PM | #1720 |
Junior Member
Posts: 6
Karma: 10
Join Date: Nov 2023
Device: none
|
Hi! Looking at the previous messages I was not able to find a solution for my problem. Apologies if someone else asked this before.
I'm having a problem with the word count. The plugin is all set correctly. I added a book to my library, downloaded goodreads metadata, launched the plugin estimating the word count and got a certain number in the column. I then proceeded to delete a portion of the text and launched again the plugin and i got a lower number. Good. After that i tried to download from goodreads but the number is not updating (the option to override is ticked). I tried downloading from other sources too but with the same result. Am i doing something wrong? |
11-21-2023, 01:17 PM | #1721 |
Leftutti
Posts: 404
Karma: 1153449
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
|
From Goodreads you only get pages, I think, no word counts.
|
11-21-2023, 01:27 PM | #1722 |
Junior Member
Posts: 6
Karma: 10
Join Date: Nov 2023
Device: none
|
Then why does it say "Download page/word counts"? Also none of the others seem to work either.
|
11-21-2023, 02:28 PM | #1723 |
Well trained by Cats
Posts: 29,890
Karma: 55267620
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Did you create CUSTOM COLUMNS and then configure the plugin on which to use?
|
11-21-2023, 04:36 PM | #1724 |
Resident Curmudgeon
Posts: 74,368
Karma: 129333690
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
11-22-2023, 08:01 AM | #1725 |
Junior Member
Posts: 6
Karma: 10
Join Date: Nov 2023
Device: none
|
|
Tags |
count, count pages, page count, pages, plugin |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Quality Check | kiwidude | Plugins | 1184 | 04-17-2024 06:17 PM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 AM |
[GUI Plugin] Quick Preferences | kiwidude | Plugins | 62 | 03-16-2024 11:47 PM |
[GUI Plugin] Kindle Collections (old) | meme | Plugins | 2070 | 08-11-2014 12:02 AM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |