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 05-22-2025, 05:52 PM   #10786
Nutzer0815
Enthusiast
Nutzer0815 began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Sep 2020
Device: PC
Contrary to initial appearances, it only loads the first page for me, as described above.
So I'll have to wait until there's a solution.
Nutzer0815 is offline   Reply With Quote
Old 05-22-2025, 06:09 PM   #10787
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,876
Karma: 4604435
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
FYI, I've opened a github issue(#1208) about these literotica site changes to flag the attention of another dev who has worked on adapter_literotica before.
JimmXinu is offline   Reply With Quote
Old 05-22-2025, 08:29 PM   #10788
Nutzer0815
Enthusiast
Nutzer0815 began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Sep 2020
Device: PC
deleted
Nutzer0815 is offline   Reply With Quote
Old 05-22-2025, 08:48 PM   #10789
ThreeLizards
Member
ThreeLizards began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Feb 2025
Device: Kindle Paperwhite 2024
omg please help...

ugh

okay, so I am trying to get calibre to label anything with the tag "Alpha/Beta/Omega Dynamics" as Trope: A/B/O Omegaverse.

I have it set up in my personal INI as

Spoiler:
Code:
  tags_modified=>(?i).*omega verse.*$=>Trope: A/B/O Omegaverse
 tags_modified=>(?i).*Alpha/Beta/Omega.*$=>Trope: A/B/O Omegaverse
 tags_modified=>(?i).*Omega Dynamics.*$=>Trope: A/B/O Omegaverse

 tags_modified==Trope: A/B/O Omegaverse



Like, it detects Alternate Universe Modern Setting just fine

Spoiler:
Code:
 tags_modified=>^Alternate Universe - Modern Setting$=>Trope: AU Modern Setting
 tags_modified==Trope: AU Modern Setting


So what am I doing wrong for the A/B/O code?

Last edited by ThreeLizards; 05-22-2025 at 09:36 PM.
ThreeLizards is offline   Reply With Quote
Old 05-22-2025, 10:55 PM   #10790
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,756
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
not 100%, but I think you forgot to escape the slashes.
ownedbycats is offline   Reply With Quote
Old 05-22-2025, 11:46 PM   #10791
applegaa
Connoisseur
applegaa began at the beginning.
 
applegaa's Avatar
 
Posts: 69
Karma: 10
Join Date: Apr 2019
Device: none
I installed the latest test version before checking small groups of stories for new chapters.

The first thing I noticed is that the fetching metadata is still happening in a single process rather than one per site. I'm guessing that was intentional rather than oversight, but I wanted to mention it, as it seems to lead into the bigger issue I noticed.

If none of the stories in the group have updates, I get a single request to update the metadata, and it updates the "Last Checked" value on all of the stories. I then get an "ERROR: Unhandled exception" with "KeyError: 'site'"

Spoiler:
Code:
calibre, version 8.4.0
ERROR: Unhandled exception: <b>KeyError</b>:'site'

calibre 8.4  embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.11.12
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre.exe
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (2, 25, 0) && DeDRM (10, 0, 3) && Package KFX (from KFX Input) (2, 25, 0) && Consolidate All Library Metadata (2, 0, 46) && Count Pages (1, 13, 6) && EpubMerge (3, 2, 0) && EpubSplit (3, 10, 0) && FanFicFare (4, 45, 9) && Find Duplicates (1, 10, 9) && Job Spy (1, 0, 239) && KFX metadata reader (from KFX Input) (2, 25, 0) && From KFX (2, 25, 0) && KFX Input (2, 25, 0) && MultiColumnSearch (1, 0, 96) && Obok DeDRM (10, 0, 3) && View Manager (1, 10, 3)
Traceback (most recent call last):
  File "calibre\gui2\proceed.py", line 232, in do_ask_question
  File "calibre_plugins.fanficfare_plugin.fff_plugin", line 2128, in proceed_func
  File "calibre_plugins.fanficfare_plugin.fff_plugin", line 2273, in update_error_column
  File "calibre_plugins.fanficfare_plugin.dialogs", line 686, in LoopProgressDialog
  File "calibre_plugins.fanficfare_plugin.fff_plugin", line 1988, in update_books_finish
KeyError: 'site'


However, if there are stories that do have updates, only those stories seem to be passed on to the next step, so the "Last Checked" value is not updated on the stories that don't have updates and no error pops up.

This also means that any errors captured while fetching metadata are lost, unless there are no good updates.

Also, just an FYI, if you turn off the reconsolidation option, only the stories from the last site to finish remain marked, as all previous marks are cleared. It seems obvious, now...

- Andrew
applegaa is offline   Reply With Quote
Old 05-22-2025, 11:48 PM   #10792
KuMikks
Junior Member
KuMikks began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2025
Device: calibre
I'm having 2 similar issues with my custom columns.

I'm using the the personal.ini to populate my custom column (e.g. bookmarksummary=>#bookmark) but instead of only showing the latest information, 1) adds the retrieved data regardless if there's a change or not or 2) adds the retrieved data if it senses there is a change, onto the existing data every time I update the metadata. This leads to a lot of duplicate/outdated data left in the fields. How do I fix this?

For the type of column used in each case: (1) text column for keeping series-like information; (2) comma separated text, like tags, shown in the Tag browser.
KuMikks is offline   Reply With Quote
Old 05-23-2025, 01:31 AM   #10793
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 45,194
Karma: 168808723
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by ownedbycats View Post
not 100%, but I think you forgot to escape the slashes.
Not certain but I seem to remember the Python flavour of regex does not need forward slashes escaped.
DNSB is offline   Reply With Quote
Old 05-23-2025, 08:15 AM   #10794
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,756
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by KuMikks View Post
I'm having 2 similar issues with my custom columns.

