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 01-17-2021, 02:37 PM   #5206
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: 10,995
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by b00kiest View Post
Hello. I get this message no matter what I try:

The site fanfiction.net is blocking downloads. Site is disabled in this version of FanFicFare.

I've been trying for several days. I looked into going backwards in fff plugin but I can't seem to find an older zip file.

Any ideas? I can get the fff app to work and I can get AO3 to work.. it seems to only be fanfiction.net but other say it's working for them.

https://mobileread.cdn.speedyrails.n...lies/frown.gif
Grab the test version from the second post of this thread and install it. FFNet is re-enabled in it.
ownedbycats is offline   Reply With Quote
Old 01-17-2021, 02:48 PM   #5207
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2021-01-17
- Clear metadata cache after adapter metadata fetch. Cached metadata values may not be replace_metadata processed if fetched before their conditional dependencies. Revealed by AO3 one-shots using title for chapter name.
JimmXinu is offline   Reply With Quote
Advert
Old 01-17-2021, 02:49 PM   #5208
Ascello
Enthusiast
Ascello began at the beginning.
 
Posts: 45
Karma: 10
Join Date: Jan 2021
Device: Kindle Paperwhite 4
Quote:
Originally Posted by JimmXinu View Post
I owe Ascello a bit of an apology; when a new user comes along and says they see a problem with all stories of some sort, the odds of it being user error are much higher than a real bug.
Tbh, I wasn't sure if its me or a bug, but once I realised it only affects one-shots, I started to lean towards a bug. Also I kinda hoped there is a work-around using chapter titles or smth.

Quote:
Originally Posted by JimmXinu View Post
But this one is a really subtle bug having to do with FFF caching metadata values after processing replace_metadata for a particular key once and the fact that the AO3 adapter, by fetching title from the metadata for one-shots (to use as the chapter title) before category values are collected causes FFF to cache an empty value for category the value of title without the category change. Which was propagated forward.

Notably, doing an 'Update from Saved Column' does't have that problem because it isn't fetching title just then.

There are at least three ways I could address this, each with different trade-offs. I'm still pondering which to go with. But there will be a fix coming.
Yay, thank you so much!

Quote:
Originally Posted by JimmXinu View Post
[quote ] blocks are removed when quoting a past post. Use [code ] blocks instead--they also preserve spacing better.
Yeah, I haven't used a proper forum in years and years and completely forgot about that command. Thanks, I will remember in the future.

EDIT:
Quote:
New Test Version Posted

2021-01-17
- Clear metadata cache after adapter metadata fetch. Cached metadata values may not be replace_metadata processed if fetched before their conditional dependencies. Revealed by AO3 one-shots using title for chapter name.
You make updates faster than I type posts. Thank you so much for all your work.
Ascello is offline   Reply With Quote
Old 01-17-2021, 03:42 PM   #5209
b00kiest
Member
b00kiest began at the beginning.
 
b00kiest's Avatar
 
Posts: 16
Karma: 36
Join Date: Mar 2019
Device: iphone, yoga 3 thinkpad
Thumbs up

Quote:
Originally Posted by JimmXinu View Post
New Test Version Posted

2021-01-17
- Clear metadata cache after adapter metadata fetch. Cached metadata values may not be replace_metadata processed if fetched before their conditional dependencies. Revealed by AO3 one-shots using title for chapter name.
And Owl, Thank you. The test version now works. So much handier than the standalone to use!
b00kiest is offline   Reply With Quote
Old 01-17-2021, 04:44 PM   #5210
cordy
Junior Member
cordy began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Dec 2010
Device: Sony PRS 650
Hello, First thanks for everything you are doing

Second, I'm running into a strange issue ... It seems I can't update anthology anymore.
Especially anthology from A03 - I'm using Calibre latest version and the latest test version of the pluging.

In the pluging Version i have : Actions by Update Mode / Update Anthology Epub / Update EPUB if new chapters

Strangely enough I have an old version of the pluging installed, where you still had
Anthology Options / Update Anthology ... (working)

I have no error message ... it's just not working ....
cordy is offline   Reply With Quote
Advert
Old 01-17-2021, 09:50 PM   #5211
bigwoof
Connoisseur
bigwoof began at the beginning.
 
Posts: 88
Karma: 18
Join Date: Jun 2020
Device: Boox Note Air3, don't use my kindle anymore
just tested a large anthology from AO3 and it updated fine.

Also thank you @JimmXinu and others for your heroic effects to find a solution to this. was following the github issue. glad to see this just went away once the FFF admins reduced their Cloudflare threat level..
bigwoof is offline   Reply With Quote
Old 01-17-2021, 09:58 PM   #5212
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
I'm not seeing any problem with AO3 anthology update.

cordy, when reporting problems, please provide a story URL (or in this case, series URL).
JimmXinu is offline   Reply With Quote
Old 01-18-2021, 06:39 AM   #5213
Ascello
Enthusiast
Ascello began at the beginning.
 
Posts: 45
Karma: 10
Join Date: Jan 2021
Device: Kindle Paperwhite 4
Is there a way to have replace_metadata duplicate a tag? For example to have one char named "Adam" to be replaced into "Adam A" and "Adam B" in the same fic?

Also is it possible to have 2 conditions to 1 pattern replacement in replace_metadata?
Ascello is offline   Reply With Quote
Old 01-18-2021, 10:10 AM   #5214
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Ascello View Post
Is there a way to have replace_metadata duplicate a tag? For example to have one char named "Adam" to be replaced into "Adam A" and "Adam B" in the same fic?
Yes, \, (slash-comma) indicates to replace with separate items.

Code:
## You can 'split' one list item into multiple list entries by using
## \, in the replacement string.
##
## Examples:
replace_metadata:
 category=>Bitextual=>M/M\,F/M
Quote:
Originally Posted by Ascello View Post
Also is it possible to have 2 conditions to 1 pattern replacement in replace_metadata?
No, only one conditional is permitted.

The whole replace_metadata system has grown into a bit of a monstrosity. 'Simple' changes have unexpected impacts and I'm very reluctant to touch it unless it's actually broken.

You can combine more than one metadata value into a custom 'extra_valid_entries' metadata entry and then check against that if you really want.
JimmXinu is offline   Reply With Quote
Old 01-18-2021, 12:48 PM   #5215
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2021-01-18
- Add better chapter error reporting, refactor proceed_question code.
- Add plugin options to mark success/failed/chapter error individually.

With these changes, I'm tempted to set continue_on_chapter_error:true by default for all sites. Any opinions on that?
JimmXinu is offline   Reply With Quote
Old 01-18-2021, 01:47 PM   #5216
Ascello
Enthusiast
Ascello began at the beginning.
 
Posts: 45
Karma: 10
Join Date: Jan 2021
Device: Kindle Paperwhite 4
Quote:
Originally Posted by JimmXinu View Post
Yes, \, (slash-comma) indicates to replace with separate items.

Code:
## You can 'split' one list item into multiple list entries by using
## \, in the replacement string.
##
## Examples:
replace_metadata:
 category=>Bitextual=>M/M\,F/M
Thx a lot. I see my reading comprehension skills have failed me when I was looking through the wiki. =.=

Another question: What is the order of tags in <entry>_LIST? Is it alphabetical?
Ascello is offline   Reply With Quote
Old 01-18-2021, 02:11 PM   #5217
Ascello
Enthusiast
Ascello began at the beginning.
 
Posts: 45
Karma: 10
Join Date: Jan 2021
Device: Kindle Paperwhite 4
Some other thing:

Is the "Calculate Word Count" from the "Basic" tab in settings, the same thing as the things in "Count Pages" tab? Cuz from what I understand the first one uses Calibre, the other one uses plugin, so it sounds like it will calculate words twice if I switch both up. But maybe I misunderstood? Another option I think it might be is that the tick in the basic window is needed for the Count Pages to run at all? I am not sure which.
Ascello is offline   Reply With Quote
Old 01-18-2021, 02:33 PM   #5218
Ascello
Enthusiast
Ascello began at the beginning.
 
Posts: 45
Karma: 10
Join Date: Jan 2021
Device: Kindle Paperwhite 4
Oh, I'm so gonna get banned from this forum for spam, but they won't let me edit my posts, and I keep coming with new questions. :/

How do I configure the "report chapter error to custom column" thing? I am very confused and cannot find any info about it except for the mention that the functionality exists in the newest version.
Ascello is offline   Reply With Quote
Old 01-18-2021, 02:51 PM   #5219
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Ascello View Post
Another question: What is the order of tags in <entry>_LIST? Is it alphabetical?
Yes, using Python's sorted() function, which depends on locale. It's generally alphabetical, but the meaning of 'alphabetical' can vary by language.

Author values are not sorted for historical reasons and there's a keep_in_order_X setting you can use if you don't want an entry sorted. If you put keep_in_order_genre:true in personal.ini in, genre order will not be changed. Note that any extra entries derived from genre will be sorted without their own keep_in_order_X setting.

Quote:
Originally Posted by Ascello View Post
Is the "Calculate Word Count" from the "Basic" tab in settings, the same thing as the things in "Count Pages" tab? Cuz from what I understand the first one uses Calibre, the other one uses plugin, so it sounds like it will calculate words twice if I switch both up. But maybe I misunderstood? Another option I think it might be is that the tick in the basic window is needed for the Count Pages to run at all? I am not sure which.
There's some more history there: The Count Pages plugin was integrated first for people who wanted page counts. The settings in the Count Pages tab are for calling Count Pages plugin specifically, and your Count Pages plugin settings determine what columns those results are stored in. Plus, Count Pages runs as it's own, separate background job with it's own 'Proceed to Update Library' pop up.

Later, the Basic tab setting Word Count was added. It uses basically the same code as the Count Pages plugin does to count words--and both use Calibre routines to do word counts--so they should be basically the same word count output.

The difference is that the Basic tab setting Word Count is done in the FFF background download job and includes that word count in the generated ebook (title page, log page, etc). You can use it to set a custom column like any other metadata entry. For most purposes, it is identical to collecting word count from the site, which Count Pages plugin sets Calibre metadata only.

So, yes, if you turn on both, word count will be calculated twice. Assuming both write to the same column (which isn't certain), the Count Pages value will be the last written, but inside the ebook title & log page word count will come from the one generated by FFF.
JimmXinu is offline   Reply With Quote
Old 01-18-2021, 03:00 PM   #5220
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Ascello View Post
How do I configure the "report chapter error to custom column" thing? I am very confused and cannot find any info about it except for the mention that the functionality exists in the newest version.
See "Update/Overwrite Error Column" near the bottom of the Custom Column FFF settings tab. Read the tool tip.

Basically, FFF will write the error message for an update to that column. Meaningless if a new download fails because there's no row for them yet.
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:49 AM.


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