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-06-2021, 03:04 PM   #6166
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,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Bluesnowan View Post
Every time I use the plugin it asks me to configure custom columns I click ok. And since I am new to calibre and don't want to screw anything up I don't change anything. but it asks me each time what am I doing wrong?
I don't remember anything in FFF that would do that. What exactly does it say?
JimmXinu is online now   Reply With Quote
Old 07-06-2021, 03:18 PM   #6167
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 Philosophize View Post
There are two: default-release and default

I would have only expected one, default, and it says that the first (default-release) is the one in use. That is also the cache directory I'm using.

Is this normal/expected, or does this suggest a problem?

I only installed Firefox as a means for trying to get FFF to work and the only plugin is WebtoEpub, and that was only about a month ago now. So if any sort of corruption has creeped in, it happened really fast.
WebToEpub shouldn't cause any issue. The cache path you should be using is the one for the profile in use, so what you have should be the correct one. It is also perfectly acceptable to have more than one profile - you just can only use one of them at a time.

Got to ask JimmXinu a question before I make my next suggestion to try.


JimmXinu,

I understand that the personal.ini settings for the plugin version of FFF are stored within the Calibre library database. If I delete the FFF plugin from a Calibre installation, are all the FFF settings data left in the library database (and thus going to affect a reinstallation of the plugin), or are they removed along with the plugin? If I export the contents of my library and import them to a new library, do the old FFF settings from the prior library database go along with the export/import of files to the new library?

The reason I am asking is that I'm trying to figure out a way to create a new library that I can ensure doesn't inherit any of the FFF personal.ini settings from an existing library for troubleshooting purposes.

I have a test installation on a Windows virtual machine that is randomly failing exactly like Philosophize is describing when using the browser cache in Firefox. I managed to get it working today, but nothing I did should have caused it to start working so I'm wondering if there might be some kind of corruption in the part of the Calibre library containing the FFF settings. The next time it fails, I'll run the cache log version of FFF you provided and save the log along with the zipped cache folder and personal.ini settings file to check over.

Last edited by steltek; 07-07-2021 at 03:10 AM.
steltek is offline   Reply With Quote
Old 07-06-2021, 04:55 PM   #6168
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,025
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I uninstalled FFF once while trying to identify a misbehaving plugin. My settings were intact when I reinstalled it.

If you absolutely want to clear your preferences, you'll want to go to FanFicFare Config > Other > View Library Preferences and then use the Clear button there. I believe this'll only apply to the current library.

If you use "copy structure from existing library" while setting up a new library it copies over the preferences.

Last edited by ownedbycats; 07-06-2021 at 05:01 PM.
ownedbycats is offline   Reply With Quote
Old 07-06-2021, 06:04 PM   #6169
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 ownedbycats View Post
I uninstalled FFF once while trying to identify a misbehaving plugin. My settings were intact when I reinstalled it.

If you absolutely want to clear your preferences, you'll want to go to FanFicFare Config > Other > View Library Preferences and then use the Clear button there. I believe this'll only apply to the current library.

If you use "copy structure from existing library" while setting up a new library it copies over the preferences.
That is exactly what I am looking for. Thanks!
steltek is offline   Reply With Quote
Old 07-06-2021, 06:21 PM   #6170
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,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Yes, settings are kept in the library database. For convenience' sake, the first time you invoke FFF in a new library, your settings from the previously selected library are copied.

But, as ownedbycats pointed out, you can always wipe all FFF settings for a library.
JimmXinu is online now   Reply With Quote
Old 07-06-2021, 06:30 PM   #6171
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,025
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Just curious, what would happen if you created a new clean library when the "custom columns" tab references columns that don't exist? Does it just automatically null those out?
ownedbycats is offline   Reply With Quote
Old 07-06-2021, 07:49 PM   #6172
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,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
They won't work (obviously) and won't display in config. Will be reset when you change it.

If you really want to know, try it and see.
JimmXinu is online now   Reply With Quote
Old 07-07-2021, 03:36 AM   #6173
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 Philosophize View Post
There are two: default-release and default

I would have only expected one, default, and it says that the first (default-release) is the one in use. That is also the cache directory I'm using.

Is this normal/expected, or does this suggest a problem?

I only installed Firefox as a means for trying to get FFF to work and the only plugin is WebtoEpub, and that was only about a month ago now. So if any sort of corruption has creeped in, it happened really fast.
Ok, this is the only other thing I know to try to do. I do recommend you back up your library, though, before you do this just to cover yourself. It shouldn't affect the library contents, but it is always best to be safe rather than sorry.

