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 09-22-2024, 12:03 PM   #9961
sassejane
Junior Member
sassejane began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Dec 2019
Device: Kindle Paperwhite
I'm getting prompts to enter my username/password for AO3 when using "Get Story URLs from Email", but it fails (definitely the right info).

If I then copy those URLs from the log and use the "Download from URLs" function they work without issue.

Last edited by sassejane; 09-22-2024 at 12:06 PM.
sassejane is offline   Reply With Quote
Old 09-22-2024, 12:56 PM   #9962
penumbria
Member
penumbria began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jan 2018
Location: US
Device: Samsung Tablet & Kindle Fire using Google Play store
I am getting the same issue when I try to update an anthology that requires being logged in to see. For every fic in the series, I get the log in prompt boxes pop up twice, enter the correct info, and at the end get an error that it can't update. For AO3 antholgies.
I figured it was something to do with their recent problems with logging people out but was wondering if there was a fix I am missing to do with it. The first day after their issues, I had the problem but it worked after trying a second time. But not anymore.
penumbria is offline   Reply With Quote
Advert
Old 09-22-2024, 03:01 PM   #9963
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,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
The inconsistency of it still argues for a site/server site problem to me.

Is it also happening to people with username/password set in personal.ini?
JimmXinu is offline   Reply With Quote
Old 09-22-2024, 05:18 PM   #9964
jazzhands
Member
jazzhands began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Aug 2013
Location: Minnesota
Device: Kindle
Quote:
Originally Posted by JimmXinu View Post
The inconsistency of it still argues for a site/server site problem to me.

Is it also happening to people with username/password set in personal.ini?

Yes, it's happening to me with the username/password set in personal.ini.


But I agree that it's related to the current AO3 issues.

Update: I just restarted Calibre and it's now working for the anthology that wouldn't update before.

Last edited by jazzhands; 09-22-2024 at 05:21 PM.
jazzhands is offline   Reply With Quote
Old 09-22-2024, 05:48 PM   #9965
swizzlespoon
TAFKA dailyalice
swizzlespoon began at the beginning.
 
swizzlespoon's Avatar
 
Posts: 1
Karma: 10
Join Date: Sep 2022
Location: Minneapolis, MN
Device: Kindle Oasis (3nd gen)
I think it has to be something awry with AO3. I hope they're aware of the problem and working on it.

While on the site, I keep having to refresh my browser tab to leave Kudos and sometimes to bookmark or comment. Getting a lot of "session timed out" errors (even though I remain logged in).

And when I'm using FanFicFare (with my login info in personal.ini as always), sometimes I'm prompted for username/password. And it doesn't seem to hold for the whole download session either, I'm prompted for each fic if I have a dozen URLs in my window. Other times (without restarting calibre or anything) it will work as usual.

Just cleared my browser cache again & logged in fresh. And restarted calibre. And so far things are working fine. (But in the past when I did this it would be okay for a bit before the bad behavior started again. Maybe this time all will be well for good!)
swizzlespoon is offline   Reply With Quote
Advert
Old 09-22-2024, 06:26 PM   #9966
nephtys59
Enthusiast
nephtys59 began at the beginning.
 
nephtys59's Avatar
 
Posts: 33
Karma: 10
Join Date: Feb 2011
Device: Android Tablet
Login fails for anthologies only

AO3 is up at the moment. I access through browser with no problems.
Personal.ini has already my username and password memorized.
Updated single fics = no issue.
Try anthology update = error "failed to login".
Are you sure it's not plugin related?
nephtys59 is offline   Reply With Quote
Old 09-22-2024, 06:49 PM   #9967
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,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by swizzlespoon View Post
Just cleared my browser cache again & logged in fresh. And restarted calibre. And so far things are working fine. (But in the past when I did this it would be okay for a bit before the bad behavior started again. Maybe this time all will be well for good!)
While acknowledging that 'restart, try again' is a mantra in computing for a reason, I think we're getting into "wave a dead chicken" territory on this one.

Quote:
Originally Posted by nephtys59 View Post
AO3 is up at the moment. I access through browser with no problems.
Personal.ini has already my username and password memorized.
Updated single fics = no issue.
Try anthology update = error "failed to login".
Are you sure it's not plugin related?
Sure? No. But there's enough people having it work and fail intermittently that site/server problem is still my best guess.

