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-02-2023, 10:19 PM   #7876
Atherton25
Zealot
Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.
 
Posts: 124
Karma: 3804
Join Date: May 2016
Device: Kindle Oasis 2
Thanks. Knowing what it was, I got the first 15 then manually added chapter 16. Once I'd done that everything worked when I tried to update it. I wonder how all that nesting happens, if it's a bug in their software or something imported that does that shit.
Atherton25 is offline   Reply With Quote
Old 01-02-2023, 10:40 PM   #7877
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
As near as I can tell, converting a BeautifulSoup4 (4.10.0 to be exact) soup back to a text (str(soup)) in Calibre 6.10.0 some how crashes out instead of raising the appropriate RecursionError.

But trying it in Calibre 5.44 (BS4 version:4.9.1) does raise the error appropriately.

I forced my CLI python install to BeautifulSoup4 v4.10.0 and it worked as expected, raising RecursionError, suggesting it's something Calibre specific, not BS4.10.

This is not, apparently, limited to Calibre background job procs either. Running it in the foreground will also immediately cause the Calibre GUI to exit without any warning or details, even in debug mode.

I've opened a calibre bug(2000888) to bring this to Kovid's attention.
JimmXinu is offline   Reply With Quote
Advert
Old 01-03-2023, 03:17 PM   #7878
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,991
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by criscros View Post
I have a couple of webnovels that have been stubbed, so now FFF won't update because the chapters are different. If I do overwrite always, I lose the missing chapters.
Is there a way to update and not lose chapters?
Quote:
Originally Posted by ownedbycats View Post
I'd suggest just renaming to FanficTitle (Old Version) and downloading new; often removed chapters are indicative of big rewrites.
Quote:
Originally Posted by criscros View Post
Makes sense. Even though I probably wouldn't reread the rewrite, I'd like the old chapters to be able to back reference things.
Thanks!
Just had a similar incident. The author had completed a fanfic, and removed one chapter midway through. As I didn't want to mess up my Kobo bookmarks, here's what I did:

1. Save a copy of the existing epub outside of Calibre.
2. Run 'overwrite always' on the fanfic.
3. Open both copies in ebook-edit. Take the last chapter of the overwritten version, rename it, and copy it to the other version.
4. Make other changes in the backed-up copy (table of contents, title page, etc).
5. Copy the modified backed-up copy back into Calibre. Fix the chapter numbers.

Two caveats:
1. This won't work for further updates. This fic was completed.
2. The word count on the title page will be wrong, if that bothers you much.
ownedbycats is offline   Reply With Quote
Old 01-04-2023, 03:27 AM   #7879
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,188
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Hi,

I've noticed that my custom column for "genre" doesn't seem to be working for restricted access stories on A03.

I'm getting other information from the metadata for the restricted access stories, like "Characters," "Warnings," "Relationships," "Challenges," and "Categories." However, the "Additional Tags" information isn't downloading into my "genre" custom column.

These are my settings in my personal.ini.

Code:
extra_valid_entries:fandoms,comments,kudos,collections,freeformtags,freefromtags,ao3categories,chapterslashtotal

include_in_genre: freeformtags

custom_columns_settings:
 genre=>#newgenre,r
Here is a link to a restricted access story that has "Additional tags:" https://archiveofourown.org/works/37166770

Please let me know if you require any additional information.

Thanks,
Amalthia
Amalthia is offline   Reply With Quote
Old 01-04-2023, 04:55 AM   #7880
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,991
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Speaking of AO3 authors and restricted access, I just found out a day or two ago that a lot of authors are putting their stories behind the login barrier because there's a publisher scraping AO3 fics to sell on various sites. (Amazon's pulled them down, at least.)
ownedbycats is offline   Reply With Quote
Advert
Old 01-04-2023, 09:45 AM   #7881
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 JimmXinu View Post
As near as I can tell, converting a BeautifulSoup4 (4.10.0 to be exact) soup back to a text (str(soup)) in Calibre 6.10.0 some how crashes out instead of raising the appropriate RecursionError.
...
I've opened a calibre bug(2000888) to bring this to Kovid's attention.
FYI, Kovid's dealt with this, it was an issue with the windows version using a smaller stack size by default. Next version of Calibre should correctly raise RecursionError again.

