Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 02-27-2022, 12:33 PM   #6931
Kite013
Junior Member
Kite013 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2021
Device: Nook
I keep getting the error "Directory does not contain a known browser cache type"
I have as far as I know cleared the cache and tried again so I don't know what is going on.
Kite013 is offline   Reply With Quote
Old 02-27-2022, 01:23 PM   #6932
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,987
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
If you are using Chrome, they changed where the cache lives back in January. See post.

Otherwise, see the browser cache feature wiki page and check your configured browser cache path. Without more to go on, that's all I can suggest.
JimmXinu is offline   Reply With Quote
Old 02-28-2022, 02:36 AM   #6933
Kite013
Junior Member
Kite013 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2021
Device: Nook
Thankyou for the links. Turns out it was that when I copied the address of the folder the cache was in that it didn't contain the last part which was the sub folder cache_data that it was in.
Kite013 is offline   Reply With Quote
Old 03-02-2022, 11:03 AM   #6934
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,987
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2022-03-02
- royalroad: Recognize and normalize various chapter url formats (#813), thanks sidney

Presumably in response to:
Quote:
Originally Posted by bugstomper View Post
I'm reading a book on RoyalRoad that has links to other chapters in the book. It's a choose your own path type adventure. Is there anything in FanFicfare that would support getting those links converted to the proper internal links in the resulting epub? If it is not already a feature, do you think that existing functions for matching a URL to a story URL pattern and canonicalizing a URL and whatever is done to produce a ToC could be the basis for coding an option to convert such links if I wanted to pursue coding this feature myself?

Last edited by JimmXinu; 03-02-2022 at 11:04 AM. Reason: add quote reference
JimmXinu is offline   Reply With Quote
Old 03-03-2022, 06:53 AM   #6935
Patricia1066
Zealot
Patricia1066 is a splendid one to beholdPatricia1066 is a splendid one to beholdPatricia1066 is a splendid one to beholdPatricia1066 is a splendid one to beholdPatricia1066 is a splendid one to beholdPatricia1066 is a splendid one to beholdPatricia1066 is a splendid one to beholdPatricia1066 is a splendid one to beholdPatricia1066 is a splendid one to beholdPatricia1066 is a splendid one to beholdPatricia1066 is a splendid one to behold
 
Patricia1066's Avatar
 
Posts: 135
Karma: 19894
Join Date: Mar 2010
Location: Bromley, UK
Device: Kindle 11th gen, Kindle KB 3rd gen
Fanfiction.net browser cache problem

Hope you can give me a pointer. Calibre is installed on Debian bullseye on Chromebook chromeOS v99.
I followed the wiki on configuring the plugin by adding browser cache to the personal.ini file.
I use Vivaldi browser which has its folder .cache/vivaldi/Default/Cache.

[defaults]
browser_cache_path:/home/patricia/.cache/vivaldi/Default/Cache
[www.fanfiction.net]
username:XXXXXXXX
password:XXXXXXXX
use_browser_cache:true

I am unsure how deep to drill down - is it enough to point to the vivaldi folder, or Default, or Cache?

THis is the error log

calibre 5.37 embedded-python: True is64bit: True
Linux-5.10.92-14532-g179c52887ab5-x86_64-with-glibc2.2.5 Linux ('64bit', 'ELF')
('Linux', '5.10.92-14532-g179c52887ab5', '#1 SMP PREEMPT Sun Feb 20 18:46:52 PST 2022')
Python 3.8.5
Interface language: None
Successfully initialized third party plugins: DeDRM (7, 2, 1) && FanFicFare (4, 10, 0)
Traceback (most recent call last):
fanficfare.browsercache.basebrowsercache.BrowserCa cheException: Directory does not contain a known browser cache type: '/home/patricia/.cache/vivaldi/Default/Cache'

Last edited by Patricia1066; 03-03-2022 at 06:56 AM.
Patricia1066 is offline   Reply With Quote
Old 03-03-2022, 02:45 PM   #6936
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,987
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
I suspect you are having the same problem as this. Vivaldi is based on Chrome's engine.
JimmXinu is offline   Reply With Quote
Old 03-03-2022, 03:06 PM   #6937
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,024
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Vivaldi user, can confirm that its now using Cache_Data.
ownedbycats is online now   Reply With Quote
Old 03-04-2022, 04:13 AM   #6938
Patricia1066
Zealot
Patricia1066 is a splendid one to beholdPatricia1066 is a splendid one to beholdPatricia1066 is a splendid one to beholdPatricia1066 is a splendid one to beholdPatricia1066 is a splendid one to beholdPatricia1066 is a splendid one to beholdPatricia1066 is a splendid one to beholdPatricia1066 is a splendid one to beholdPatricia1066 is a splendid one to beholdPatricia1066 is a splendid one to beholdPatricia1066 is a splendid one to behold
 
Patricia1066's Avatar
 
Posts: 135
Karma: 19894
Join Date: Mar 2010
Location: Bromley, UK
Device: Kindle 11th gen, Kindle KB 3rd gen
Quote:
Originally Posted by JimmXinu View Post
I suspect you are having the same problem as this. Vivaldi is based on Chrome's engine.
Yes this works. Thanks for maintaining this essential plugin!
Patricia1066 is offline   Reply With Quote
Old 03-05-2022, 03:43 PM   #6939
steltek
Connoisseur
steltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura about
 
Posts: 69
Karma: 4484
Join Date: Jan 2016
Device: none
Quote:
Originally Posted by ownedbycats View Post
Vivaldi user, can confirm that its now using Cache_Data.
The same thing applies to Microsoft Edge as well. Brave hasn't updated to the new cache location (at least as of now) but I'm sure it will eventually change as well.
steltek is offline   Reply With Quote
Old 03-05-2022, 04:53 PM   #6940
MarjaE
Guru
MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.
 
Posts: 937
Karma: 53902736
Join Date: Jun 2015
Device: multiple
For the past several weeks, Fanficfare gives me a 503 error on Fictionmania.
MarjaE is offline   Reply With Quote
Old 03-05-2022, 06:55 PM   #6941
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,987
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Worked for me just now.

A 503 error could suggest transient problems that you are unlucky with, issues with your network or region being served by regional servers that are having problems, or that your network or computer is being more stringently screened or blocked.

I don't know of anything I could do to help you.
JimmXinu is offline   Reply With Quote
Old 03-05-2022, 09:19 PM   #6942
bugstomper
Member
bugstomper began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jun 2017
Device: kindle
I have another possible enhancement to the royalroad adapter to ask about.
Royalroad can have Author's Notes before and/or after the content of a chapter. The adapter doesn't include them in the content, which is usually the right thing. However in the Choose Your Adventure type story I am reading that has those relative links, the author is now sometimes using Author's Notes to provide the links, separating it from the text. If I wanted to add the ability to optionally include Author's Notes with a RoyalRoad story, something that would be specified for an individual story and not for everything on royalroad:

1. Is there provision in the plugin for me to set some option or tag in a story's metadata that can be read in the adapter to enable the option?

2. If not, does personal.ini allow me to have a section to customize just for one story instead of for the entire royalroad.com?

3. Are there any existing options or methods in the code that I should be aware of if I wanted to add such an option to the adapter?

4. What if I wanted to not only specify options to include pre-chapter author's notes and post-chapter author's notes, but also be able to somehow specify the formatting or css for them, are there existing methods I should make use of?

5. Is this useful enough to make part of the adapter if I have a patch to submit, or would it remain my personal customization?

In case you want to see the story yourself it is
https://www.royalroad.com/fiction/51...er-interactive

Thanks,

bugstomper, aka sidney on GitHub
bugstomper is offline   Reply With Quote
Old 03-05-2022, 09:42 PM   #6943
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,024
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
for 2, there is -- I've used [https://www.yourstoryurl.com/whatever] sections at the bottom to tweak things for individual fanfics.
ownedbycats is online now   Reply With Quote
Old 03-05-2022, 09:54 PM   #6944
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,024
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Also, a bit of a thought:

Sometimes authors unexpectedly delete stories (or I forgot to subscribe), so once in a while I like to go through and check updates on fics that haven't updated for a while to see whether they return an error (or have unexpected updates from forgetting to subscrib), and if they do I can then move them to the Abandoned status.

However, I've stopped doing this. Running "update if new chapters" on a bunch of stories I am worried might contribute to the Cloudflare issue, and I'd rather not update metadata on everything.

Would it be much effort to have an additional option somewhere in FFF to check only the first chapter of a fic to see if it's still valid and update the error column if not? I'm not sure how much of a corner case this is.

Last edited by ownedbycats; 03-06-2022 at 03:36 AM.
ownedbycats is online now   Reply With Quote
Old 03-05-2022, 10:47 PM   #6945
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,987
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by bugstomper View Post
1. Is there provision in the plugin for me to set some option or tag in a story's metadata that can be read in the adapter to enable the option?
Not intentionally. You might be able to do something with the 'Pass Calibre Columns into FanFicFare on Update/Overwrite' feature, but I don't think it's necessary because:

Quote:
Originally Posted by bugstomper View Post
2. If not, does personal.ini allow me to have a section to customize just for one story instead of for the entire royalroad.com?
Yes! You can put the story URL as a section name in personal.ini. So in this case:

Code:
[https://www.royalroad.com/fiction/51335]
#settings for this story only.
(If an adapter implements get_section_url(), you can also use title-containing story URLs. royalroad doesn't have that yet. grep existing adapters for examples.)

Quote:
Originally Posted by bugstomper View Post
3. Are there any existing options or methods in the code that I should be aware of if I wanted to add such an option to the adapter?
I believe the exclude_notes feature of adapter_archiveofourownorg is the most complex/complete equivalent. Note that adapter_archiveofourownorg's use_view_full_work feature may make it look more complicated than it needs to be.

Quote:
Originally Posted by bugstomper View Post
4. What if I wanted to not only specify options to include pre-chapter author's notes and post-chapter author's notes, but also be able to somehow specify the formatting or css for them, are there existing methods I should make use of?
Add class attribs to the tags in question. Again, see exclude_notes in adapter_archiveofourownorg for an example. I'd suggest the same class names where they match, add new ones if needed. Then output_css settings for the actual CSS.

Quote:
Originally Posted by bugstomper View Post
5. Is this useful enough to make part of the adapter if I have a patch to submit, or would it remain my personal customization?
Absolutely!

The AO3 adapter uses an exclude list because they were all included originally and the feature was added to suppress them.

If it makes more sense for royalroad, feel free to have an include list instead of exclude.

Quote:
Originally Posted by ownedbycats View Post
Would it be much effort to have an additional option somewhere in FFF to check only the first chapter of a fic to see if it's still valid and update the error column if not? I'm not sure how much of a corner case this is.
IMO, it would be too much effort for very little gain. And that such a feature would likely encourage such checks more often.
JimmXinu is offline   Reply With Quote
Reply

Tags
fanfiction


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 04:17 PM.


MobileRead.com is a privately owned, operated and funded community.