Due to the way AO3 implements 'restricted' stories, you may have 'always_login:true' all the time.

Since the errors seem to express as login difficulties, I'd turn off 'always_login:true' any time you don't actually need it.
JimmXinu is offline   Reply With Quote
Old 09-23-2024, 11:42 PM   #9968
fetihif112
Junior Member
fetihif112 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2023
Device: none
Hello, I have a small problem unrelated to the AO3 issue.

First of all, judging by the monthly release dates, is version 4.38 supposed to be the most recent one on PyPI? Because it isn't, it's still at 4.37.

I'm on Fedora 39, running Calibre 7.3.0, Python 3.12.6. Apparently, the Calibre plugin can use files from the CLI installation when you have both installed. That causes problems when the versions are different - specifically Calibre version 4.38 with CLI version 4.37 breaks downloading from Calibre. Other times in the past everything must have worked fine without me noticing. In this case, I assume it's about the new 4.38 searching feature: all URLs (from various sites, existing in the library or not) fail with error "module 'fanficfare.adapters' has no attribute 'get_url_search'". Uninstalling the CLI version and restarting Calibre fixes this. Reinstalling the CLI version and restarting Calibre breaks it again. Reinstalling 4.38 from within Calibre doesn't help as long as CLI 4.37 exists. I've tried multiple times, and these observations have been consistent.

I've had some trouble diagnosing this, but i'm 95% sure this is it. When all jobs instantly fail, the usual logs in the Jobs window are unavailable, so I had to use debug mode. Even in debug mode, the logs say "Successfully initialized third party plugins: FanFicFare (4, 38, 0)" and "FFF: DEBUG: 2024-09-24 05:58:40,116: calibre_plugins.fanficfare_plugin.fff_plugin(1140) : FanFicFare v4.38.0", with no indication of 4.37's presence other than the errors. I've looked at pip's install/uninstall process, and it doesn't touch any dependencies.

That in and of itself is not a big deal, reinstalling the CLI version whenever I need it takes seconds, but for correctness' sake, how would I go about having Calibre always prioritize its "natiive" version? If it involves error-prone messing with env/path stuff, which I'm unfamiliar with, is there some way of verifying from within Calibre what files it tries to load from where and make troubleshooting easier?
fetihif112 is offline   Reply With Quote
Old 09-24-2024, 12:53 AM   #9969
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,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by fetihif112 View Post
First of all, judging by the monthly release dates, is version 4.38 supposed to be the most recent one on PyPI? Because it isn't, it's still at 4.37.
That's my mistake. I've uploaded v4.38 to pypi.

Quote:
Originally Posted by fetihif112 View Post
I'm on Fedora 39, running Calibre 7.3.0, Python 3.12.6. Apparently, the Calibre plugin can use files from the CLI installation when you have both installed. ...
That's some pretty good troubleshooting. I agree with your logic--get_url_search was added in FFF v4.38.

Quote:
Originally Posted by fetihif112 View Post
...
That in and of itself is not a big deal, reinstalling the CLI version whenever I need it takes seconds, but for correctness' sake, how would I go about having Calibre always prioritize its "natiive" version? If it involves error-prone messing with env/path stuff, which I'm unfamiliar with, is there some way of verifying from within Calibre what files it tries to load from where and make troubleshooting easier?
I assume you are using Calibre installed from a Fedora repo of some sort. Which has been modified to use python and dependencies installed on the system. The official Calibre download has it's own versions of python and dependencies bundled in precisely because of this sort of issue.

I am reasonably confident installing the official release of Calibre instead would correct this.

Another option would be to not install FFF CLI and install call the FFF plugin as CLI:

calibre-debug --run-plugin FanFicFare -- --help

It's mostly identical to FFF CLI from pypi except for using your personal.ini from either the library specified by new arg --library-path or your last used library (if I recall correctly, it's late). It does not automatically add or update to the library like the GUI plugin does.
JimmXinu is offline   Reply With Quote
Old 09-24-2024, 06:19 PM   #9970
sassejane
Junior Member
sassejane began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Dec 2019
Device: Kindle Paperwhite
I'm still getting login issues with AO3. Username/password in personal.ini, have always_login, is_adult, and use_view_full_work set to TRUE. After the initial failure I relaunched in Debug and have attached the log in case it's not an AO3 issue.

