![]() |
#1066 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,987
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
|
|
![]() |
![]() |
![]() |
#1067 |
Zealot
![]() Posts: 105
Karma: 10
Join Date: Nov 2012
Location: Germany
Device: Kobo Libra 2
|
Hello Jim!
Since the error occurred with another story on AO3, I added it in the test run. The story link is here: the second link I attached the log file. Hope this helps. |
![]() |
![]() |
![]() |
#1068 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,987
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
If you can't find it, I can look at your replace_metadata code. I will also investigate adding code to give a more specific error for this problem. |
|
![]() |
![]() |
![]() |
#1069 |
Zealot
![]() Posts: 105
Karma: 10
Join Date: Nov 2012
Location: Germany
Device: Kobo Libra 2
|
Thank you Jim!
Yes, that solved it. I had changed some lines in the replace_metadata just before downloading the stories. I have this line in my personal.ini that you suggested: Code:
ships_CHARS=>^(Uchiha|Uzumaki|Haruno|Hyuuga|Hatake|Namikaze) *([^ ]+)$=>\2 Code:
genre=>^([aA]ngst) and (.*)$=>Angst\,\2 genre=>^[mM]ild (.*)=>\2 ![]() (My understanding of coding is clearly lacking.) Thank you for your help, Jim! |
![]() |
![]() |
![]() |
#1070 |
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 tried downloading a story from the hexfiles and the metadata is created, the chapters are there, but none of the text from the story is generated.
This is the link I'm using to download the story into calibre: http://www.thehexfiles.net/viewstory.php?sid=125 I've attached the story to this comment so you can see what I'm seeing. I'd appreciate any and all help in figuring this out. Best Regards, Amalthia |
![]() |
![]() |
![]() |
#1071 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,987
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
New test version posted (direct link) 2016-02-20 - Fix for adapter_thehexfilesnet missing chapter text. |
|
![]() |
![]() |
![]() |
#1072 |
Zealot
![]() Posts: 132
Karma: 10
Join Date: Oct 2015
Device: Sony Reader, Tolino Shine, Samsung Galaxy S3
|
Just a quick but probably dumb question I have to ask for my peace of mind:
Regarding ship2chars. I've had in my ini for a while now lines like this: Spoiler:
I've preferred to use ^ and $ instead of, for example, "\b" to make sure I don't get duplications or otherwise faulty renamings. Since I never noticed any problems with that, I assumed it would be ok. Now however, I have noticed a problem. It's thanks to this link: http://archiveofourown.org/works/86535 I've downloaded it and later realized I already had it in my library. But, in doing so I also realized that in this new downloaded version I did not have anything in my characters field. Had it not been for the previously downloaded version, I would not have noticed this lack. Because, just the day before I'd downloaded a few fics from ffnet and was disappointed to realize that if the fic doesn't already have anything in the genre/character/ships fields, replace_metadata won't be able to add anything to them. (Yes, should be obvious, true, but apparently not. ![]() Strangely, this here: Spoiler:
is actually one of those things that work half the time and the other half not. No idea why. Similarly, just this alone won't work either: Spoiler:
Anyway, tl;dr: Does using ^$ in ships make the splitting of ships2chars impossible? (Has it always been so and I've just not noticed?) Or is it just me? Just so I know if I need to go over my ini and replace those with another regex. |
![]() |
![]() |
![]() |
#1073 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,987
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Code:
[archiveofourown.org] add_to_extra_valid_entries:,ships2chars include_in_ships2chars:ships.NOREPL # NOREPL prevents any ships patterns from being applied to ships2chars. add_to_replace_metadata: # ships=>(.*)\/^Rodney McKay$=>Rodney McKay/\1 # is never going to work because the '^' is misplaced # I suggest this to get versions w/ & w/o spaces: ships=>^([^/&]+)[ ]*/[ ]*Rodney McKay$=>Rodney McKay/\1 ships2chars=>[ ]*/[ ]*=>/ ships2chars=>[ ]*&[ ]*=>/ ships2chars=>([^/]+)/([^/]+)/([^/]+)/(.+)=>\1\,\2\,\3\,\4 ships2chars=>([^/]+)/([^/]+)/(.+)=>\1\,\2\,\3 ships2chars=>([^/]+)/(.+)=>\1\,\2 include_in_characters:characters,ships2chars Nitpick: You don't need to escape '/'s in the regexp patterns. So you can use just '/' vs '\/'. OTOH, I it doesn't hurt anything. |
|
![]() |
![]() |
![]() |
#1074 | |
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:
Thank you so much for your help. Amalthia |
|
![]() |
![]() |
![]() |
#1075 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Feb 2016
Device: none
|
StoriesOnline.net problems
I tried downloading from StoriesOnline.net, but I'm getting either "'NoneType' object has no attribute 'get_text'" (http://storiesonline.net/s/76055) or "'NoneType' object has no attribute 'find'" (http://storiesonline.net/s/46707).
Thanks, apm |
![]() |
![]() |
![]() |
#1076 |
e-Bibliophile
![]() Posts: 60
Karma: 10
Join Date: Jun 2009
Location: California
Device: Paperwhite 1-3, Kobo AuraHD, Boox Afterglow2
|
APM: I just checked that link and (with latest release) I'm getting no problems. I do not have the test versions though, but I'm not sure that would cause a problem, as I didn't see any changes for storiesonline.
Now, the reason I logged in. I noticed a couple of stories that are available on finestories.com and not storiesonline.net. As I understand they are exactly the same site, though one (finestories) leaves out most of the sex stories. Is it possible, with a minor change, to include finestories as a download option? I considered digging into the code and trying to add it myself, but that would mean spending a lot of time looking through things I don't grasp well. It may be a simple tweak that someone can do without a second thought, that's why I ask here before trying to figure it out myself. |
![]() |
![]() |
![]() |
#1077 | ||
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,987
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
If you continue to have problems, make sure that you are using the default site skin. After that, please run calibre in debug and post a log file if it still fails. Quote:
An initial look does suggest that finestories.com is similar to storiesonline.net now, but I'll have to spend some time looking more closely before I know for sure. |
||
![]() |
![]() |
![]() |
#1078 | |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Feb 2016
Device: none
|
Quote:
|
|
![]() |
![]() |
![]() |
#1079 | |||
Zealot
![]() Posts: 132
Karma: 10
Join Date: Oct 2015
Device: Sony Reader, Tolino Shine, Samsung Galaxy S3
|
Quote:
![]() Quote:
![]() Quote:
Spoiler:
should pose no problem, shouldn't it? Because, again using this story as an example case, using a line like the above means it will make the replacement, but the ships will not be split into characters. My characters field remains empty. |
|||
![]() |
![]() |
![]() |
#1080 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
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 |