View Single Post
Old 02-22-2026, 11:53 PM   #9
msr
Enthusiast
msr never is beset by a damp, drizzly November in his or her soul.msr never is beset by a damp, drizzly November in his or her soul.msr never is beset by a damp, drizzly November in his or her soul.msr never is beset by a damp, drizzly November in his or her soul.msr never is beset by a damp, drizzly November in his or her soul.msr never is beset by a damp, drizzly November in his or her soul.msr never is beset by a damp, drizzly November in his or her soul.msr never is beset by a damp, drizzly November in his or her soul.msr never is beset by a damp, drizzly November in his or her soul.msr never is beset by a damp, drizzly November in his or her soul.msr never is beset by a damp, drizzly November in his or her soul.
 
Posts: 30
Karma: 59820
Join Date: Jul 2009
Device: Kobo
No, but in confirming this I have inadvertently fixed the problem, even though I really do not remotely understand what was causing it in the first place.

I have Calibre pinned to my taskbar, which is how I launch it 99.99% of the time. I tried running the executable directly and discovered page counting worked. I closed it and ran it from the "taskbar pin" and it did not work. So I unpinned, re-ran the executable directly, then re-pinned it. Now when I run it from the fresh "pin" it works correctly.

It's the same exact version of Calibre (I only have the portable, as I had uninstalled the regular version after my earlier test), but somehow the pinned shortcut must have had something odd associated with it that was blocking the threads from running.

I do not recall that there were any environmental variables or customized settings for that particular shortcut, but as I already remove it I have no obvious way to recover it and check.

On the other hand, I wonder if maybe there was... the one environmental variable that jumped out at me as possibly customized was the calibre_cache_directory. Ever since the Calibre book viewer was completely updated a few years ago (I don't recall the timeline), I've had a lot of problems with books opening very slowly as the "preparing books for first view" took a surprisingly long time to run (frequently 10-20 seconds). At one point I think there was a suggestion the cache needed to be repointed to fix this and I may have set that variable at that time (although what I set it to is a mystery at this stage). I just noticed that books are now opening almost instantaneously when they had never done so previously (at least not since that major rewrite of the book viewer). Clearly something else was "fixed" or otherwise cleared up when the shortcut was recreated.
msr is offline   Reply With Quote