Quote:
Originally Posted by JimmXinu
New Test Version Posted
2021-07-14
- Change blockfilecache to save uint32 addrs instead of original cache key. Hashing cache key proved unreliable in some cases.
- Allow fictionpress.com with use_browser_cache--user still needs to configure in personal.ini Closes #716
Okay, once I could see it happen in front of me, I was able to track this down better.
The Chrome Block Cache code was basically hashing the cache key to a binary address via a hash table, but in that particular case, the hash pointed to a null (0s) address in the table.
But during the initial cache table scan (to find the ffnet URLs), the binary address was already known.
So I changed the code to save and use the binary address and skip the hashing/lookup step altogether.
It's now working for me on the examples given and should even give a (minor) performance boost.
Note that this change only affects Chrome derived browsers using Block Cache. Many Chrome browsers use Simple Cache instead--I've no idea which or why.
This error indicates that your browser_cache_path isn't set correctly, since it's trying to use 'C:\Program Files\Calibre2'.
Perhaps you have browser_cache_path appearing more than once?
|
I can also verify that this fix resolves the problem in both of the test cases I have been using. The speed boost, at least for me, is very significant especially in longer fics. The jobs still don't execute as fast on my machine as they do when using a Firefox-based browser cache, but they the gap is significantly closed.
Quote:
Originally Posted by Nutzer0815
I installed Calibre 5.23.0 with FanFicFare 4.4.0.
I tried the instructions from https://github.com/JimmXinu/FanFicFa...erCacheFeature.
I updated the cache path for Firefox with my path.
C:\Users\user\AppData\Local\Mozilla\Firefox\Profil es\xvgdeguf.default-1563538979722\cache2
The old error message is gone.
I now get the error message
Directory does not contain a known browser cache type: 'C:\Program Files\Calibre2',
but I cannot locate the error.
|
When you have
personal.ini open for editing, copy/paste
C:\Program Files\Calibre2 into the search box at the bottom of the editing window and hit the 'Find' button. This should find any occurrences of that specific text in
personal.ini and allow you to locate the problem quickly.