It worked immediately on my malfunctioning virtual machine installation (i.e. it was nonfunctional no matter what I did, I tried this, and it became immediately functional), but you are on a different OS so YMMV. However, this installation was doing exactly what yours is (i.e. throwing the exact same cache error even though the file(s) it was looking for were visually verified by me to be in the Firefox browser cache and less than a couple minutes old before running FFF), so it is probably worth the effort of trying.

I'd restart your machine before beginning.

Go in to the FanFicFare configuration, edit personal.ini, and copy/paste the entire contents of personal.ini into a text file so you won't loose them.

Then, in the FanFicFare configuration, go all the way over to the right to the "Other" menu. At the bottom of the Other menu, there is an option labeled "View Library Preferences". Click on it. At the bottom of the window that comes up, there are two options, a 'Clear' button and a 'Ok' button. Hit the clear button, answer "yes" when asked if you are sure, and and then hit the ok button. This will reset the FFF options in Personal.ini and within the Calibre library database to their defaults. It should then prompt you to restart Calibre, which you should do.

Once Calibre restarts, go back in to edit personal.ini. To start with, I would only type (not copy and paste) the following into personal.ini:

under [defaults]
browser_cache_path:(re-enter your browser cache path here)

under [overrides]

[www.fanfiction.net]
use_browser_cache:true
browser_cache_age_limit:4.0
use_browser_cache_only:true

The last line above is just for testing only (you can remove it later if you want). Save personal.ini. Shut down Calibre, then reopen it.

Clear the browser cache in Firefox. Close Firefox, then reopen it. Then, try to page through a fic (preferably a new one first) to get the pages in the browser cache. Close Firefox (per JimmXinu's prior suggestion several posts back regarding file locking issues with the browser cache folder) and then try to run FFF. If that works, you can try to update a fic as well using the same process. Once everything is working, you can begin to restore any other personalized prior settings to match the saved personal.ini text file (again, I'd retype them and not copy/paste).

If doing this process doesn't work for you, I am completely and utterly out of ideas. However, as before stated, my nonfunctional installation became immediately functional after I did this process. Now, whether it will stay functional long-term, I guess we'll have to just wait and see....

Last edited by steltek; 07-07-2021 at 03:40 AM.
steltek is offline   Reply With Quote
Old 07-08-2021, 02:30 AM   #6174
Bluesnowan
Member
Bluesnowan began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Jul 2021
Device: Android phone/tablet win 10 pc
Where would you suggest I go to learn what I need to to write a script or whatever is needed so I can have FFF get stuff from Patron.com
Bluesnowan is offline   Reply With Quote
Old 07-08-2021, 10:14 AM   #6175
kamille3
Connoisseur
kamille3 began at the beginning.
 
Posts: 50
Karma: 10
Join Date: Jul 2021
Device: None
I have tons of authors favorited in my literotica profile. How do I go about downloading all their stories in one go with FFF?
kamille3 is offline   Reply With Quote
Old 07-08-2021, 10:28 AM   #6176
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,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Bluesnowan View Post
Where would you suggest I go to learn what I need to to write a script or whatever is needed so I can have FFF get stuff from Patron.com
FFF is an open source project in Python hosted here.

I'm not comfortable offering much more help than that for downloading paid content.

I would probably not accept contributed code for downloading paid content at this point.

Quote:
Originally Posted by kamille3 View Post
I have tons of authors favorited in my literotica profile. How do I go about downloading all their stories in one go with FFF?
Look at FFF's 'Get Story URLs from Web Page' feature. And this FAQ about mass updates. The same cautions apply to mass downloads. My general rule is no more than a dozen stories at a time.
JimmXinu is online now   Reply With Quote
Old 07-08-2021, 10:48 AM   #6177
kamille3
Connoisseur
kamille3 began at the beginning.
 
Posts: 50
Karma: 10
Join Date: Jul 2021
Device: None
FFF gives me SSL error whenever I'm using a proxy connection. Any workaround to this?
kamille3 is offline   Reply With Quote
Old 07-08-2021, 09:21 PM   #6178
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by kamille3 View Post
FFF gives me SSL error whenever I'm using a proxy connection. Any workaround to this?
What is the error? Without that, we don't know where to look for what could be the problem.
davidfor is offline   Reply With Quote
Old 07-09-2021, 03:48 AM   #6179
kamille3
Connoisseur
kamille3 began at the beginning.
 
Posts: 50
Karma: 10
Join Date: Jul 2021
Device: None
Quote:
Originally Posted by davidfor View Post
What is the error? Without that, we don't know where to look for what could be the problem.
I only get this error when using a http proxy.

