Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting errors when downloading from literotica using the Calibre plugin #529

Closed
nzall opened this issue Aug 13, 2020 · 6 comments
Closed

Comments

@nzall
Copy link

nzall commented Aug 13, 2020

I'm getting the below error when attempting to download a series from Literotica. Dave from Grrl Power recommended this plugin in a recent comment annotation (found at https://grrlpowercomic.com/archives/comic/grrl-power-866-rooftop-rally/#comments, at the bottom of the annotation), but either I'm doing something incredibly simply wrong or there's a bug in the Calibre plugin. Note that I haven't changed anything about the default settings of both Calibre and FFF.

Status
Title
Author
Comment
URL
Error
Unknown
Unknown
u'rejecturls'
https://www.literotica.com/s/upon-a-savage-shore-ch-01

Note: when I try to edit the reject URLs list, I'm getting the error

calibre, version 4.22.0
ERROR: Unhandled exception: KeyError:u'rejecturls'

calibre 4.22 embedded-python: True is64bit: False
Windows-10-10.0.19041-SP0 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '10', '10.0.19041')
Python 2.7.16+
Windows: ('10', '10.0.19041', 'SP0', u'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: FanFicFare (3, 22, 0)
Traceback (most recent call last):
File "calibre_plugins.fanficfare_plugin.config", line 685, in show_rejectlist
File "calibre_plugins.fanficfare_plugin.config", line 210, in get_list
File "calibre_plugins.fanficfare_plugin.config", line 142, in _get_listcache
File "calibre_plugins.fanficfare_plugin.prefs", line 258, in getitem
KeyError: u'rejecturls'

@ggould256
Copy link

FYI: In the calibre database, updating the preferences -> namespaced:FanFicFarePlugin:settings item to have a rejecturls: [], in it solves this problem.

So the problem is probably a failure to create a key in the preferences if it is not already present.

@nzall
Copy link
Author

nzall commented Aug 13, 2020

@ggould256 Thanks for the advice. Where exactly do I update this?

@JimmXinu
Copy link
Owner

This is a bug.

I've released a new version with a fix, your Calibre will be able to see it after a while. Not sure how long that takes lately. You can manually install it from here if you want it immediately.

@nzall
Copy link
Author

nzall commented Aug 13, 2020

thanks for the quick fix. I'm a programmer myself, so I took the liberty of manually editing the plugin zip file and adding the fix myself. I assume that once the plugin is updated on the Calibre front, it'll either automatically overwrite it or I can force it to overwrite?

@JimmXinu
Copy link
Owner

Calibre doesn't do automatic updates, but it will eventually alert you that there's a newer plugin version and prompt you to install it.

@nzall
Copy link
Author

nzall commented Aug 13, 2020

Thanks. one last question that doesn't exactly have to do with this plugin, but I didn't want to create an entire issue for it: if I have jobs running when Calibre exits, do they automatically get picked back up and continued where they left off when I next start Calibre again? I accidentally started 2 long running fanfic downloads right before I wanted to go to bed...

narethdeer pushed a commit to narethdeer/FanFicFare that referenced this issue Sep 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants