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 07-18-2022, 05:42 PM   #7336
ILB
Groupie
ILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipse
 
ILB's Avatar
 
Posts: 173
Karma: 8098
Join Date: Jun 2012
Location: Germany
Device: Kindle Voyage, Kindle Oasis
Quote:
Originally Posted by ownedbycats View Post
A question of my own: I have a fanfic that's just several unrelated oneshots. I'd like to separate them.

EpubSplit will work, but is there an option in ffnet itself to work with this?
You could try to download each chapter as a separate story?

storyURL[1]
storyURL[2]
storyURL[...]

Click image for larger version

Name:	Bild1.png
Views:	349
Size:	22.4 KB
ID:	195117
ILB is offline   Reply With Quote
Old 07-18-2022, 06:48 PM   #7337
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 ILB View Post
You could try to download each chapter as a separate story?

storyURL[1]
storyURL[2]
storyURL[...]

Attachment 195117
True, but updates are basically impossible then. And you have to use 'Add New' as the update mode.
JimmXinu is offline   Reply With Quote
Old 07-18-2022, 09:53 PM   #7338
Asheron
Junior Member
Asheron began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2022
Device: none
Thank you so much! This code worked for me.

Sadly the keep_in_order doesn't work. It keeps sorting them alphabetically.

Also if there's only one type of ship (only romships) in a fic then the other one (platships) gets the same info that the other one. Is there a way to put the word None when that fic doesn't have a type of ship?


Ps. Thank you for the links and Saved Metadata Column tip.


Quote:
Originally Posted by JimmXinu View Post
multi-reply



FFF doesn't have an easy way to do that. But it does have a complicated way.

This works for me, but read the comments and try to understand it; I make no promises you can just paste it in your config and have everything work.

Code:
## could be under [archiveofourown.org] instead, but I believe there are 
## some other sites that use / and & ships conventions.
[defaults]

# create a couple new metadata entries
add_to_extra_valid_entries:,romships,platships

# label them (used with titlepage and logpage)
romships_label:Romantic Relationships
platships_label:Platonic Relationships

# copy standard entry ships into them
include_in_romships:ships
include_in_platships:ships

# only include / ships in romships and & ships in platships.
# & because HTML
add_to_include_metadata_post:
 romships=~/
 platships=~&

# optional: add romships and platships to the titlepage 
# inside the ebook.
add_to_titlepage_entries:,romships,platships

# Set romships and platships to your custom columns.
# change #romshipscol and #platshipscol to match the 
# lookup names for your custom columns
add_to_custom_columns_settings:
 romships=>#romshipscol
 platships=>#platshipscol

# don't sort ships, romships or platships
keep_in_order_ships:true
keep_in_order_romships:true
keep_in_order_platships:true
Note that there's a checkbox at the bottom of the FFF config settings Custom Columns tab "Allow custom_columns_settings from personal.ini to override", that must be checked.

There are a number of wiki pages that explain more about what the settings above mean. See:

https://github.com/JimmXinu/FanFicFare/wiki/INI-File
https://github.com/JimmXinu/FanFicFa...etadataFeature
https://github.com/JimmXinu/FanFicFa...dataManagement

...

ADDENDUM

Asheron: While testing metadata settings for Calibre columns, it helps a lot to have setup a Saved Metadata Column and use "Update Calibre Metadata from Save Metadata Column" mode. That way you're not hitting the site every time.
Asheron is offline   Reply With Quote
Old 07-18-2022, 10:43 PM   #7339
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 Asheron View Post
Sadly the keep_in_order doesn't work. It keeps sorting them alphabetically.
keep_in_order is working for me.

Be aware, if your custom column type is "Comma separated text, like tags", Calibre will be ordering it for you.

Use column type "Text, column shown in tag browser" to preserve order.

Use the add_to_titlepage_entries setting, then look at the title page--that will tell you if keep_in_order is working.

Quote:
Originally Posted by Asheron View Post
Also if there's only one type of ship (only romships) in a fic then the other one (platships) gets the same info that the other one. Is there a way to put the word None when that fic doesn't have a type of ship?
I'm not seeing that.

What I do see, is that if platships or romships reduces to nothing, FFF doesn't clear the custom column if it already has a value. I would speculate you have left over values from previous testing? Clear the columns, then try again.

FYI, that's a side effect of how FFF treats empty metadata entry strings in general and, as I recall, was declared a-feature-not-a-bug years ago because then it's easy to manually enter a value for such columns and not have it wiped on update.

If you really want to, you can change add_to_custom_columns_settings to set your columns to "None" and only override that when there is a value like so:
Code:
add_to_custom_columns_settings:
 "None"=>#romshipscol
 "None"=>#platshipscol
 romships=>#romshipscol
 platships=>#platshipscol
