![]() |
#541 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: May 2015
Device: Kindle 4
|
![]()
Hi there.
I've been trying to update a fanfic (http://archiveofourown.org/works/414...apters/9356727) that I had on my library but it failed to download. I thought it was something with my internet connection so I deleted it and tried to download it again. However this is the message I'm getting now: Code:
'utf8' codec can't decode byte 0xf3 in position 77: invalid continuation byte Any ideas? ![]() Thank you. |
![]() |
![]() |
![]() |
#542 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
Hi Jim. I have a problem with Fanfiction.net.
I have the following lines in my personal.ini but they don't seem to be working very well, is there a specific order for how they should be posted? I have all the correct columns but it doesn't change the ampersand to the §. Code:
join_string_characters:\s&\s join_string_ships:\s&\s join_string_category:\s&\s keep_in_order_ships:true keep_in_order_category:true keep_in_order_characters:true include_subject_tags:genre add_genre_when_multi_category: Crossover replace_metadata: category=>Dharma & Greg=>Dharma § Greg |
![]() |
![]() |
Advert | |
|
![]() |
#543 |
Occassional Beta Tester
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 284
Karma: 3516
Join Date: Nov 2010
Location: Hungary
Device: none
|
Hi Jimm,
I tried to download a story off the hpfandom site, and got this error: 'NoneType' object has no attribute 'findParent' http://www.hpfandom.net/eff/viewstory.php?sid=49212 |
![]() |
![]() |
![]() |
#544 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
I've coded changes that I think address the mediaminer changes. I'm going to take a quick look at the other posted issues before uploading a test version, though.
|
![]() |
![]() |
![]() |
#545 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Code:
replace_metadata: category=>Dharma & Greg=>Dharma § Greg |
|
![]() |
![]() |
Advert | |
|
![]() |
#546 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
That seemed to do the trick
![]() |
![]() |
![]() |
![]() |
#547 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Unlike most sites, hpfandom.net doesn't use the 'storyId' in each chapter URL. I'm looking into how that might be worked around, but there are difficulties. |
|
![]() |
![]() |
![]() |
#548 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Also, if you see the problem in a story that isn't 126 chapters with nearly 500 images, it would make it a lot easier to trouble shoot. I was able to download it successfully, but it's so big I'm not going to try more than once right now. |
|
![]() |
![]() |
![]() |
#549 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
|
![]() |
![]() |
![]() |
#550 | |
Occassional Beta Tester
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 284
Karma: 3516
Join Date: Nov 2010
Location: Hungary
Device: none
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#551 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Sep 2015
Device: Kindle Voyage
|
Fanfiction.de
Hi Jim,
Today I tried FFF for the first time on www.fanfiction.de. Example: Chroniken der letzten Hochkönigin FFF v2.2.12, Calibre 2.36Marlos-Mehilwa HTTP Error 403: Forbidden http://www.fanfiktion.de/s/50b8e0210002b86a06700fa0/1 Error After this trial I was banned via flood protection. The funny thing... earlier today I succeeded with 8 out of 20 Articles. Is there a way to finetune the time-outs? Thanks a lot & kind regards from Germany, Jens |
![]() |
![]() |
![]() |
#552 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Without hitting the server, FFF can't tell that the URL given is for a later chapter, not the start of the story. There's at least three ways that causes problems. First, I can modify the site adapter to figure that the URL given isn't the 'story' URL. I have this code in hand and it allows downloads using chapter URLs. Second, the plugin would need to be changed to allow the story URL to be changed after metadata fetch. For virtually all other sites, a 'normalized' story URL can be made without hitting the site and that's what's stored in the calibre DB. Third, the Reject URL list check as is will not work correctly when you give a chapter URL. The reject list check would have to be later in the processing, changing the behavior and possibly causing other problems. Perusing the existing code, however,, there are a small number of other site adapters that also set the story URL after fetching data. So I guess I'll have to think about this more deeply and come up with an actual solution. ![]() |
|
![]() |
![]() |
![]() |
#553 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
http://www.fanfiktion.de/s/50b8e0210002b86a06700fa0/1 has 514 chapters. If the others were that long, I'm not surprised you tripped a flood detector.
Yes, you can set the sleep time between network requests in personal.ini: Code:
[www.fanfiktion.de] ## number of seconds to sleep between calls to the story site. May by ## useful if pulling large numbers of stories or if the site is slow. slow_down_sleep_time:2.5 |
![]() |
![]() |
![]() |
#554 |
e-Bibliophile
![]() Posts: 60
Karma: 10
Join Date: Jun 2009
Location: California
Device: Paperwhite 1-3, Kobo AuraHD, Boox Afterglow2
|
Adding a custom column entry on the title page doesn't seem to be working for me. I am not sure exactly when it quit working correctly, but I noted dates I could find below. I updated to the latest beta release just in case to see if it was something that hadn't been noted and repaired at some point, and that didn't help. Here is the problem and my process I've tried.
Something changed between July 7/18 and 7/25 that caused problems with the entry. I hadn't really noticed it because most of the time I was out of town and didn't spend time trying to troubleshoot it when I noticed the issue. I went back and found the date the last time it worked, (7/18) and the next time I updated something from one of the websites I use it for (7/25). Next, I went into the threads to find out if something had changed, and it had apparently. Instead of the original command "add_to_titlepage_entries:,calibre_cust_words" words being the #column name (without #) apparently, according to a later post it is: "extra_titlepage_entries: calibre_cust_words". I made the modification to the new option and nothing changed. When I do an update the last entry on a titlepage is now calibre_cust_words, this is in the line after the summary. I actually tried both of the options together " add_to_titlepage_entries:,calibre_cust_words extra_titlepage_entries: calibre_cust_words " ... and get (as the last entry) "calibre_cust_wordscalibre_cust_words" so I'm not sure what's happening, as both options (add_to_titlepage_entries and extra_titlepage_entries) seem to add an entry to the title page, but it's not working with that column name. I also tried another column instead of words, two separate ones and in each case the had an entry called misc (a misc column I use for notes, and a column called stage) and it did the same thing, showing "calibre_cust_misc" or "calibre_cust_stage" as the last entry on the titlepage, but not actually showing the data in the column. I even tried adding a #in front of the column name just in case. Same situation. So now, after trying all those different options I'm stuck and I've come here for help. Has something changed that I missed? Or is this specific to me? add note: hot damn that's a lot of chapters in the above mentioned fanfic. edit: fixed specifics in first sentences. Last edited by mehetabelo; 09-08-2015 at 08:56 PM. |
![]() |
![]() |
![]() |
#555 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
As for extra_titlepage_entries: calibre_cust_words vs add_to_titlepage_entries:,calibre_cust_words, they are slightly different ways to allow additional configuration without replacing lengthy default lines. They were added at different times. You almost certainly should be using one or the other, but not both. The extra_* params came first and only work on a few ini params. In this case, titlepage_entries. When titlepage_entries is used, both titlepage_entries and extra_titlepage_entries are fetched and concatenated. Both follow the ordinary section precedence rules for FFF ini params. The ordinary precedence order for sections (using epub from dramione.org as an example) from least to most is:
A param key word in [defaults] is the most general version and will be 'overwritten' by the same key word in any lower section. The param key word in [overrides], the highest precedence section, beats everything else. (It actually works by looking in each section from [overrides] to [defaults] and stopping at the first one it finds.) So you can set extra_titlepage_entries in [dramione.org] without overwriting titlepage_entries from [defaults]. But only once. If you set extra_titlepage_entries in [epub], it overwrites the version from [dramione.org] The 'add_to_' mechanism was added later to both generalize it for all ini params and add more flexibility to allow more specific sections to 'add to' the ini params from more general sections without having to repeat everything. The interesting part is that each section's add_to_s are applied and from most general to most specific: Here's an example from my own personal.ini: Code:
[defaults] add_to_replace_metadata: genre=>Comedy=>Humor category=>StarTrek=>Star Trek category=>Warhammer 40,000=>Warhammer 40k [epub] add_to_replace_metadata: fulldownload=>^.*$=>Yes [forums.spacebattles.com] add_to_replace_metadata: title=>Wail of the Banshee 3: Boxhead Blues and the Zombocalypse=>Wail of the Banshee Code:
replace_metadata: #from [defaults] genre=>Comedy=>Humor category=>StarTrek=>Star Trek category=>Warhammer 40,000=>Warhammer 40k #from [forums.spacebattles.com] title=>Wail of the Banshee 3: Boxhead Blues and the Zombocalypse=>Wail of the Banshee #from [epub] fulldownload=>^.*$=>Yes This really isn't as complex in practice as it is to explain. The code for it is only a few lines. |
|
![]() |
![]() |
![]() |
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 |