Code:
calibre, version 5.23.0
ERROR: Unhandled exception: <b>SSLError</b>:HTTPSConnectionPool(host='www.literotica.com', port=443): Max retries exceeded with url: /stories/memberpage.php?uid=475474&amp;page=submissions (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1123)')))

calibre 5.23 [64bit]  embedded-python: True is64bit: True
Windows-8.1-6.3.9600 Windows ('64bit', 'WindowsPE')
('Windows', '8.1', '6.3.9600')
Python 3.8.5
Windows: ('8.1', '6.3.9600', '', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: FanFicFare (4, 3, 0)
Traceback (most recent call last):
  File "C:\Users\MY-pc\AppData\Roaming\calibre\plugins\FanFicFare.zip\urllib3\connectionpool.py", line 696, in urlopen
  File "C:\Users\MY-pc\AppData\Roaming\calibre\plugins\FanFicFare.zip\urllib3\connectionpool.py", line 964, in _prepare_proxy
  File "C:\Users\MY-pc\AppData\Roaming\calibre\plugins\FanFicFare.zip\urllib3\connection.py", line 359, in connect
  File "C:\Users\MY-pc\AppData\Roaming\calibre\plugins\FanFicFare.zip\urllib3\connection.py", line 496, in _connect_tls_proxy
  File "C:\Users\MY-pc\AppData\Roaming\calibre\plugins\FanFicFare.zip\urllib3\util\ssl_.py", line 432, in ssl_wrap_socket
  File "C:\Users\MY-pc\AppData\Roaming\calibre\plugins\FanFicFare.zip\urllib3\util\ssl_.py", line 474, in _ssl_wrap_socket_impl
  File "ssl.py", line 500, in wrap_socket
  File "ssl.py", line 1040, in _create
  File "ssl.py", line 1309, in do_handshake
ssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1123)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\MY-pc\AppData\Roaming\calibre\plugins\FanFicFare.zip\requests\adapters.py", line 439, in send
  File "C:\Users\MY-pc\AppData\Roaming\calibre\plugins\FanFicFare.zip\urllib3\connectionpool.py", line 755, in urlopen
  File "C:\Users\MY-pc\AppData\Roaming\calibre\plugins\FanFicFare.zip\urllib3\util\retry.py", line 573, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.literotica.com', port=443): Max retries exceeded with url: /stories/memberpage.php?uid=475474&page=submissions (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1123)')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre_plugins.fanficfare_plugin.fff_plugin", line 654, in get_urls_from_page_menu
  File "calibre_plugins.fanficfare_plugin.fff_plugin", line 677, in get_urls_from_page
  File "C:\Users\MY-pc\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\geturls.py", line 45, in get_urls_from_page
  File "C:\Users\MY-pc\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\adapters\base_adapter.py", line 443, in get_urls_from_page
  File "C:\Users\MY-pc\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\requestable.py", line 114, in get_request
  File "C:\Users\MY-pc\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\requestable.py", line 106, in get_request_redirected
  File "C:\Users\MY-pc\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\fetcher.py", line 390, in get_request_redirected
  File "C:\Users\MY-pc\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\fetcher.py", line 240, in fetcher_do_request
  File "C:\Users\MY-pc\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\fetcher.py", line 136, in fetcher_do_request
  File "C:\Users\MY-pc\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\fetcher.py", line 363, in do_request
  File "C:\Users\MY-pc\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\fetcher.py", line 443, in request
  File "C:\Users\MY-pc\AppData\Roaming\calibre\plugins\FanFicFare.zip\requests\sessions.py", line 542, in request
  File "C:\Users\MY-pc\AppData\Roaming\calibre\plugins\FanFicFare.zip\requests\sessions.py", line 655, in send
  File "C:\Users\MY-pc\AppData\Roaming\calibre\plugins\FanFicFare.zip\requests\adapters.py", line 514, in send
requests.exceptions.SSLError: HTTPSConnectionPool(host='www.literotica.com', port=443): Max retries exceeded with url: /stories/memberpage.php?uid=475474&page=submissions (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1123)')))
kamille3 is offline   Reply With Quote
Old 07-09-2021, 10:21 AM   #6180
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,025
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Question: Should 'Update ePub Cover' re-generate a cover created with GC?

I have my GC profile set to show {#fanficstatus}. I noticed a fic had completed and ticked the "Update ePub Cover" in the download dialog to update it. But the cover didn't change and still showed In-Progress.

Relevant settings in screenshot. Note that I use generate_cover_settings in personal.ini instead of the dropdown dialogs in the config.
Attached Thumbnails
Click image for larger version

Name:	2021-07-09 11_18_52-Customize FanFicFare.png
Views:	140
Size:	42.0 KB
ID:	188104  
ownedbycats 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 09:48 AM.


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