![]() |
#7876 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
![]() |
#7877 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
Advert | |
|
![]() |
#7878 | |||
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,991
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
Quote:
Quote:
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. |
|||
![]() |
![]() |
![]() |
#7879 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 Please let me know if you require any additional information. Thanks, Amalthia |
![]() |
![]() |
![]() |
#7880 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.)
|
![]() |
![]() |
Advert | |
|
![]() |
#7881 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
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. |
|
![]() |
![]() |
![]() |
#7882 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
So all I can suggest is double & triple checking your column name... |
|
![]() |
![]() |
![]() |
#7883 |
Fulltime reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44
Karma: 9296
Join Date: Mar 2021
Device: Kobo Clara
|
|
![]() |
![]() |
![]() |
#7884 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,188
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
Quote:
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 |
|
![]() |
![]() |
![]() |
#7885 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
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... |
|
![]() |
![]() |
![]() |
#7886 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,188
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
Quote:
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 |
|
![]() |
![]() |
![]() |
#7887 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,188
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
|
![]() |
![]() |
![]() |
#7888 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
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. |
|
![]() |
![]() |
![]() |
#7889 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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'.) |
![]() |
![]() |
![]() |
#7890 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
![]() |
Tags |
fanfiction |
|
![]() |
||||
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 |