But it's not a great idea, from a database theory point of view. Empty cell already indicates "None".
JimmXinu is offline   Reply With Quote
Old 07-19-2022, 10:04 AM   #7340
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
New Test Version Posted

2022-07-19
- Use cal6 icon theme system to allow plugin icon customization.

FFF only has one custom icon, but it uses several of the 'standard' Calibre icons. Now it should use installed icon themes and icon themes can include a custom icon for FFF specifically (FanFicFare/images/icon.png). Only for Calibre 6+.
JimmXinu is offline   Reply With Quote
Old 07-20-2022, 02:58 PM   #7341
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
New Test Version Posted

2022-07-20
- Use cal6 icon theme system to allow plugin icon customization--but don't require pluginname/images/

FFF only has one custom icon, but it uses several of the 'standard' Calibre icons. Now it should use installed icon themes and icon themes can include a custom icon for FFF specifically (FanFicFare/icon.png). Only for Calibre 6+.

Note that until Cal 6.2 comes out, you will see extra stacktraces ending with KeyError: "There is no item named 'icon.png' in the archive" if you run Calibre in debug.
JimmXinu is offline   Reply With Quote
Old 07-23-2022, 12:58 AM   #7342
gthesob
Member
gthesob began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jul 2022
Device: none
Hi, lately FFF has been prompting for credentials on AO3. My credentials are and have been in the personal.ini with the adult modifier for quite a while so I don't understand why this has started happening. I can only assume it's a Calibre 6 issue. I don't follow many stories there so I'm not sure about the timing, but it feels right. I waited a bit to see if anyone else would ask about it and finally gave in to ask myself. Any ideas?

Thanks
gthesob is offline   Reply With Quote
Old 07-24-2022, 06:53 PM   #7343
Asheron
Junior Member
Asheron began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2022
Device: none
Quote:
Originally Posted by JimmXinu View Post
keep_in_order is working for me.

Be aware, if your custom column type is "Comma separated text, like tags", Calibre will be ordering it for you.

Use column type "Text, column shown in tag browser" to preserve order.

Use the add_to_titlepage_entries setting, then look at the title page--that will tell you if keep_in_order is working.
So keep_in_order is working on the title page. But not in the tags and book details. (see attachment)

I also changed the column type to "Text, column shown in tag browser" but now it reads all the ships like just one tag. (see attachment 2)

---

Clearing the columns worked.

Quote:
Originally Posted by JimmXinu View Post
I'm not seeing that.

What I do see, is that if platships or romships reduces to nothing, FFF doesn't clear the custom column if it already has a value. I would speculate you have left over values from previous testing? Clear the columns, then try again.
Attached Thumbnails
Click image for larger version

Name:	sreenshot.png
Views:	212
Size:	468.3 KB
ID:	195282   Click image for larger version

Name:	sreenshot 2.png
Views:	188
Size:	22.4 KB
ID:	195283  
Asheron is offline   Reply With Quote
Old 07-24-2022, 08:04 PM   #7344
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
Multi-reply

Quote:
Originally Posted by gthesob View Post
Hi, lately FFF has been prompting for credentials on AO3. My credentials are and have been in the personal.ini with the adult modifier for quite a while so I don't understand why this has started happening. I can only assume it's a Calibre 6 issue. I don't follow many stories there so I'm not sure about the timing, but it feels right. I waited a bit to see if anyone else would ask about it and finally gave in to ask myself. Any ideas?
I'm not seeing it, but then I also don't know that I have any AO3 stories that require login. And even if I did, I use always_login:true

If you are still seeing it happen, try running Calibre in debug mode (under the Preferences dropdown), the debug log will have more details that may be useful.

Quote:
Originally Posted by Asheron View Post
So keep_in_order is working on the title page. But not in the tags and book details. (see attachment)
With column type set to "Text, column shown in tag browser" and the metadata entries showing up in the title page unsorted, I don't know why it wouldn't be original order in the text column now. It works for me with the same story.

Either you have additional settings I don't know about affecting it, or don't have quite the same settings I do.

Quote:
Originally Posted by Asheron View Post
I also changed the column type to "Text, column shown in tag browser" but now it reads all the ships like just one tag. (see attachment 2)
Yes; it's a text column, not tags now (even if Calibre does still show it in the tag browser).

I'm not aware of a way to get Calibre to both treat a column as tags and not order the tags in it. You could look/ask in the Library Management subforum.

But I suspect you are going to have to decide which is more important to you, order or tags.
JimmXinu is offline   Reply With Quote
Old 07-25-2022, 06:55 PM   #7345
gthesob
Member
gthesob began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jul 2022
Device: none
I waited until today for my weekly update and, of course, it made me a liar. I've added always_login:true to my ini. Hopefully that's the end of it.