I'm using the the personal.ini to populate my custom column (e.g. bookmarksummary=>#bookmark) but instead of only showing the latest information, 1) adds the retrieved data regardless if there's a change or not or 2) adds the retrieved data if it senses there is a change, onto the existing data every time I update the metadata. This leads to a lot of duplicate/outdated data left in the fields. How do I fix this?

For the type of column used in each case: (1) text column for keeping series-like information; (2) comma separated text, like tags, shown in the Tag browser.
Do you have an "a" flag, end of custom_column_settings? that means add/append.
ownedbycats is offline   Reply With Quote
Old 05-23-2025, 10:13 AM   #10795
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,876
Karma: 4604435
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
This is very useful info, thanks!

Quote:
Originally Posted by applegaa View Post
I installed the latest test version before checking small groups of stories for new chapters.

The first thing I noticed is that the fetching metadata is still happening in a single process rather than one per site. I'm guessing that was intentional rather than oversight, but I wanted to mention it, as it seems to lead into the bigger issue I noticed.
Correct. Initial metadata fetch happens in the foreground because of all the various pop-ups and story URL changes that could happen.

Quote:
Originally Posted by applegaa View Post
If none of the stories in the group have updates, I get a single request to update the metadata, and it updates the "Last Checked" value on all of the stories. I then get an "ERROR: Unhandled exception" with "KeyError: 'site'"

Spoiler:
Code:
calibre, version 8.4.0
ERROR: Unhandled exception: <b>KeyError</b>:'site'

calibre 8.4  embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.11.12
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre.exe
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (2, 25, 0) && DeDRM (10, 0, 3) && Package KFX (from KFX Input) (2, 25, 0) && Consolidate All Library Metadata (2, 0, 46) && Count Pages (1, 13, 6) && EpubMerge (3, 2, 0) && EpubSplit (3, 10, 0) && FanFicFare (4, 45, 9) && Find Duplicates (1, 10, 9) && Job Spy (1, 0, 239) && KFX metadata reader (from KFX Input) (2, 25, 0) && From KFX (2, 25, 0) && KFX Input (2, 25, 0) && MultiColumnSearch (1, 0, 96) && Obok DeDRM (10, 0, 3) && View Manager (1, 10, 3)
Traceback (most recent call last):
  File "calibre\gui2\proceed.py", line 232, in do_ask_question
  File "calibre_plugins.fanficfare_plugin.fff_plugin", line 2128, in proceed_func
  File "calibre_plugins.fanficfare_plugin.fff_plugin", line 2273, in update_error_column
  File "calibre_plugins.fanficfare_plugin.dialogs", line 686, in LoopProgressDialog
  File "calibre_plugins.fanficfare_plugin.fff_plugin", line 1988, in update_books_finish
KeyError: 'site'
Got it--fix in next test version.

Quote:
Originally Posted by applegaa View Post
However, if there are stories that do have updates, only those stories seem to be passed on to the next step, so the "Last Checked" value is not updated on the stories that don't have updates and no error pops up.

This also means that any errors captured while fetching metadata are lost, unless there are no good updates.
I do see that happen, and it doesn't happen when I turn all three of the new options off. So it's definitely something with the new code. Not sure what yet.

Quote:
Originally Posted by applegaa View Post
Also, just an FYI, if you turn off the reconsolidation option, only the stories from the last site to finish remain marked, as all previous marks are cleared. It seems obvious, now...
That's a good point. That's working as designed, but may be a surprise. Not sure what could/should be done about it...
JimmXinu is offline   Reply With Quote
Old 05-23-2025, 11:10 AM   #10796
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,876
Karma: 4604435
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
New Test Version Posted

2025-05-23
- Split BG: Fixes for error column & showing meta collection errors
- adapter_literotica: Update for site change

Addressing issues applegaa found.

Note that in the case of all stories 'failing' (includes no new chapters), FFF will stop after collecting metadata.

In the case of some stories 'failing' (includes no new chapters), FFF will still launch split BG jobs for sites that don't have any downloads to do, which finish immediately and are listed as 'Download 0 Books'.

This matches prior sub-process behavior, it's just visible now.

UPDATE - Also fixes finding chapter pages on german.literotica

Last edited by JimmXinu; 05-23-2025 at 11:24 AM.
JimmXinu is offline   Reply With Quote
Old 05-23-2025, 11:57 AM   #10797
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,756
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by JimmXinu View Post
That's a good point. That's working as designed, but may be a surprise. Not sure what could/should be done about it...
My post-download action chain is based on the marked:fff search.
ownedbycats is offline   Reply With Quote
Old 05-23-2025, 12:48 PM   #10798
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,876
Karma: 4604435
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
New Test Version Posted

2025-05-23
- Split BG: Fixes for error column & showing meta collection errors
- adapter_literotica: Update for site change

Improvement to adapter_literotica fix.
JimmXinu is offline   Reply With Quote
Old 05-23-2025, 12:51 PM   #10799
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,876
Karma: 4604435
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by ThreeLizards View Post
omg please help...

ugh

okay, so I am trying to get calibre to label anything with the tag "Alpha/Beta/Omega Dynamics" as Trope: A/B/O Omegaverse.
...
I'd try adding a '^' to the expression at the beginning.
JimmXinu is offline   Reply With Quote
Old 05-23-2025, 01:25 PM   #10800
Arkeus
Enthusiast
Arkeus began at the beginning.
 
Posts: 27
Karma: 10
Join Date: Oct 2016
Device: Kobo
I've been getting error 525 from ao3. Is this a me issue?
Arkeus 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 514 03-23-2025 10:26 AM
[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 05:56 AM.


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