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 08-27-2024, 09:54 PM   #9841
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: 7,237
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by booster-t View Post
Hmm ... no luck .. same error. Calibre 7.1.7 and plugin v4.37.2
I was going to ask if you were sure you installed the new zip, but I double checked and it looks like I uploaded the wrong one.

Attached is experimental version 4.37.3. Same as I thought I'd posted, plus a version bump to confirm it.

Quote:
Originally Posted by booster-t View Post
The plugin responds by saying: Directory does not contain a known browser cache type: '/~Library/Caches/Firefox/Profiles/whbmctbq.default-release-1721846696620/cache2'
Firefox (my preferred browser, btw) browser cache uses different code, so it shouldn't have the same problems, at least.

I believe your problem is the leading '/' in '/~Library/...'. Should just be '~Library/...'

Last edited by JimmXinu; 08-28-2024 at 04:18 PM. Reason: remove obsolete test version
JimmXinu is offline   Reply With Quote
Old 08-27-2024, 11:12 PM   #9842
booster-t
Enthusiast
booster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it is
 
booster-t's Avatar
 
Posts: 38
Karma: 2464
Join Date: Dec 2020
Location: Vancouver, Canada
Device: iPad, Mac Mini M4 Pro
Thank you ... that fixed the problem ... in the FWIW department, I *do* need the / before Library ... the tilde takes the place of Users/myname and it expects a / after that for the next bit of the long file name ... like:

Users/myname/Library/Caches/Google/Chrome/Default/Cache/Cache_Data

Stephen
PS: Here's the log file to conform that it worked :-)
Attached Files
File Type: zip tmpgywa_a6y.txt.zip (7.3 KB, 252 views)

Last edited by booster-t; 08-27-2024 at 11:21 PM.
booster-t is offline   Reply With Quote
Advert
Old 08-28-2024, 12:09 AM   #9843
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: 7,237
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by booster-t View Post
Thank you ... that fixed the problem ...
That's good.

Now the question is what happens for other people. Any volunteers? Any linux users maybe?

Quote:
Originally Posted by booster-t View Post
in the FWIW department, I *do* need the / before Library ... the tilde takes the place of Users/myname and it expects a / after that for the next bit of the long file name ... like:
Correct. But the copy paste showed '/~Library', not '~/Library' -- I was typing faster than I was thinking when I said "just '~Library'".
JimmXinu is offline   Reply With Quote
Old 08-28-2024, 12:18 AM   #9844
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,470
Karma: 81408765
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by JimmXinu View Post
That's good.

Now the question is what happens for other people. Any volunteers? Any linux users maybe?
Windows 10 + Vivaldi 6.8.3381.57, no errors when downloading a new fic from ffnet.
ownedbycats is offline   Reply With Quote
Old 08-28-2024, 12:20 AM   #9845
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: 7,237
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
Windows 10 + Vivaldi 6.8.3381.57, no errors when downloading a new fic from ffnet.
Thanks. Can you confirm in a debug log that your browser uses Simple cache?

The current change isn't really backward compatible -- if browser cache worked before and still works with this experimental version, odds are your browser uses the other cache code.
JimmXinu is offline   Reply With Quote
Advert
Old 08-28-2024, 12:26 AM   #9846
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,470
Karma: 81408765
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I'm seeing entries for browsercache_blockfile, so maybe not so good a test
ownedbycats is offline   Reply With Quote
Old 08-28-2024, 12:27 AM   #9847
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: 7,237
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Yep, that's the other Chrome cache type. Thanks for trying anyway.
JimmXinu is offline   Reply With Quote
Old 08-28-2024, 07:00 AM   #9848
Clem2605
Connoisseur
Clem2605 began at the beginning.
 
Posts: 60
Karma: 10
Join Date: May 2020
Device: Kobo H2O, Kobo Libra H2O, Boox Tab Ultra C
Hello!

I'm currently in the process of trying to use the 'replace metadata' function to it's full potential, but I have a small question:

Does the order in which FFF replaces the metadata matter for the conditional expressions? And if it does, what is the order?

If I use the expression, let's say:

Code:
 category=>Star Wars|The Mandalorian=>Star Wars
 character==Luke=>Luke Skywalker&&category=>Star Wars
And I have a fanfiction in which 'Luke' is a character with only 'The Mandalorian' as a category:
- Will it catch it because FFF processes the expressions in the order I've written them?
- Will it catch it because FFF processes the category metadata before processing the character ones?
- Will it never catch it because FFF processes the character's metadata before the category ones?
- Will it never catch it because FFF will only use the 'raw' category metadata for the comparisons?
Clem2605 is offline   Reply With Quote
Old 08-28-2024, 07:10 AM   #9849
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,470
Karma: 81408765
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by Clem2605 View Post
Hello!

I'm currently in the process of trying to use the 'replace metadata' function to it's full potential, but I have a small question:

Does the order in which FFF replaces the metadata matter for the conditional expressions? And if it does, what is the order?
Yes. In the order they're listed. Keep in mind the section precedence if you put specific replaces under a specific site. Here's an example:

Code:
replace_metadata: 

 category=>^(Mass Effect - Various Authors|Mass Effect: Paragon Lost|Mass Effect \d|Mass Effect - All Media Types)$=>Mass Effect
 category=>^Mass Effect$=>Mass Effect: Andromeda&&characters=~(Ryder|Jaal Ama Darav)
 category=>^Mass Effect$=>Mass Effect Trilogy&&characters=~(Garrus|Shepard|Oriana Lawson|Kaidan Alenko|Normandy Crew)
 category=>^Mass Effect$=>Mass Effect Trilogy&&publisher==FanFiction.net
Note that the first one combines several AO3 categories into a 'Mass Effect', which is also used by ffnet and older pre-Andromeda AO3 fics.

The next two then splits that 'Mass Effect' into Trilogy and Andromeda depending on characters.

The last one then has any ffnet fics fall back to Trilogy. However, most of the time, they've already been caught by the two character-conditionals replaces.



Your example should work as expected, I think.

Last edited by ownedbycats; 08-28-2024 at 07:18 AM.
ownedbycats is offline   Reply With Quote
Old 08-28-2024, 07:14 AM   #9850
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,470
Karma: 81408765
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Note that include/exclude_metadatas also include _pre and _post variants, which determines whether they run before or after replaces are applied.
ownedbycats is offline   Reply With Quote
Old 08-28-2024, 09:46 AM   #9851
bigwoof
Connoisseur
bigwoof began at the beginning.
 
Posts: 89
Karma: 18
Join Date: Jun 2020
Device: Android devices via Samsung Phone and Boox Palma 2
Quote:
Originally Posted by JimmXinu View Post
That's good.
Now the question is what happens for other people. Any volunteers? Any linux users maybe?
Windows 11 latest calibre and chrome.. but sadly using blockfiles as well.. no issues seens with the test version.
bigwoof is offline   Reply With Quote
Old 08-28-2024, 09:52 AM   #9852
Clem2605
Connoisseur
Clem2605 began at the beginning.
 
Posts: 60
Karma: 10
Join Date: May 2020
Device: Kobo H2O, Kobo Libra H2O, Boox Tab Ultra C
Quote:
Yes. In the order they're listed.
Thank you!

I guessed that it would work but I wanted to be sure ^^.

I pretty much only use AO3 these days, in part because ff.net has become such a hassle to download, so I'm not worried about site compatibility and I put my replace_metadata in the default.
However, I tend to read in a lot of different fandoms, so I'm always a bit nervous that if I'm not specific enough, I'll end up catching something I didn't intend to and breaking everything...

Have a good day!

Last edited by Clem2605; 08-28-2024 at 09:54 AM.
Clem2605 is offline   Reply With Quote
Old 08-28-2024, 10:27 AM   #9853
vulcana
Member
vulcana began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Dec 2020
Device: none
Fanficfare login to AO3

I think AO3 may have changed its login some how. I found my regular browsing windows logged out and I was able to log in.

However, this morning fanficfare was not able to use the login saved in the config file and my typed user id and password was not accepted.

Has anyone else run into this?
vulcana is offline   Reply With Quote
Old 08-28-2024, 12:07 PM   #9854
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: 7,237
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by vulcana View Post
I think AO3 may have changed its login some how. I found my regular browsing windows logged out and I was able to log in.

However, this morning fanficfare was not able to use the login saved in the config file and my typed user id and password was not accepted.

Has anyone else run into this?
It's working for me...
JimmXinu is offline   Reply With Quote
Old 08-28-2024, 12:58 PM   #9855
vulcana
Member
vulcana began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Dec 2020
Device: none
Quote:
Originally Posted by JimmXinu View Post
It's working for me...
Thanks

I now have a new error so I think something in my chrome may be messing it up. I appreciate the feedback. I will let the cache expire and see if that helps it.

Status
Title
Author
Comment
URL
Error
The Long Road to Freedom
Umei_no_Mai
Browser Cache Failed to Load with error ''NoneType' object has no attribute 'headers''
https://archiveofourown.org/works/56889970
vulcana 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 527 08-15-2025 02:36 PM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 06:42 AM
[GUI Plugin] Marvin XD Philantrop Plugins 126 01-29-2017 01:48 PM
[GUI Plugin] KiNotes -axel- Plugins 0 07-14-2013 07:39 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 01:27 PM


All times are GMT -4. The time now is 01:13 PM.


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