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-23-2021, 09:51 AM   #5551
DuskyRose
Guru
DuskyRose ought to be getting tired of karma fortunes by now.DuskyRose ought to be getting tired of karma fortunes by now.DuskyRose ought to be getting tired of karma fortunes by now.DuskyRose ought to be getting tired of karma fortunes by now.DuskyRose ought to be getting tired of karma fortunes by now.DuskyRose ought to be getting tired of karma fortunes by now.DuskyRose ought to be getting tired of karma fortunes by now.DuskyRose ought to be getting tired of karma fortunes by now.DuskyRose ought to be getting tired of karma fortunes by now.DuskyRose ought to be getting tired of karma fortunes by now.DuskyRose ought to be getting tired of karma fortunes by now.
 
DuskyRose's Avatar
 
Posts: 754
Karma: 9209502
Join Date: Apr 2007
Location: Virginia
Device: Boox Note Air3, Palma, K-Scribe, Eclipsa 2e, & Libra 2, Ipads
I'm getting an error on downloads from Archive of Our Own (AO3). I'm trying to batch download stories, and it seems that some stories won't download at all. Same ones, usually the first on the web page.

On the stories with a problem, the log shows...

"Error - Crawling Home - Sarah Problem (SarahProblem), SarahProblem - 'basic_cachefile - https://archiveofourown.org/works/9903398'"

When I try to download it by itself from outside the story, I get the same error.

When I try to download it by itself from inside the story, same error.

[new info: 9:58 am]

I just ran Caliber in Debug Mode, and the story then downloaded correctly. Went back to regular Caliber, and the story now downloads correctly.

Last edited by DuskyRose; 02-23-2021 at 10:02 AM.
DuskyRose is offline   Reply With Quote
Old 02-23-2021, 01:24 PM   #5552
firefoxxy
Zealot
firefoxxy began at the beginning.
 
Posts: 105
Karma: 10
Join Date: Nov 2012
Location: Germany
Device: Kobo Libra 2
Quote:
Originally Posted by JimmXinu View Post
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.
I tried it again in debug mode and it didn't work, no surprise.
The log file is attached.
Attached Files
File Type: txt tmp7wqyn78l.txt (20.4 KB, 119 views)
firefoxxy is offline   Reply With Quote
Advert
Old 02-23-2021, 01:37 PM   #5553
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
Turn off use_ssl_unverified_context--at least for fanfiction.net.

Apparently it doesn't work correctly with cloudscraper. I have no idea why not. I will investigate, but since fanfiction.net doesn't actually have SSL problems, it's not a huge priority.
JimmXinu is offline   Reply With Quote
Old 02-23-2021, 01:56 PM   #5554
firefoxxy
Zealot
firefoxxy began at the beginning.
 
Posts: 105
Karma: 10
Join Date: Nov 2012
Location: Germany
Device: Kobo Libra 2
Quote:
Originally Posted by JimmXinu View Post
Turn off use_ssl_unverified_context--at least for fanfiction.net.

Apparently it doesn't work correctly with cloudscraper. I have no idea why not. I will investigate, but since fanfiction.net doesn't actually have SSL problems, it's not a huge priority.
Thank you, Jimm, it works now.
firefoxxy is offline   Reply With Quote
Old 02-23-2021, 04:35 PM   #5555
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,992
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by JimmXinu View Post
I will investigate, but since fanfiction.net doesn't actually have SSL problems, it's not a huge priority.
Until a proper fix is found, perhaps it could become a defaults.ini setting under ffnet overrides.

EDIT: I made a pull request for that.

Last edited by ownedbycats; 02-23-2021 at 10:00 PM.
ownedbycats is offline   Reply With Quote
Advert
Old 02-23-2021, 05:18 PM   #5556
darth1
Member
darth1 began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Mar 2018
Device: none
can anyone point me to the start of the cache style download an maybe jim could put it in the first posts?
darth1 is offline   Reply With Quote
Old 02-23-2021, 05:21 PM   #5557
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,992
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
https://github.com/JimmXinu/FanFicFa...erCacheFeature
ownedbycats is offline   Reply With Quote
Old 02-23-2021, 05:55 PM   #5558
firefox26
Junior Member
firefox26 began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Mar 2020
Device: Kindle
Quote:
Originally Posted by davidfor View Post
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.
Thanks, its working now for me :-)
firefox26 is offline   Reply With Quote
Old 02-25-2021, 12:42 AM   #5559
idiom6
Enthusiast
idiom6 plays well with othersidiom6 plays well with othersidiom6 plays well with othersidiom6 plays well with othersidiom6 plays well with othersidiom6 plays well with othersidiom6 plays well with othersidiom6 plays well with othersidiom6 plays well with othersidiom6 plays well with othersidiom6 plays well with others
 
