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 Yesterday, 11:16 AM   #10381
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,705
Karma: 4600391
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by RoundRobbinReadz View Post
I think this is a simple ish question, but I can't find the answer. So, hence, my first post. I'll ask in two parts. This is using the Calibre plugin version of FanFicFare.

I created a custom column, in Calibre. Custom column name. Needs to be labeled in personal.ini. What's the code to do this? The label / name and any other lines of code needed?
I'm not sure what you mean, but I think you assume a greater degree of FFF-Calibre integration than exists.

I refer to the data FFF collects and handles as "metadata entries", which are separate from Calibre data, AKA columns. Simplifying a bit, FFF metadata entries are divided into 'standard' entries collected for most/all sites and 'site specific' entries that are only used by that site. For example, every site has title and author; snapeflavours is potionsandsnitches.org only.

If you want FFF to populate a Calibre custom column on download/update, you can set it in the FFF Custom Columns config tab (for standard metadata entries) in personal.ini with custom_columns_settings.

If you want a Calibre custom column to appear in your ebooks' title page on update (it's assumed the Calibre book is created during initial download), there's a checkbox in the FFF personal.ini config tab 'Pass Calibre Columns into FanFicFare on Update/Overwrite', and a button to show you want what FFF metadata entry names each column will be placed in. They will automatically be labeled the same as the Calibre Columns.

You can then used those metadata entry names in titlepage_entries or logpage_entries.

Quote:
Originally Posted by RoundRobbinReadz View Post
Second part of the question:
Where would I look to find this information? Is there a wiki or FAQ I've missed? Any central location with links to the many resources designed to learn the basics of formatting custom columns in Calibre/FFF? Feels like I'm just missing a link tree or something similar.
The FFF github project has a wiki which also has an FAQ.

A lot of INI settings are documented primarily in defaults.ini. You can see the defaults.ini for FFF Calibre plugin from the button on the FFF personal.ini config tab , or on github.
JimmXinu is offline   Reply With Quote
Old Yesterday, 10:50 PM   #10382
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,705
Karma: 4600391
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
New Test Version Posted

2025-02-23
- For adapter_mcstoriescom: Remove /../ from Get Story URLs from web page
- adapter_mcstoriescom: Suppress site URLs that look like stories but aren't. #1160
JimmXinu is offline   Reply With Quote
Old Yesterday, 11:45 PM   #10383
ernand
Junior Member
ernand began at the beginning.
 
ernand's Avatar
 
Posts: 2
Karma: 10
Join Date: Jul 2024
Device: calibre
A problem that suddenly started happening to me is that FFF is asking for my AO3 login information to update my fics. I already have that information on the .ini, and I have not changed it.

I keep getting the Error: Failed to Login for URL: https://archiveofourown.org/works/57...iew_adult=true) with username: (Ernand)
ernand is offline   Reply With Quote
Old Today, 12:09 AM   #10384
theladyoffangorn
Junior Member
theladyoffangorn began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2025
Device: Lenovo Thinkpad T580
Quote:
Originally Posted by ernand View Post
A problem that suddenly started happening to me is that FFF is asking for my AO3 login information to update my fics. I already have that information on the .ini, and I have not changed it.

