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 Yesterday, 02:14 PM   #12106
Redevil387
Junior Member
Redevil387 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: May 2016
Device: calibre
My bad.
Here's one sfw link I tested:
https://ncode.syosetu.com/n3872bm/
Redevil387 is offline   Reply With Quote
Old Yesterday, 03:52 PM   #12107
DragoLord19d
Member
DragoLord19d began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Apr 2019
Device: Ipad
I'm getting a weird error after downloading

calibre, version 9.9.0
ERROR: Loading book failed: Failed to open the book at C:\Users\Owner\OneDrive\Documents\Calibre\Silver Gambit\With Key in Hand (3037)\With Key in Hand - Silver Gambit.epub. Click "Show details" for more info.

Failed to convert book: C:\Users\Owner\OneDrive\Documents\Calibre\Silver Gambit\With Key in Hand (3037)\With Key in Hand - Silver Gambit.epub with error:
calibre_plugins.comicvine.utils:228: SyntaxWarning: "\d" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\d"? A raw string is also an option.
calibre_plugins.comicvine.utils:228: SyntaxWarning: "\g" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\g"? A raw string is also an option.
calibre_plugins.comicvine.utils:234: SyntaxWarning: "\s" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\s"? A raw string is also an option.
calibre_plugins.fantastic_fiction.__init__:96: SyntaxWarning: "\." is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\."? A raw string is also an option.
calibre_plugins.fantastic_fiction_adults.__init__: 128: SyntaxWarning: "\." is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\."? A raw string is also an option.
DragoLord19d is offline   Reply With Quote
Advert
Old Yesterday, 04:52 PM   #12108
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,478
Karma: 5007337
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by DragoLord19d View Post
I'm getting a weird error after downloading

calibre, version 9.9.0
ERROR: Loading book failed: Failed to open the book at C:\Users\Owner\OneDrive\Documents\Calibre\Silver Gambit\With Key in Hand (3037)\With Key in Hand - Silver Gambit.epub. Click "Show details" for more info.

Failed to convert book: C:\Users\Owner\OneDrive\Documents\Calibre\Silver Gambit\With Key in Hand (3037)\With Key in Hand - Silver Gambit.epub with error:
calibre_plugins.comicvine.utils:228: SyntaxWarning: "\d" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\d"? A raw string is also an option.
calibre_plugins.comicvine.utils:228: SyntaxWarning: "\g" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\g"? A raw string is also an option.
calibre_plugins.comicvine.utils:234: SyntaxWarning: "\s" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\s"? A raw string is also an option.
calibre_plugins.fantastic_fiction.__init__:96: SyntaxWarning: "\." is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\."? A raw string is also an option.
calibre_plugins.fantastic_fiction_adults.__init__: 128: SyntaxWarning: "\." is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\."? A raw string is also an option.
Are you in the correct thread? None of those errors are from FFF.
JimmXinu is offline   Reply With Quote
Old Yesterday, 05:55 PM   #12109
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 14,003
Karma: 82524140
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Additionally, the messages about invalid escape sequences is a warning to the developer and not affecting you.
PeterT is offline   Reply With Quote
Old Yesterday, 06:14 PM   #12110
DragoLord19d
Member
DragoLord19d began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Apr 2019
Device: Ipad
Quote:
Originally Posted by JimmXinu View Post
Are you in the correct thread? None of those errors are from FFF.
My apologies.
DragoLord19d is offline   Reply With Quote
Advert
Old Yesterday, 06:17 PM   #12111
DragoLord19d
Member
DragoLord19d began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Apr 2019
Device: Ipad
Ah. Well I was getting it whenever I used FFF so I figured I should ask you first
DragoLord19d is offline   Reply With Quote
Old Yesterday, 06:39 PM   #12112
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,478
Karma: 5007337
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Redevil387 View Post
My bad.
Here's one sfw link I tested:
https://ncode.syosetu.com/n3872bm/
Maybe something smaller next time if possible? That story contains 452 chapters and 3388 images.

I launched a download of it using CLI (my usual initial test platform) and left. +40minutes later it finished without any problems. For completeness sake, I tried a few chapters in Calibre.

To my surprise, images did fail there. It's pretty uncommon for CLI and plugin to differ like that.

Looking in the log and epub, it reports Invalid URL 'https:////10539.mitemin.net/userpageimage/viewimagebig/icode/i110766/': No host supplied. With //// instead of //.

Looking at the source site, the images are given as <img src="//10539.mitemin.net/userpageimage/viewimagebig/icode/i110766/"

FFF has code to handle such cases and prepend the appropriate scheme (https usually). But python's built-in urlunparse is behaving differently in plugin vs cli? That sounds like python version shenanigans. And Calibre 9.9 is running Python 3.14.5 while I still have 3.12.0.


And sure enough, the python gods apparently changed urlunparse() in 2024.

It's only showing up now because it's not an issue for us except when the url starts with '//', and, I assume, Calibre didn't update python immediately.


I believe I see how to fix this. I made assumptions about how urlunparse() works when given a 'location' that also includes then 'netloc'(aka domain name).

But I need to look at everywhere FFF uses urlunparse() and do some testing.
JimmXinu is offline   Reply With Quote
Old Yesterday, 06:41 PM   #12113
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,478
Karma: 5007337
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
DragoLord19d - no problem.

Although I wonder why your posts are requiring moderation...
JimmXinu is offline   Reply With Quote
Old Yesterday, 08:00 PM   #12114
DragoLord19d
Member
DragoLord19d began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Apr 2019
Device: Ipad
Quote:
Originally Posted by JimmXinu View Post
DragoLord19d - no problem.

Although I wonder why your posts are requiring moderation...
I only post once a blue moon so I'm treated like a bot
DragoLord19d 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 546 05-21-2026 02:44 PM
[GUI Plugin] Open With kiwidude Plugins 405 02-09-2026 07:54 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 07:43 AM.


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