![]() |
#6031 |
Member
![]() Posts: 12
Karma: 10
Join Date: Jun 2021
Device: Calibre
|
Thanks for responding!
It's definitely the right folder. To double-check, I used the command "go to folder," which allows me to type/paste in a folder location. I pasted in exactly what I have in the personal.ini file, and the window I expected opened right up. And what I'm using is: /Users/XXX/Library/Caches/Google/Chrome/Default/Cache/ Then I cleared the cache, and the folder emptied except for the index. So, it's gotta be right. Then I visited a few pages, and several hundred files appeared. All named something like: 0a9dc2241a0a4556_0 Nothing has "data" in the name, if that matters. So the disc isn't full (which I knew) and Chrome can definitely write there. Then I clicked through a FFN story. Once again, I got the error: Browser Cache Failed to Load with error 'Supposed cache entry file did not end with EOF header with correct magic number: '/Users/XXX/Library/Caches/Google/Chrome/Default/Cache/bb7e6cae8e957066_0'' Is it possible that chrome is writing the files incorrectly?? I mean, it sounds like files are being found, but are not formatted in the expected manner? I opened that file, and it wasn't a FFN cache file. It was something entirely different. I cleared cache again, clicked through the chapters on a story, then tried for a few minutes to find a FFN story cache file, but no luck. Too many files and the largest seemed to reference google ads (likely those served on FFN pages). I suppose I'll need to try Firefox - if Chrome is doing something wrong or just unexpected, I doubt there is anything I can do to make this work. But I wanted to get this out there in case someone else hits the same problem - I've not see anyone mention this particular error thus far. Even if I do get Firefox working, I would like to know what's going on here with Chrome. It seems like all of my settings may actually be correct, but perhaps there's something else interfering. But what? |
![]() |
![]() |
![]() |
#6032 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
New Test Version Posted
2021-06-15 - Skip Failures to read cache entries for Chrome Simple Cache and Firefox Cache2 instead of error. There's a couple things going on. 1) FFF has to read all of the cache entries (with age limit) and look at their URL for these cache types. So it's trying to read all of them, even the non-ffnet ones. (As I recall, the 'chromagnon' cache has an index instead.) 2) It's entirely possible that our cobbled together Python code for reading browser caches is buggy in corner cases. So the low-hanging-fruit answer is to just skip entries that don't load correctly and hope they aren't the ffnet pages. An extremely similar error, except for Firefox has been reported, too. |
![]() |
![]() |
![]() |
#6033 | |
Connoisseur
![]() Posts: 88
Karma: 18
Join Date: Jun 2020
Device: Boox Note Air3, don't use my kindle anymore
|
Quote:
You could try the test version or Firefox and see if the issue is solved.. Last edited by bigwoof; 06-15-2021 at 07:32 PM. |
|
![]() |
![]() |
![]() |
#6034 | |
Member
![]() Posts: 12
Karma: 10
Join Date: Jun 2021
Device: Calibre
|
Quote:
Browser Cache Failed to Load with error 'name 'traceback' is not defined' So something has definitely changed, but unfortunately not in a way that makes this work. I'll tackle Firefox later, but I wanted to get this result posted in case it proves helpful to anyone. |
|
![]() |
![]() |
![]() |
#6035 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
New Test Version Posted
2021-06-16 - Forgot to import traceback in browser cache changes. Quote:
![]() This mistake shouldn't have effected anyone who wasn't already having problems. |
|
![]() |
![]() |
![]() |
#6036 | |
Member
![]() Posts: 12
Karma: 10
Join Date: Jun 2021
Device: Calibre
|
Quote:
Critical is going into Firefox, opening a new tab, and typing "about:cache" in the URL bar. This tells you exactly where the cache files are. I was still having trouble, but once I did that I got the right place and then every worked smoothly. It's slow, since it's a much more manual process, and I guess I'll have to update fics weekly rather than monthly, but at least it's working. Next time, I'll try Chrome again with the most recent update. Thank you! |
|
![]() |
![]() |
![]() |
#6037 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 106
Karma: 4486
Join Date: Mar 2020
Location: Netherlands
Device: i-pad
|
It is slow and manual, but at least it allows us to keep up with our libraries.
For which we have to thank Jimm and the people who assisted him in his efforts to make this possible at all. He could have easily thrown the towel into the ring and nixed the possibility for FF-Net all together. But there are a few helpful add-ons (if you get chrome to work or maybe there are similar add-ons to firefox) that will help. I personally use "Get Story URL from E-Mail" then copy the URL's to the first add-on "Open Multiple URLs" (don't open too many at once though) then use "Web to EPUB" to thumb through the larger stories (be patient if it stall for a bit, it will continue), and then once finished move forward by pressing OK in Calibre to update your stories. It's still some manual work, but at least you don't cramp up trying to thumb through a 115 chapter story or during switching back and forth between your mailbox and chrome opening all the hyperlinks in your e-mail manually. ps. you don't have to actually save the story after using "Web to EPUB". Last edited by ackomb; 06-17-2021 at 04:46 PM. Reason: For something |
![]() |
![]() |
![]() |
#6038 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,994
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Note that if you're only updating a story you've had previously downloaded, you don't need to run the entire thing through with the plugin either. I found that most of the time just the first and last chapter will work.
|
![]() |
![]() |
![]() |
#6039 |
Enthusiast
![]() Posts: 31
Karma: 10
Join Date: Dec 2020
Device: Kobo Glo
|
|
![]() |
![]() |
![]() |
#6040 |
Enthusiast
![]() Posts: 45
Karma: 10
Join Date: Jan 2021
Device: Kindle Paperwhite 4
|
So, can someone shortly explain to me how do I use FFF to get fics from FF.net nowadays? I didn't download any fics recently, so I have no idea how to do it with the new updates.
|
![]() |
![]() |
![]() |
#6041 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,994
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
|
![]() |
![]() |
![]() |
#6042 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Nov 2014
Device: Onyx boox Nova 2, Kindle Paperwhite 2, Kindle Voyage
|
Can anyone here maybe help me please?
No matter the fic, every time I try to update it I get the same error, it just says: An error has occurred while FanFicFare was updating calibre's metadata for "the fic". The ebook has been updated, but the metadata has not. Traceback (most recent call last): File "calibre_plugins.fanficfare_plugin.fff_plugin" , line 1779, in update_books_loop File "calibre_plugins.fanficfare_plugin.fff_plugin" , line 2318, in update_metadata IndexError: string index out of range Any idea what I can do to fix this? Thank you. |
![]() |
![]() |
![]() |
#6043 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 124
Karma: 3804
Join Date: May 2016
Device: Kindle Oasis 2
|
Alright, I've searched the thread and can't find the answer to my question.
The problem: I've been running into (with much more frequency in the last few months) fanfics that are increasingly large in size due to pictures and almost always PNGs. I've actually had to manually edit some. An extreme example of one (was on royalroad, now on scribblehub) is Sleeping Princess by Yairy (http://www.scribblehub.com/series/12...ping-princess/) it has hundreds of images some in JPG and many in PNG format... and in fact at last download was over 1200MB... I manually edited the file and changed all the images to JPG and suddenly I'm at 70ish MB. I had to do this (manually convert the images and edit the HTML) to a few dozen fanfics when I put them on my new Kobo (went from 32gb (kindle) to 8gb on my Kobo) I dont remember all of the fics I modified, so I can't name them all off, but it was semi-frequent and most of them where newer fanfics. So the question: Is there some sort of mechanism in FFF to auto-convert images to jpg (and possibly reduce large images)? If not, is there a way to do it without converting to mobi and then BACK to epub (which destroys the usability of it with FFF)? Last edited by Atherton25; 06-19-2021 at 01:40 PM. |
![]() |
![]() |
![]() |
#6044 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,994
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
There is, but if I understand the comments right it doesn't work in plugin.
Code:
## jpg or png ## -- jpg produces smaller images, and may be supported by more ## readers, but it's older and doesn't allow transparency. ## Transparency removed as if remove_transparency: true ## -- png is newer but does allow transparency, but only in CLI. ## It doesn't work in calibre PI due to limitations of the API. convert_images_to: jpg |
![]() |
![]() |
![]() |
#6045 | |||
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Quote:
Quote:
There's also a image_max_size setting (default: 580, 725) and even grayscale_images for eInk readers. Search in defaults.ini (there's a button on the personal.ini config tab) for images to see the possible settings and their default values. |
|||
![]() |
![]() |
![]() |
Tags |
fanfiction |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 523 | 07-15-2025 06:45 PM |
[GUI Plugin] Open With | kiwidude | Plugins | 404 | 02-21-2025 05:42 AM |
[GUI Plugin] Marvin XD | Philantrop | Plugins | 126 | 01-29-2017 12:48 PM |
[GUI Plugin] KiNotes | -axel- | Plugins | 0 | 07-14-2013 06:39 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |