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-19-2021, 11:13 AM   #5536
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by tricklem View Post
Thanks for all of the hard work you have put in to get this done and thank you to everyone for all the extra help that some of us needed.
JimmXinu is offline   Reply With Quote
Old 02-20-2021, 03:09 PM   #5537
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,988
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Question: is there any way for FFF to automatically remove empty paragraphs?
ownedbycats is online now   Reply With Quote
Advert
Old 02-20-2021, 04:01 PM   #5538
fanfictioneer
Enthusiast
fanfictioneer doesn't litterfanfictioneer doesn't litter
 
Posts: 26
Karma: 110
Join Date: Oct 2018
Device: Kindle
Some fanfic downloads never finish after the latest update. The status shows: 2 of 3 stories finished downloading, progress bar at 100%. It's almost like some background process never calls back and notifies the main fanfic process that it's done, or something.

Pastebin of the fanfic log

Thanks for all your hard work!
fanfictioneer is offline   Reply With Quote
Old 02-20-2021, 04:48 PM   #5539
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
Question: is there any way for FFF to automatically remove empty paragraphs?
There are the replace_br_with_p and replace_xbr_with_hr settings:

Code:
## Some sites/authors/stories use br tags instead of p tags for
## paragraphs.  This feature uses some heuristics to find and replace
## br paragraphs with p tags while preserving scene breaks.
#replace_br_with_p: false

## Some sites/authors/stories use several br tags for scene/section
## breaks.  When set replace_xbr_with_hr:X will cause FFF to search
## for X or more consecutive br tags and replace them with br br hr br.
#replace_xbr_with_hr:3
I have rejected all requests for more generalized text processing on the grounds that it's a shotgun with a stirrup on the end -- you will shoot yourself in foot with it.

Quote:
Originally Posted by fanfictioneer View Post
Some fanfic downloads never finish after the latest update. The status shows: 2 of 3 stories finished downloading, progress bar at 100%. It's almost like some background process never calls back and notifies the main fanfic process that it's done, or something.
Hmmm. I did see a race condition problem like that before the release, but I thought that I'd found all the possible cases.

Is this something you can reproduce?

(Your log also points out that reduce_zalgo is broken, but that's an easy fix and shouldn't affect this.)
JimmXinu is offline   Reply With Quote
Old 02-20-2021, 04:52 PM   #5540
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2021-02-20
- Fix writer_txt import removeAllEntities
- Update plugin about.html
- Fix reduce_zalgo not imported.
JimmXinu is offline   Reply With Quote
Advert
Old 02-20-2021, 05:44 PM   #5541
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New New Test Version Posted

2021-02-20 - Part 2
- Fix for BG job race conditions.

2021-02-20
- Fix writer_txt import removeAllEntities
- Update plugin about.html
- Fix reduce_zalgo not imported.

I can't promise that this one fixes fanfictioneer problem because I couldn't replicated that, but it does fix a similar but opposite problem I saw of finished downloads not being processed correctly.

This version includes a lot of extra debug output in the BG log and extra test 'sites' specifically for stressing BG processing. For example:
Spoiler:

Code:
http://test1.com?sid=1
http://test2.com?sid=1
http://test3.com?sid=1
http://test4.com?sid=1
http://test1.com?sid=2
http://test2.com?sid=2
http://test3.com?sid=2
http://test4.com?sid=2
http://test3.com?sid=3
http://test4.com?sid=3
http://test1.com?sid=3
http://test2.com?sid=3
http://test1.com?sid=4
http://test2.com?sid=4
http://test3.com?sid=4
http://test4.com?sid=4
http://test1.com?sid=5
http://test2.com?sid=5
http://test3.com?sid=5
http://test4.com?sid=5
and so on...


This is important enough that there will be an early plugin release this weekend to correct it.
JimmXinu is offline   Reply With Quote
Old 02-21-2021, 02:29 AM   #5542
honeymufins
Junior Member
honeymufins began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jun 2012
Device: kindle
Hi
I've downloaded and installed the most recent plugin for fanfic fare, but am getting an error and the chapters are not downloading correctly.


Status
Title
Author
Comment
URL
Update
Harry Potter and the Godfathers
AmeliaDarkholme
Download mobi completed, 14 failed chapters, 15 total chapters.
https://www.fanfiction.net/s/1192380...the-Godfathers

Cheers
honeymufins is offline   Reply With Quote
Old 02-21-2021, 02:45 AM   #5543
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,988
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
https://github.com/JimmXinu/FanFicFa...-fanfictionnet
ownedbycats is online now   Reply With Quote
Old 02-21-2021, 11:11 AM   #5544
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Version Released

Version 4.0.2 - 21 Feb 2021
- Fix for BG job race conditions.
- Fix writer_txt import removeAllEntities
- Update plugin about.html
- Fix reduce_zalgo not imported.
JimmXinu is offline   Reply With Quote
Old 02-21-2021, 12:28 PM   #5545
fanfictioneer
Enthusiast
fanfictioneer doesn't litterfanfictioneer doesn't litter
 
Posts: 26
Karma: 110
Join Date: Oct 2018
Device: Kindle
Sorry for not getting back to you earlier - I'll try the new version ASAP and get back to you with feedback. Thanks for your hard work!
fanfictioneer is offline   Reply With Quote
Old 02-22-2021, 09:55 AM   #5546
firefoxxy
Zealot
firefoxxy began at the beginning.
 
Posts: 105
Karma: 10
Join Date: Nov 2012
Location: Germany
Device: Kobo Libra 2
I've just update to the latest version and get this error (which already appeared using version 4.0.0) It only happens for ff.net stories
I'm not sure what the problem is. Do you need any other information?

Quote:
Fehler
Unknown
Unknown
Cannot set verify_mode to CERT_NONE when check_hostname is enabled.
https://www.fanfiction.net/s/1375384...der-the-Stairs
firefoxxy is offline   Reply With Quote
Old 02-22-2021, 10:46 AM   #5547
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 honeymufins View Post
Hi
I've downloaded and installed the most recent plugin for fanfic fare, but am getting an error and the chapters are not downloading correctly.


Status
Title
Author
Comment
URL
Update
Harry Potter and the Godfathers
AmeliaDarkholme
Download mobi completed, 14 failed chapters, 15 total chapters.
https://www.fanfiction.net/s/1192380...the-Godfathers

Cheers
In most cases, this occurs when CloudFlare's bot protection kicks in.

If you are using the browser cache feature and get this error, all the chapters you are trying to download have to have been viewed in the browser before running FFF (if not, FFF tries to download the missing chapters from the server). If you have not used the browser cache feature for FFF, you need to consider adding it to your personal.ini file. While it is more work, once it is properly configured and working it is a lot easier than attempting to fight CloudFlare in the long run.

Last edited by steltek; 02-22-2021 at 10:49 AM.
steltek is offline   Reply With Quote
Old 02-22-2021, 12:50 PM   #5548
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by firefoxxy View Post
I've just update to the latest version and get this error (which already appeared using version 4.0.0) It only happens for ff.net stories
I'm not sure what the problem is. Do you need any other information?
I have no idea either--it's coming from somewhere down inside the network code.

If you can run in debug mode (under Calibre's Preferences dropdown) and catch a debug log of it I might be able to tell more.
JimmXinu is offline   Reply With Quote
Old 02-22-2021, 11:51 PM   #5549
firefox26
Junior Member
firefox26 began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Mar 2020
Device: Kindle
Storiesonline.net not working with the latest plugin v4.0.2.

I copied the URL from the browser in the plugin, but when I run it the logs shows an error saying story not found.

Any idea what this is happening
firefox26 is offline   Reply With Quote
Old 02-23-2021, 05:12 AM   #5550
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by firefox26 View Post
Storiesonline.net not working with the latest plugin v4.0.2.

I copied the URL from the browser in the plugin, but when I run it the logs shows an error saying story not found.

Any idea what this is happening
A test worked here. There was a change on the site recently with the themes. You need to visit the site and choose the "Classic" theme. The adapter does not work with the other themes.
davidfor 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 12:03 AM.


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