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 Today, 10:51 AM   #9991
Jager956
Member
Jager956 began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jun 2020
Device: Kindle PW3
Adding debug log:

(Removed log with a bunch of NFSW links. --JimmXinu)

Last edited by JimmXinu; Today at 08:27 PM.
Jager956 is offline   Reply With Quote
Old Today, 11:09 AM   #9992
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,546
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Story downloads and updates fine for me.

The log basically shows a mismatch between versions of files within the plugin. Theoretically, this shouldn't happen. In practice, we have seen it a few times.

I would try:
  1. Deleting the plugin from Calibre (your settings will not be removed).
  2. Restart Calibre, confirm the plugin is removed.
  3. Download the plugin manually from first post.
  4. Install manually, Calibre Preferences, Plugins(lower left), Load plugin from file button(lower right).
  5. Restart Calibre.
See Introduction to plugins and look for "How do I install a plugin manually?" if you want more detailed instructions.

FYI, logs should ideally be wrapped in [spoiler] and [code] tags (vs [quote]) or attached as txt files.
Spoiler:
Code:
Like this.
JimmXinu is offline   Reply With Quote
Old Today, 05:17 PM   #9993
Jager956
Member
Jager956 began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jun 2020
Device: Kindle PW3
Thanks for ideas, I did as you proposed, however issue still persists.
I followed all 5 steps. Still same error when trying to download stories.

Did some more tests, results are weird.

1. Tried command line as you suggested in another thread:
"c:\program files\calibre2\calibre-debug" --run-plugin FanFicFare https://storiesonline.net/s/66637/citizen-miller

Book downloaded without issues into folder (not added to calibre)

2. Tried some random book from royalroad.com with calibre and FFF: download successful!

3. Tried again some other book from SOL: same problem as before.

Debug log:

(Removed log with a bunch of NFSW links. --JimmXinu)

Last edited by JimmXinu; Today at 08:28 PM.
Jager956 is offline   Reply With Quote
Old Today, 08:26 PM   #9994
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,546
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
New Test Version Posted

2024-09-28
- Fix(es) for get_url_search not found when seriesUrl doesn't match an adapter site.
- Fix for regression when browser_cache_simple_header_old added. Closes #1104

Quote:
Originally Posted by Jager956 View Post
2. Tried some random book from royalroad.com with calibre and FFF: download successful!

3. Tried again some other book from SOL: same problem as before.
I'll be honest--when I saw the same error as another user reported prior (with solution no less), I didn't look very deeply. So points to you for being persistent.

There is a bug here. But it's obscure. I mean really obscure. As in, you may be the only user who would ever see it.

When I updated the code to move the get_url_search() code to the adapters, I included a 'last ditch' case for not matching the search URL to any adapter. But my normal testing didn't exercise that code and it had a bug.

In fact, the only way (I know of) to hit that code is to have "Check for existing Series Anthology books?" checked and then have a story with a series value either without a seriesUrl value or a seriesUrl value that isn't on any supported site. If that's a thing in normal use, I don't recall it.

Enter Jager956. Back in January. January 2021, that is.
Quote:
Originally Posted by Jager956 View Post
Just to clarify; I am using series column because of kindle (collections). And this configuration for SOL site is great as I group stories from SOL based on sex rating. If any story is in series/universes, I use that info in custom column just for cover generation.
Quote:
Originally Posted by JimmXinu View Post
You can do that with include_in_X. For example, include_in_series:rating will copy rating into series.
So the new test version both skips the anthology search if there isn't a seriesUrl value and corrects the 'last ditch' get_url_search() case.
JimmXinu is offline   Reply With Quote
Old Today, 08:30 PM   #9995
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,546
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Jager956 - MobileRead doesn't want NSFW links. I didn't realize until I was well into debugging your example were NSFW and I forgot to specify SFW.

So I removed them for you, since the problem should be solved now.
JimmXinu 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 494 05-18-2024 02:34 AM
[GUI Plugin] Open With kiwidude Plugins 403 04-01-2024 08:39 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:24 PM.


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