Same problem here with "Count Pages" plugin.
First, excuse me if my english is not good enough.
I am suffering this problem and when looking for a solution I've found this thread. I use Calibre in a Linux AMD64 machine.
I've noticed that if I uninstall the addon and then I install it again (Calibre needs to restart) the plugin works as it should.... But just once! when I close Calibre and launch it again, "Count Pages" fails again without touching anything else.
In "Count Pages" customize window, if I click in View Library Preferences:
Quote:
{
"customColumnPages": "#pages",
"algorithmPages": 1,
"customColumnGunningFog": "",
"customColumnWords": "#pages",
"SchemaVersion": 1.61,
"customColumnFleschGrade": "",
"customColumnFleschReading": "",
"customCharsPerPage": 1500
}
|
When I close Calibre and I launch it again, this View Library Preferences have changed to:
Quote:
{
"customColumnFleschReading": "",
"customCharsPerPage": 1500,
"customColumnFleschGrade": "",
"SchemaVersion": 1.61,
"customColumnWords": "#pages",
"customColumnGunningFog": "",
"algorithmPages": 1,
"customColumnPages": "#pages"
}
|
I think that it's the words' count the number which is inserted in #Pages column instead the pages' count. It seems that if the customColumnWords setting appears before than the customColumnPages it's the words' count what it's inserted into the #pages column and not the pages' count.
I've changed the configuration so in Word count options I've choosed the blank option for custom column (I don't know why was the #Pages column selected here, I never choosed this setting):
And everything is ok now.
I don't know why this configuration (the quotes above) changes without touching anything.