Thanks
gthesob is offline   Reply With Quote
Old 07-26-2022, 10:31 AM   #7346
gthesob
Member
gthesob began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jul 2022
Device: none
I spoke too soon. I tried updating http://archiveofourown.org/works/39316119 this morning and it's happened again.

In this log I have two attempts. The first update I cancelled without giving the credentials in case the fail log was useful and the second was successful after adding credentials.

Code:
FFF: DEBUG: 2022-07-26 07:18:37,657: calibre_plugins.fanficfare_plugin.fff_plugin(218): Plugin FanFicFare macmenuhack file_path:C:\Users\greg\AppData\Roaming\calibre\plugins\fanficfare_macmenuhack.txt
calibre Debug log
calibre 6.1  embedded-python: True
Windows-10-10.0.19044-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19044')
Python 3.10.1
Windows: ('10', '10.0.19044', 'SP0', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: FanFicFare (4, 14, 3)
calibre 6.1  embedded-python: True
Windows-10-10.0.19044-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19044')
Python 3.10.1
Windows: ('10', '10.0.19044', 'SP0', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: FanFicFare (4, 14, 3)
QPA platform: windows
devicePixelRatio: 1.75
logicalDpi: 96.0 x 96.0
physicalDpi: 79.95351506456241 x 79.95816326530613
Using calibre Qt style: True
[0.00] Starting up...
[0.00] Showing splash screen...
[0.12] splash screen shown
[0.12] Initializing db...
[0.14] db initialized
[0.14] Constructing main UI...
[0.89] main UI initialized...
[0.89] Hiding splash screen
Starting QuickView
FFF: DEBUG: 2022-07-26 07:19:58,893: calibre_plugins.fanficfare_plugin.fff_plugin(1129): FanFicFare v4.14.3
FFF: DEBUG: 2022-07-26 07:19:58,951: configurable.py(1044): use_browser_cache:
FFF: DEBUG: 2022-07-26 07:19:58,951: configurable.py(1058): use_basic_cache:true
FFF: INFO: 2022-07-26 07:19:58,951: adapter_archiveofourownorg.py(163): url: https://archiveofourown.org/works/39316119/navigate?view_adult=true
FFF: INFO: 2022-07-26 07:19:58,951: adapter_archiveofourownorg.py(164): metaurl: https://archiveofourown.org/works/39316119?view_adult=true
FFF: DEBUG: 2022-07-26 07:19:58,951: fetcher.py(234): 
========== MISS (GET) BasicCache
https://archiveofourown.org/works/39316119/navigate?view_adult=true
FFF: DEBUG: 2022-07-26 07:19:58,951: fetcher.py(469): 
---------- REQ (GET) RequestsFetcher
https://archiveofourown.org/works/39316119/navigate?view_adult=true
FFF: DEBUG: 2022-07-26 07:19:59,306: fetcher.py(482): response code:200
FFF: DEBUG: 2022-07-26 07:19:59,306: fetcher.py(156): random sleep(1.00-3.00):1.05
FFF: DEBUG: 2022-07-26 07:20:00,353: requestable.py(50): Encoding:utf8
FFF: DEBUG: 2022-07-26 07:20:00,354: fetcher.py(234): 
========== MISS (GET) BasicCache
https://archiveofourown.org/works/39316119?view_adult=true
FFF: DEBUG: 2022-07-26 07:20:00,354: fetcher.py(469): 
---------- REQ (GET) RequestsFetcher
https://archiveofourown.org/works/39316119?view_adult=true
FFF: DEBUG: 2022-07-26 07:20:01,206: fetcher.py(482): response code:200
FFF: DEBUG: 2022-07-26 07:20:01,206: fetcher.py(156): random sleep(1.00-3.00):2.41
FFF: DEBUG: 2022-07-26 07:20:03,615: requestable.py(50): Encoding:utf8
FFF: DEBUG: 2022-07-26 07:20:03,616: fetcher.py(234): 
========== MISS (GET) BasicCache
https://archiveofourown.org/token_dispenser.json
FFF: DEBUG: 2022-07-26 07:20:03,616: fetcher.py(469): 
---------- REQ (GET) RequestsFetcher
https://archiveofourown.org/token_dispenser.json
FFF: DEBUG: 2022-07-26 07:20:03,896: fetcher.py(482): response code:200
FFF: DEBUG: 2022-07-26 07:20:03,896: fetcher.py(156): random sleep(1.00-3.00):2.46
FFF: DEBUG: 2022-07-26 07:20:06,361: requestable.py(50): Encoding:utf8
FFF: INFO: 2022-07-26 07:20:06,361: adapter_archiveofourownorg.py(140): Will now login to URL (https://archiveofourown.org/users/login) as ()
FFF: DEBUG: 2022-07-26 07:20:06,361: fetcher.py(234): 
========== MISS (POST) BasicCache
https://archiveofourown.org/users/login
FFF: DEBUG: 2022-07-26 07:20:06,362: fetcher.py(469): 
---------- REQ (POST) RequestsFetcher
https://archiveofourown.org/users/login
FFF: DEBUG: 2022-07-26 07:20:06,746: fetcher.py(482): response code:200
FFF: DEBUG: 2022-07-26 07:20:06,747: fetcher.py(156): random sleep(1.00-3.00):2.33
FFF: DEBUG: 2022-07-26 07:20:09,076: requestable.py(50): Encoding:utf8
FFF: INFO: 2022-07-26 07:20:09,076: adapter_archiveofourownorg.py(146): Failed to login to URL https://archiveofourown.org/users/login as 
FFF: WARNING: 2022-07-26 07:20:09,076: calibre_plugins.fanficfare_plugin.fff_plugin(1217): Login Failed, Need Username/Password.
FFF: INFO: 2022-07-26 07:20:39,249: adapter_archiveofourownorg.py(163): url: https://archiveofourown.org/works/39316119/navigate?view_adult=true
FFF: INFO: 2022-07-26 07:20:39,249: adapter_archiveofourownorg.py(164): metaurl: https://archiveofourown.org/works/39316119?view_adult=true
FFF: DEBUG: 2022-07-26 07:20:39,249: fetcher.py(234): 
========== HIT (GET) BasicCache
https://archiveofourown.org/works/39316119/navigate?view_adult=true
FFF: DEBUG: 2022-07-26 07:20:39,249: requestable.py(50): Encoding:utf8
FFF: DEBUG: 2022-07-26 07:20:39,249: fetcher.py(234): 
========== HIT (GET) BasicCache
https://archiveofourown.org/works/39316119?view_adult=true
FFF: DEBUG: 2022-07-26 07:20:39,250: requestable.py(50): Encoding:utf8
FFF: DEBUG: 2022-07-26 07:20:39,250: fetcher.py(234): 
========== HIT (GET) BasicCache
https://archiveofourown.org/token_dispenser.json
FFF: DEBUG: 2022-07-26 07:20:39,251: requestable.py(50): Encoding:utf8
FFF: INFO: 2022-07-26 07:20:39,251: adapter_archiveofourownorg.py(140): Will now login to URL (https://archiveofourown.org/users/login) as ()
FFF: DEBUG: 2022-07-26 07:20:39,251: fetcher.py(234): 
========== HIT (POST) BasicCache
https://archiveofourown.org/users/login
FFF: DEBUG: 2022-07-26 07:20:39,251: requestable.py(50): Encoding:utf8
FFF: INFO: 2022-07-26 07:20:39,251: adapter_archiveofourownorg.py(146): Failed to login to URL https://archiveofourown.org/users/login as 
FFF: WARNING: 2022-07-26 07:20:39,251: calibre_plugins.fanficfare_plugin.fff_plugin(1217): Login Failed, Need Username/Password.
FFF: INFO: 2022-07-26 07:20:39,977: adapter_archiveofourownorg.py(163): url: https://archiveofourown.org/works/39316119/navigate?view_adult=true
FFF: INFO: 2022-07-26 07:20:39,977: adapter_archiveofourownorg.py(164): metaurl: https://archiveofourown.org/works/39316119?view_adult=true
FFF: DEBUG: 2022-07-26 07:20:39,977: fetcher.py(234): 
========== HIT (GET) BasicCache
https://archiveofourown.org/works/39316119/navigate?view_adult=true
FFF: DEBUG: 2022-07-26 07:20:39,977: requestable.py(50): Encoding:utf8
FFF: DEBUG: 2022-07-26 07:20:39,977: fetcher.py(234): 
========== HIT (GET) BasicCache
https://archiveofourown.org/works/39316119?view_adult=true
FFF: DEBUG: 2022-07-26 07:20:39,978: requestable.py(50): Encoding:utf8
FFF: DEBUG: 2022-07-26 07:20:39,979: fetcher.py(234): 
========== HIT (GET) BasicCache
https://archiveofourown.org/token_dispenser.json
FFF: DEBUG: 2022-07-26 07:20:39,979: requestable.py(50): Encoding:utf8
FFF: INFO: 2022-07-26 07:20:39,979: adapter_archiveofourownorg.py(140): Will now login to URL (https://archiveofourown.org/users/login) as ()
FFF: DEBUG: 2022-07-26 07:20:39,979: fetcher.py(234): 
========== HIT (POST) BasicCache
https://archiveofourown.org/users/login
FFF: DEBUG: 2022-07-26 07:20:39,979: requestable.py(50): Encoding:utf8
FFF: INFO: 2022-07-26 07:20:39,979: adapter_archiveofourownorg.py(146): Failed to login to URL https://archiveofourown.org/users/login as 
FFF: ERROR: 2022-07-26 07:20:39,979: calibre_plugins.fanficfare_plugin.dialogs(718): Exception: {'title': 'Watch', 'author_sort': 'RorschachsBlot', 'author': ['RorschachsBlot'], 'comments': '', 'good': False, 'status': 'Error', 'showerror': True, 'calibre_id': 692, 'begin': None, 'end': None, 'comment': 'Failed to Login for URL: (https://archiveofourown.org/works/39316119/navigate?view_adult=true) with username: ()', 'url': 'https://archiveofourown.org/works/39316119', 'site': 'archiveofourown.org', 'series': '', 'added': False, 'pubdate': None, 'publisher': 'archiveofourown.org', 'listorder': 0, 'collision': 'Update EPUB if New Chapters'}:Failed to Login for URL: (https://archiveofourown.org/works/39316119/navigate?view_adult=true) with username: ()
Traceback (most recent call last):
  File "calibre_plugins.fanficfare_plugin.dialogs", line 705, in do_loop
  File "calibre_plugins.fanficfare_plugin.fff_plugin", line 1343, in prep_download_loop
  File "calibre_plugins.fanficfare_plugin.fff_plugin", line 1233, in get_story_metadata_only
  File "C:\Users\greg\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\adapters\base_adapter.py", line 313, in getStoryMetadataOnly
  File "C:\Users\greg\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\adapters\base_adapter.py", line 417, in doExtractChapterUrlsAndMetadata
  File "C:\Users\greg\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\adapters\adapter_archiveofourownorg.py", line 186, in extractChapterUrlsAndMetadata
  File "C:\Users\greg\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\adapters\adapter_archiveofourownorg.py", line 148, in performLogin
fanficfare.exceptions.FailedToLogin: Failed to Login for URL: (https://archiveofourown.org/works/39316119/navigate?view_adult=true) with username: ()
FFF: DEBUG: 2022-07-26 07:22:05,268: calibre_plugins.fanficfare_plugin.fff_plugin(1129): FanFicFare v4.14.3
FFF: DEBUG: 2022-07-26 07:22:05,332: configurable.py(1044): use_browser_cache:
FFF: DEBUG: 2022-07-26 07:22:05,332: configurable.py(1058): use_basic_cache:true
FFF: INFO: 2022-07-26 07:22:05,332: adapter_archiveofourownorg.py(163): url: https://archiveofourown.org/works/39316119/navigate?view_adult=true
FFF: INFO: 2022-07-26 07:22:05,332: adapter_archiveofourownorg.py(164): metaurl: https://archiveofourown.org/works/39316119?view_adult=true
FFF: DEBUG: 2022-07-26 07:22:05,332: fetcher.py(234): 
========== MISS (GET) BasicCache
https://archiveofourown.org/works/39316119/navigate?view_adult=true
FFF: DEBUG: 2022-07-26 07:22:05,332: fetcher.py(469): 
---------- REQ (GET) RequestsFetcher
https://archiveofourown.org/works/39316119/navigate?view_adult=true
FFF: DEBUG: 2022-07-26 07:22:05,740: fetcher.py(482): response code:200
FFF: DEBUG: 2022-07-26 07:22:05,740: fetcher.py(156): random sleep(1.00-3.00):2.94
FFF: DEBUG: 2022-07-26 07:22:08,682: requestable.py(50): Encoding:utf8
FFF: DEBUG: 2022-07-26 07:22:08,682: fetcher.py(234): 
========== MISS (GET) BasicCache
https://archiveofourown.org/works/39316119?view_adult=true
FFF: DEBUG: 2022-07-26 07:22:08,682: fetcher.py(469): 
---------- REQ (GET) RequestsFetcher
https://archiveofourown.org/works/39316119?view_adult=true
FFF: DEBUG: 2022-07-26 07:22:09,514: fetcher.py(482): response code:200
FFF: DEBUG: 2022-07-26 07:22:09,514: fetcher.py(156): random sleep(1.00-3.00):1.57
FFF: DEBUG: 2022-07-26 07:22:11,086: requestable.py(50): Encoding:utf8
FFF: DEBUG: 2022-07-26 07:22:11,086: fetcher.py(234): 
========== MISS (GET) BasicCache
https://archiveofourown.org/token_dispenser.json
FFF: DEBUG: 2022-07-26 07:22:11,086: fetcher.py(469): 
---------- REQ (GET) RequestsFetcher
https://archiveofourown.org/token_dispenser.json
FFF: DEBUG: 2022-07-26 07:22:11,349: fetcher.py(482): response code:200
FFF: DEBUG: 2022-07-26 07:22:11,349: fetcher.py(156): random sleep(1.00-3.00):2.99
FFF: DEBUG: 2022-07-26 07:22:14,338: requestable.py(50): Encoding:utf8
FFF: INFO: 2022-07-26 07:22:14,338: adapter_archiveofourownorg.py(140): Will now login to URL (https://archiveofourown.org/users/login) as ()
FFF: DEBUG: 2022-07-26 07:22:14,338: fetcher.py(234): 
========== MISS (POST) BasicCache
https://archiveofourown.org/users/login
FFF: DEBUG: 2022-07-26 07:22:14,339: fetcher.py(469): 
---------- REQ (POST) RequestsFetcher
https://archiveofourown.org/users/login
FFF: DEBUG: 2022-07-26 07:22:14,691: fetcher.py(482): response code:200
FFF: DEBUG: 2022-07-26 07:22:14,692: fetcher.py(156): random sleep(1.00-3.00):2.54
FFF: DEBUG: 2022-07-26 07:22:17,230: requestable.py(50): Encoding:utf8
FFF: INFO: 2022-07-26 07:22:17,231: adapter_archiveofourownorg.py(146): Failed to login to URL https://archiveofourown.org/users/login as 
FFF: WARNING: 2022-07-26 07:22:17,231: calibre_plugins.fanficfare_plugin.fff_plugin(1217): Login Failed, Need Username/Password.
FFF: INFO: 2022-07-26 07:22:30,029: adapter_archiveofourownorg.py(163): url: https://archiveofourown.org/works/39316119/navigate?view_adult=true
FFF: INFO: 2022-07-26 07:22:30,029: adapter_archiveofourownorg.py(164): metaurl: https://archiveofourown.org/works/39316119?view_adult=true
FFF: DEBUG: 2022-07-26 07:22:30,030: fetcher.py(234): 
========== HIT (GET) BasicCache
https://archiveofourown.org/works/39316119/navigate?view_adult=true
FFF: DEBUG: 2022-07-26 07:22:30,030: requestable.py(50): Encoding:utf8
FFF: DEBUG: 2022-07-26 07:22:30,030: fetcher.py(234): 
========== HIT (GET) BasicCache
https://archiveofourown.org/works/39316119?view_adult=true
FFF: DEBUG: 2022-07-26 07:22:30,031: requestable.py(50): Encoding:utf8
FFF: DEBUG: 2022-07-26 07:22:30,031: fetcher.py(234): 
========== HIT (GET) BasicCache
https://archiveofourown.org/token_dispenser.json
FFF: DEBUG: 2022-07-26 07:22:30,031: requestable.py(50): Encoding:utf8
FFF: INFO: 2022-07-26 07:22:30,031: adapter_archiveofourownorg.py(140): Will now login to URL (https://archiveofourown.org/users/login) as (gthesob)
FFF: DEBUG: 2022-07-26 07:22:30,032: fetcher.py(234): 
========== MISS (POST) BasicCache
https://archiveofourown.org/users/login
FFF: DEBUG: 2022-07-26 07:22:30,032: fetcher.py(469): 
---------- REQ (POST) RequestsFetcher
https://archiveofourown.org/users/login
FFF: DEBUG: 2022-07-26 07:22:32,203: fetcher.py(482): response code:200
FFF: DEBUG: 2022-07-26 07:22:32,204: fetcher.py(156): random sleep(1.00-3.00):2.98
FFF: DEBUG: 2022-07-26 07:22:35,180: requestable.py(50): Encoding:utf8
FFF: DEBUG: 2022-07-26 07:22:35,180: fetcher.py(234): 
========== MISS (GET) BasicCache
https://archiveofourown.org/works/39316119/navigate?view_adult=true
FFF: DEBUG: 2022-07-26 07:22:35,180: fetcher.py(469): 
---------- REQ (GET) RequestsFetcher
https://archiveofourown.org/works/39316119/navigate?view_adult=true
FFF: DEBUG: 2022-07-26 07:22:35,564: fetcher.py(482): response code:200
FFF: DEBUG: 2022-07-26 07:22:35,564: fetcher.py(156): random sleep(1.00-3.00):1.79
FFF: DEBUG: 2022-07-26 07:22:37,354: requestable.py(50): Encoding:utf8
FFF: DEBUG: 2022-07-26 07:22:37,354: fetcher.py(234): 
========== MISS (GET) BasicCache
https://archiveofourown.org/works/39316119?view_adult=true
FFF: DEBUG: 2022-07-26 07:22:37,355: fetcher.py(469): 
---------- REQ (GET) RequestsFetcher
https://archiveofourown.org/works/39316119?view_adult=true
FFF: DEBUG: 2022-07-26 07:22:38,104: fetcher.py(482): response code:200
FFF: DEBUG: 2022-07-26 07:22:38,104: fetcher.py(156): random sleep(1.00-3.00):1.72
FFF: DEBUG: 2022-07-26 07:22:39,828: requestable.py(50): Encoding:utf8
FFF: DEBUG: 2022-07-26 07:22:39,927: adapter_archiveofourownorg.py(261): numChapters: (14)
FFF: DEBUG: 2022-07-26 07:22:39,993: calibre_plugins.fanficfare_plugin.fff_plugin(1447): update existing id:692
FFF: DEBUG: 2022-07-26 07:22:40,260: calibre_plugins.fanficfare_plugin.fff_plugin(1594): existing epub tmp:C:\Users\greg\AppData\Local\Temp\calibre_8_fwegym\fanficfare_xi_ytb16\old-692-wpvtgamq.epub
FFF: DEBUG: 2022-07-26 07:22:40,287: calibre_plugins.fanficfare_plugin.fff_plugin(1661): title:Watch
FFF: DEBUG: 2022-07-26 07:22:40,287: calibre_plugins.fanficfare_plugin.fff_plugin(1662): outfile:C:\Users\greg\AppData\Local\Temp\calibre_8_fwegym\fanficfare_xi_ytb16\Watch-RorschachsBlot-qsu1l7tp.epub
FFF: DEBUG: 2022-07-26 07:22:48,700: calibre_plugins.fanficfare_plugin.fff_plugin(1814): add/update Watch https://archiveofourown.org/works/39316119 id(692)
FFF: INFO: 2022-07-26 07:22:48,798: calibre_plugins.fanficfare_plugin.fff_plugin(2469): cover_image:
FFF: DEBUG: 2022-07-26 07:22:48,867: calibre_plugins.fanficfare_plugin.fff_plugin(1901): Finished Adding/Updating 1 books.
FFF: DEBUG: 2022-07-26 07:22:48,868: calibre_plugins.fanficfare_plugin.fff_plugin(1904): removed tdir
[56.86] splash screen hidden
[56.86] Started up in 56.86 seconds with 679 books
Worker Launch took: 0.00 seconds
Job: 0 Download 1 FanFiction Book(s) finished
Download 1 FanFiction Book(s)

	FFF: INFO: 2022-07-26 07:22:40,502: calibre_plugins.fanficfare_plugin.jobs(49): CPUs:3

	FFF: INFO: 2022-07-26 07:22:40,502: calibre_plugins.fanficfare_plugin.jobs(52): FanFicFare v4.14.3

	FFF: INFO: 2022-07-26 07:22:40,502: calibre_plugins.fanficfare_plugin.jobs(68): Launch background process for site archiveofourown.org:

	https://archiveofourown.org/works/39316119

	FFF: INFO: 2022-07-26 07:22:46,053: calibre_plugins.fanficfare_plugin.jobs(130): 

	

	================================================================================ site:(archiveofourown.org)

	FFF: INFO: 2022-07-26 07:22:41,259: calibre_plugins.fanficfare_plugin.jobs(211): 

	

	-------------------------------------------------------------------------------- https://archiveofourown.org/works/39316119

	FFF: DEBUG: 2022-07-26 07:22:41,268: configurable.py(1044): use_browser_cache:

	FFF: DEBUG: 2022-07-26 07:22:41,268: configurable.py(1058): use_basic_cache:true

	FFF: INFO: 2022-07-26 07:22:41,268: adapter_archiveofourownorg.py(163): url: https://archiveofourown.org/works/39316119/navigate?view_adult=true

	FFF: INFO: 2022-07-26 07:22:41,269: adapter_archiveofourownorg.py(164): metaurl: https://archiveofourown.org/works/39316119?view_adult=true

	FFF: DEBUG: 2022-07-26 07:22:41,269: fetcher.py(234): 

	========== HIT (GET) BasicCache

	https://archiveofourown.org/works/39316119/navigate?view_adult=true

	FFF: DEBUG: 2022-07-26 07:22:41,269: requestable.py(50): Encoding:utf8

	FFF: DEBUG: 2022-07-26 07:22:41,269: fetcher.py(234): 

	========== HIT (GET) BasicCache

	https://archiveofourown.org/works/39316119?view_adult=true

	FFF: DEBUG: 2022-07-26 07:22:41,269: requestable.py(50): Encoding:utf8

	FFF: DEBUG: 2022-07-26 07:22:41,384: adapter_archiveofourownorg.py(261): numChapters: (14)

	FFF: INFO: 2022-07-26 07:22:41,761: calibre_plugins.fanficfare_plugin.jobs(370): Do update - epub(13) vs url(14)

	FFF: INFO: 2022-07-26 07:22:41,761: calibre_plugins.fanficfare_plugin.jobs(371): write to C:\Users\greg\AppData\Local\Temp\calibre_8_fwegym\fanficfare_xi_ytb16\Watch-RorschachsBlot-qsu1l7tp.epub

	FFF: INFO: 2022-07-26 07:22:41,761: base_writer.py(183): Save directly to file: C:\Users\greg\AppData\Local\Temp\calibre_8_fwegym\fanficfare_xi_ytb16\Watch-RorschachsBlot-qsu1l7tp.epub

	FFF: DEBUG: 2022-07-26 07:22:42,506: adapter_archiveofourownorg.py(411): Getting chapter text for: https://archiveofourown.org/works/39316119/chapters/101662068 index: 13

	FFF: DEBUG: 2022-07-26 07:22:42,507: adapter_archiveofourownorg.py(421): USE view_full_work

	FFF: DEBUG: 2022-07-26 07:22:42,508: fetcher.py(234): 

	========== MISS (GET) BasicCache

	https://archiveofourown.org/works/39316119?view_full_work=true&view_adult=true

	FFF: DEBUG: 2022-07-26 07:22:42,508: fetcher.py(469): 

	---------- REQ (GET) RequestsFetcher

	https://archiveofourown.org/works/39316119?view_full_work=true&view_adult=true

	FFF: DEBUG: 2022-07-26 07:22:43,203: fetcher.py(482): response code:200

	FFF: DEBUG: 2022-07-26 07:22:43,203: fetcher.py(156): random sleep(1.00-3.00):2.03

	FFF: DEBUG: 2022-07-26 07:22:45,238: requestable.py(50): Encoding:utf8

	FFF: INFO: 2022-07-26 07:22:45,630: writer_epub.py(360): Saving EPUB Version 2.0

	

	FFF: INFO: 2022-07-26 07:22:46,053: calibre_plugins.fanficfare_plugin.jobs(142): 

	Download Results:

	Add https://archiveofourown.org/works/39316119 Update epub completed, added 1 chapters for 14 total.

	

	FFF: INFO: 2022-07-26 07:22:46,054: calibre_plugins.fanficfare_plugin.jobs(166): 

	Add

	https://archiveofourown.org/works/39316119
gthesob is offline   Reply With Quote
Old 07-26-2022, 11:53 AM   #7347
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
New Test Version Posted

2022-07-26
- Add get_section_url() for adapter_royalroadcom for longer story URL [sections]
- adapter_storiesonlinenet: Single chapter stories slightly different. Also scifistories and finestories. Closes #867
JimmXinu is offline   Reply With Quote
Old 07-26-2022, 12:12 PM   #7348
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 gthesob View Post
I spoke too soon. I tried updating http://archiveofourown.org/works/39316119 this morning and it's happened again.

In this log I have two attempts. The first update I cancelled without giving the credentials in case the fail log was useful and the second was successful after adding credentials.

Code:
Will now login to URL (https://archiveofourown.org/users/login) as ()
First, that story doesn't need login. Most AO3 stories don't.

Second, unless you removed it, the log output above shows that you don't have your user name correctly configured in personal.ini.
JimmXinu is offline   Reply With Quote
Old 07-26-2022, 04:35 PM   #7349
gthesob
Member
gthesob began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jul 2022
Device: none
It's been doing this the last couple weeks or so, but not every story was affected. I only added always_login after your mention of it the other day.

I checked the ini and compared it others. I noticed the color code parsing was wrong, I had failed to remove the # from the user and pass when I first added them. I've corrected that and it now shows:
[archiveofourown.org]
is_adult:true
always_login:true
username:XXXXXXXX
password:XXXXXXXX



I think maybe I'm getting caught up in new user shenanigans. Waiting for mod approval for posts to appear and my attempts to post or edit are just making a mess of things.
gthesob is offline   Reply With Quote
Old 07-26-2022, 07:40 PM   #7350
Silentwind96
Junior Member
Silentwind96 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Sep 2012
Location: Bakersfield, CA
Device: Barnes and Noble Nook Glowlight Plus 7.8"
I recently had to reformat my PC and reinstall Calibre. I downloaded your plugin and now I can no longer download content from Webnovel.com to read offline on my Nook. Any insight would be greatly appreciated. Have a great day.
Silentwind96 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 10:11 AM.


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