Note that this won't fix the issue with too many nested tags--it will just report it correctly. Will allow continue_on_chapter_error:true to handle it.
JimmXinu is offline   Reply With Quote
Old 01-04-2023, 10:09 AM   #7882
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 Amalthia View Post
I've noticed that my custom column for "genre" doesn't seem to be working for restricted access stories on A03.
For a while, I thought I was seeing this, too. But it turns out I had the lookup name of the column wrong (#newgenre vs #newgenres). Once that was corrected, it worked fine.

So all I can suggest is double & triple checking your column name...
JimmXinu is offline   Reply With Quote
Old 01-04-2023, 11:18 AM   #7883
criscros
Fulltime reader
criscros can eat soup with a fork.criscros can eat soup with a fork.criscros can eat soup with a fork.criscros can eat soup with a fork.criscros can eat soup with a fork.criscros can eat soup with a fork.criscros can eat soup with a fork.criscros can eat soup with a fork.criscros can eat soup with a fork.criscros can eat soup with a fork.criscros can eat soup with a fork.
 
Posts: 44
Karma: 9296
Join Date: Mar 2021
Device: Kobo Clara
Quote:
Originally Posted by ownedbycats View Post
1. This won't work for further updates. This fic was completed.
The stubbed ones I'm following are ongoing, so easier to have a copy before the stub. I've edited several other fics, so at some point I may combine what I have. Thanks!
criscros is offline   Reply With Quote
Old 01-04-2023, 02:34 PM   #7884
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,188
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by JimmXinu View Post
For a while, I thought I was seeing this, too. But it turns out I had the lookup name of the column wrong (#newgenre vs #newgenres). Once that was corrected, it worked fine.

So all I can suggest is double & triple checking your column name...
Hi,

If the lookup name was incorrect, wouldn't it fail for all A03 downloads? Right now, it's working for non-restricted stories. It's only failing to download genre information for restricted stories.

Thanks,
Amalthia
Amalthia is offline   Reply With Quote
Old 01-04-2023, 03:06 PM   #7885
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 Amalthia View Post
If the lookup name was incorrect, wouldn't it fail for all A03 downloads? Right now, it's working for non-restricted stories. It's only failing to download genre information for restricted stories.
A good point.

Do you use always_login:true for AO3? If not, does it change things if you temporarily set that?

Do you use a customized AO3 site skin? That might change things enough to break parsing...
JimmXinu is offline   Reply With Quote
Old 01-04-2023, 03:21 PM   #7886
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,188
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by JimmXinu View Post
A good point.

Do you use always_login:true for AO3? If not, does it change things if you temporarily set that?

Do you use a customized AO3 site skin? That might change things enough to break parsing...

I changed my AO3 setting from always_login:false to always_login:true and downloaded the restricted story, it didn't fill in the genre information. Everything else came through though.

Amalthia
Amalthia is offline   Reply With Quote
Old 01-04-2023, 04:04 PM   #7887
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,188
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by JimmXinu View Post
A good point.

Do you use a customized AO3 site skin? That might change things enough to break parsing...
I'm using the default AO3 site skin.
Amalthia is offline   Reply With Quote
Old 01-04-2023, 04:56 PM   #7888
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 Amalthia View Post
I changed my AO3 setting from always_login:false to always_login:true and downloaded the restricted story, it didn't fill in the genre information. Everything else came through though.
What about other stories that aren't restricted? Do they get genre while logged in?

UPDATE: Another question: Do you see the Genre correctly in the title page inside the book? (Assuming you display it, it is by default.)

Last edited by JimmXinu; 01-04-2023 at 05:01 PM.
JimmXinu is offline   Reply With Quote
Old 01-04-2023, 06:10 PM   #7889
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,991
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
another thought. from the default.ini:

Code:
## (Plugin Only) - You can also populate calibre custom columns with
## the site specific metadata using custom_columns_settings (but only
## if 'Allow custom_columns_settings from personal.ini' is checked in
## the plugin GUI config.)  There are three parts, the entry name,
## then the label of the calibre custom column, then (optionally) a
## 'mode'.  'r' to Replace any existing values, 'a' to Add to existing
## value (use with tag-like columns), and 'n' for setting on New books
## only.  (Default is 'r'.)
do you get different results with 'a' rather than 'r'?
ownedbycats is offline   Reply With Quote
Old 01-04-2023, 11:44 PM   #7890
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
Amalthia, you might try running Calibre in Debug mode (under Preferences dropdown) while downloading and we'll see if there's any clues in the debug log.
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 09:37 PM.


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