Sequence:

1. Launched Calibre fresh, hit "Get Story URLs from Email", got prompted for my username/password twice for each of the three stories (cancelled each time)
2. Copied URLs from 'failed to import' dialog, hit "Download from URLs" and pasted the three URLs. Got prompts for each x 2, cancelled each time.
3. Tried Download from URLs again, entered username/password x2 for each story, still failed.
4. Restarted Calibre in Debug mode.
(this is a little hazy but I think this is the order):
5. Hit "Download from URLs" with the three URLs, prompted for password x2, cancelled request, it failed.
6. Hit "Download from URLs", entered username/password x2 for each, failed.
7. Hit "Download from URLs", dismissed password requests, failed.
8. Went back to the Gmail account and marked them unread, hit "Get Story URLs from Email", entered username/password x2 when prompted for each story, failed.
9. Hit "Download from URLs", not prompted for username/password, all three downloaded as expected.

Here's the log:
20240925_fff_debug.txt
sassejane is offline   Reply With Quote
Old 09-24-2024, 06:56 PM   #9971
DragoLord19d
Member
DragoLord19d began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Apr 2019
Device: Ipad
I'm also having AO3 trouble with the windows calibre
DragoLord19d is offline   Reply With Quote
Old 09-25-2024, 08:37 AM   #9972
steltek
Connoisseur
steltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura about
 
Posts: 69
Karma: 4484
Join Date: Jan 2016
Device: none
Related to the A03 issue, does FFF present a user agent to the website when it logs in and attempts to download content? The fact that FFF will fail to download while the same content can be immediately accessed via a browser made me wonder about this.
steltek is offline   Reply With Quote
Old 09-25-2024, 08:42 AM   #9973
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: 11,035
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
plugin-defaults.ini
Code:
## User-agent
user_agent:FFF/4.X
ownedbycats is offline   Reply With Quote
Old 09-25-2024, 11:18 AM   #9974
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,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by sassejane View Post
9. Hit "Download from URLs", not prompted for username/password, all three downloaded as expected.
Do you have username/password set in personal.ini? What about always_login:true? Because this suggests we MIGHT be asking for login when we don't need to, if you don't have them set.

I am able to see this behavior myself this morning--and it remains inconsistent. Sometimes login works, sometimes it doesn't.

In the same Calibre session, I just saw work-fail-(time reading logs)-work-work on the same restricted story spread across 20 minutes.

As far as I know, this only affects login. And I suspect FFF sees it more often because of always_login:true being set.

Last edited by JimmXinu; 09-25-2024 at 11:19 AM. Reason: correct grammar
JimmXinu is offline   Reply With Quote
Old 09-25-2024, 04:21 PM   #9975
steltek
Connoisseur
steltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura about
 
Posts: 69
Karma: 4484
Join Date: Jan 2016
Device: none
Quote:
Originally Posted by JimmXinu View Post
Do you have username/password set in personal.ini? What about always_login:true? Because this suggests we MIGHT be asking for login when we don't need to, if you don't have them set.

I am able to see this behavior myself this morning--and it remains inconsistent. Sometimes login works, sometimes it doesn't.

In the same Calibre session, I just saw work-fail-(time reading logs)-work-work on the same restricted story spread across 20 minutes.

As far as I know, this only affects login. And I suspect FFF sees it more often because of always_login:true being set.
I even went to far as to try to override the FFF user agent with the current browser user agent string for Firefox in personal.ini to see if that would fix the issue. My thought was that maybe something during the login was setting off the Cloudflare/A03 site security and that it was rejecting the login because it was maybe detecting that the login was coming from a non-browser application. The first time I tried it, it actually worked with links that were just seconds earlier not working. However, after getting my hopes up, it then reverted to form and started failing at login again a few minutes later.

I think you are right: the dead chicken is not just waving but is flapping in a brisk wind. Whatever is going on is a legitimate A03 server login issue (maybe something to do with Cloudflare's security and changes A03 made in their login process) and that there is nothing that can be done to fix it from the user side beyond doing exactly what you recommended - turning off always_login:true unless it is truly needed.
steltek 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 06:03 AM.


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