View Single Post
Old 11-10-2014, 03:43 PM   #14
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by Goala View Post
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:



When I close Calibre and I launch it again, this View Library Preferences have changed to:


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.
The JSON format doesn't care what order things show up in, they are just "key : value" pairs. Every time it gets updated it will get updated into a random order.

That is expected.

If changing the configuration fixed things, then I daresay that was the problem.
I do not know if or why your settings may have changed of their own volition.
eschwartz is offline   Reply With Quote