Posts: 45
Karma: 2814
Join Date: Oct 2020
Device: Kindle
On Ao3, this fic looks fine. (https://archiveofourown.org/works/19040326) But whenever I try to download it via FFF, there are italics everywhere starting with the passage that goes

Quote:
And because no one has ever asked him that question.”

“I don’t think I picked up all of that,” Steve said, turning to Bucky.
I thought it might be a single misplaced < i > or < / i >, but the download is littered with them and there doesn't seem to be a quick fix. Is this a coding issue by the fic writer or is FFF doing something hinky?
idiom6 is offline   Reply With Quote
Old 02-25-2021, 12:46 AM   #5560
ravendm5
Junior Member
ravendm5 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Feb 2021
Device: none
Quote:
Originally Posted by JimmXinu View Post
Turn off use_ssl_unverified_context--at least for fanfiction.net.

Apparently it doesn't work correctly with cloudscraper. I have no idea why not. I will investigate, but since fanfiction.net doesn't actually have SSL problems, it's not a huge priority.
How exactly do I turn this off? Having the same issue with downloads erroring out.

Thank you!
ravendm5 is offline   Reply With Quote
Old 02-25-2021, 12:23 PM   #5561
firefoxxy
Zealot
firefoxxy began at the beginning.
 
Posts: 105
Karma: 10
Join Date: Nov 2012
Location: Germany
Device: Kobo Libra 2
Quote:
Originally Posted by ravendm5 View Post
How exactly do I turn this off? Having the same issue with downloads erroring out.

Thank you!
You have to open the FFF menu and select 'Configure FanFicFare'. (Sorry, using non-English version)

A new window opens inside calibre. Navigate to the tab 'personal.ini'. There, klick on the first button (personal.ini).

Copy "use_ssl_unverified_context" into the field and hit 'search'. This takes you to the entry in your ini, where you change
Code:
use_ssl_unverified_context:true
to
Code:
use_ssl_unverified_context:false
firefoxxy is offline   Reply With Quote
Old 02-25-2021, 02:17 PM   #5562
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-02-25
- Remove some dup imports/code, thanks akshgpt7. Closes #663
- use_ssl_unverified_context:true ignored when use_clouadscraper:true

Quote:
Originally Posted by ravendm5 View Post
How exactly do I turn this off? Having the same issue with downloads erroring out.
Follow firefoxxy's advice or install the new test version.

Quote:
Originally Posted by idiom6 View Post
On Ao3, this fic looks fine. (https://archiveofourown.org/works/19040326) But whenever I try to download it via FFF, there are italics everywhere starting with the passage that goes
...
I thought it might be a single misplaced < i > or < / i >, but the download is littered with them and there doesn't seem to be a quick fix. Is this a coding issue by the fic writer or is FFF doing something hinky?
It's a coding issue by the fic writer. Or more likely, their editor program.

It's not hugely difficult to use Calibre's Edit Book and a couple find-and-replace's to fix it.

I'm a bit baffled why the browsers are choosing to interpret nested <i> tags as not italic. Is it that common an HTML error?
JimmXinu is offline   Reply With Quote
Old 02-25-2021, 05:37 PM   #5563
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,992
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by JimmXinu View Post
It's a coding issue by the fic writer. Or more likely, their editor program.
I'm thinking it's likely the author wrote it in Google Docs (or another word processor that produces yucky garbage code) then copy-pasted it into AO3's rich text editor. That's known to result in a lot of weird formatting issues. I need to clean up the code of my own fanfic sometime.

Quote:
Originally Posted by JimmXinu View Post
I'm a bit baffled why the browsers are choosing to interpret nested <i> tags as not italic. Is it that common an HTML error?
Nested <i> tags are technically legal, though a bit odd. I try to explain:

HTML5 uses heavy use of what's caled semantic HTML. So while <em> is used for convey "stress emphasis" (e.g. noting something is very important ), <i> is supposed to convey an "alternate voice or mood" (e.g. technical terms, character thoughts, etc). The semantic distinction is mostly for users of screenreaders— <em> changes inflection, but <i> doesn't.

So while nesting <em> is meant to be even greater emphasis, there's no real definitive of what a nested <i> is actually supposed to convey. But it does create a separate element and italics can't be made more italic (unlike strong/bold text), so it's not surprising that they would be de-italicized instead.

Last edited by ownedbycats; 02-26-2021 at 04:10 AM.
ownedbycats is offline   Reply With Quote
Old 02-25-2021, 07:48 PM   #5564
idiom6
Enthusiast
idiom6 plays well with othersidiom6 plays well with othersidiom6 plays well with othersidiom6 plays well with othersidiom6 plays well with othersidiom6 plays well with othersidiom6 plays well with othersidiom6 plays well with othersidiom6 plays well with othersidiom6 plays well with othersidiom6 plays well with others
 
Posts: 45
Karma: 2814
Join Date: Oct 2020
Device: Kindle
Quote:
Originally Posted by JimmXinu View Post
New Test Version Posted

It's not hugely difficult to use Calibre's Edit Book and a couple find-and-replace's to fix it.
Guess I'll have to. There are literally hundreds of these tags throughout the fic text.
idiom6 is offline   Reply With Quote
Old 02-25-2021, 09:50 PM   #5565
ravendm5
Junior Member
ravendm5 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Feb 2021
Device: none
Quote:
Originally Posted by firefoxxy View Post
You have to open the FFF menu and select 'Configure FanFicFare'. (Sorry, using non-English version)

A new window opens inside calibre. Navigate to the tab 'personal.ini'. There, klick on the first button (personal.ini).

Copy "use_ssl_unverified_context" into the field and hit 'search'. This takes you to the entry in your ini, where you change
Code:
use_ssl_unverified_context:true
to
Code:
use_ssl_unverified_context:false
Thank you for your help with this. I don't even see that line in the personal.ini but it seems like a previous comment about restarting in debug mode is working for now.
ravendm5 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 02:13 AM.


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