I keep getting the Error: Failed to Login for URL: https://archiveofourown.org/works/57...iew_adult=true) with username: (Ernand)
I am having the same issue, started this evening. I have checked and I am using latest version of both Calibre and FFF, and have checked my personal.ini and it is correct (and worked for the last month).
theladyoffangorn is offline   Reply With Quote
Old Today, 12:30 AM   #10385
theladyoffangorn
Junior Member
theladyoffangorn began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2025
Device: Lenovo Thinkpad T580
This is the entire error message I'm getting. Tried logging out from AO3 on any other devices
calibre, version 7.26.0
ERROR: Unhandled exception: <b>FailedToLogin</b>:Failed to Login for URL: (https://archiveofourown.org/users/Th...marks?page=156) with username: (TheLadyOfFangorn)

calibre 7.26 embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.11.5
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre.exe
Successfully initialized third party plugins: FanFicFare (4, 42, 0)
Traceback (most recent call last):
File "calibre_plugins.fanficfare_plugin.fff_plugin" , line 711, in get_urls_from_page_menu
File "calibre_plugins.fanficfare_plugin.fff_plugin" , line 734, in get_urls_from_page
File "C:\Users\rick\AppData\Roaming\calibre\plugins\Fan FicFare.zip\fanficfare\geturls.py", line 44, in get_urls_from_page
File "C:\Users\rick\AppData\Roaming\calibre\plugins\Fan FicFare.zip\fanficfare\adapters\base_adapter.py", line 474, in get_urls_from_page
File "C:\Users\rick\AppData\Roaming\calibre\plugins\Fan FicFare.zip\fanficfare\adapters\base_otw_adapter.p y", line 605, in before_get_urls_from_page
File "C:\Users\rick\AppData\Roaming\calibre\plugins\Fan FicFare.zip\fanficfare\adapters\base_otw_adapter.p y", line 127, in performLogin
fanficfare.exceptions.FailedToLogin: Failed to Login for URL: (https://archiveofourown.org/users/Th...marks?page=156) with username: (TheLadyOfFangorn)
theladyoffangorn is offline   Reply With Quote
Old Today, 03:09 AM   #10386
readerboy7
Enthusiast
readerboy7 began at the beginning.
 
Posts: 45
Karma: 10
Join Date: Dec 2014
Device: Kindle Paperwhite
I am unable to download the following fanfic from AO3: https://archiveofourown.org/works/49500382 (locked to registered users only)

Calibre 7.26, FanFicFare v4.42.0
Personal.ini does contain my username and password

Error message when run through calibre is
'NoneType' object has no attribute 'get_text'

Error message when run via
calibre-debug.exe --run-plugin FanFicFare -- https://archiveofourown.org/works/49500382
is
Code:
Traceback (most recent call last):
  File "runpy.py", line 198, in _run_module_as_main
  File "runpy.py", line 88, in _run_code
  File "site.py", line 83, in <module>
  File "site.py", line 78, in main
  File "site.py", line 50, in run_entry_point
  File "calibre\debug.py", line 289, in main
  File "calibre_plugins.fanficfare_plugin.__init__", line 146, in cli_main
  File "C:\Users\{Name}\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\cli.py", line 346, in main
  File "C:\Users\{Name}\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\cli.py", line 322, in dispatch
  File "C:\Users\{Name}\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\cli.py", line 437, in do_download
  File "C:\Users\{Name}\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\adapters\base_adapter.py", line 342, in getStoryMetadataOnly
  File "C:\Users\{Name}\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\adapters\base_adapter.py", line 446, in doExtractChapterUrlsAndMetadata
  File "C:\Users\{Name}\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\adapters\base_otw_adapter.py", line 199, in extractChapterUrlsAndMetadata
  File "C:\Users\{Name}\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\htmlcleanup.py", line 77, in stripHTML
AttributeError: 'NoneType' object has no attribute 'get_text'
I have been able to download other fanfics from AO3 recently, but I don't think any of them were registered users only.

(Edit: windows 10 computer, if that matters)
readerboy7 is offline   Reply With Quote
Old Today, 03:58 AM   #10387
grimorie
Enthusiast
grimorie began at the beginning.
 
Posts: 27
Karma: 10
Join Date: Feb 2017
Device: Kobo Clara HD
Quote:
Originally Posted by ernand View Post
A problem that suddenly started happening to me is that FFF is asking for my AO3 login information to update my fics. I already have that information on the .ini, and I have not changed it.

I keep getting the Error: Failed to Login for URL: https://archiveofourown.org/works/57...iew_adult=true) with username: (Ernand)
I have the same problem with downloading from Ao3 asking for login, I'm using a mac, if that helps.
grimorie is offline   Reply With Quote
Reply

Tags
fanfiction


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 06:42 AM
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 506 02-14-2025 10:52 PM
[GUI Plugin] Marvin XD Philantrop Plugins 126 01-29-2017 01:48 PM
[GUI Plugin] KiNotes -axel- Plugins 0 07-14-2013 07:39 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 01:27 PM


All times are GMT -4. The time now is 05:09 AM.


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