|  02-11-2023, 05:41 PM | #8056 | |
| Plugin Developer            Posts: 7,127 Karma: 5005503 Join Date: Dec 2011 Location: Midwest USA Device: Kobo Clara Colour running KOReader | Quote: 
 Code: ## Literal strings can be set into custom columns using double quotes. ## Each metadata=>column mapping must be on a separate line and each ## needs to have one space at the start of each line. Except that setting an Integer type column to empty string doesn't clear it. In the Calibre GUI, the same is true: if you erase the contents of an int column, it automagically resets back to the previous value when you try to save it. You have to set it to a space to clear it. But setting an int column to " " (space) from the API throws an error from inside the Calibre code: Code: ValueError: invalid literal for int() with base 10: ' '   | |
|   |   | 
|  02-11-2023, 09:51 PM | #8058 | |
| Zealot            Posts: 135 Karma: 295674 Join Date: Jul 2021 Device: iPhone | Quote: 
 | |
|   |   | 
|  02-11-2023, 10:59 PM | #8059 | 
| Custom User Title            Posts: 11,351 Karma: 79528341 Join Date: Oct 2018 Location: Canada Device: Kobo Libra H2O, formerly Aura HD | 
			
			Note that if you have any non-numeric characters in a composite, you'll want to sort by text. For what it matters, my #purchasecost (non-taglike composite) sorts correctly in tag browser. | 
|   |   | 
|  02-12-2023, 05:12 AM | #8060 | |
| Zealot            Posts: 135 Karma: 295674 Join Date: Jul 2021 Device: iPhone | Quote: 
   | |
|   |   | 
|  02-12-2023, 12:49 PM | #8061 | 
| Custom User Title            Posts: 11,351 Karma: 79528341 Join Date: Oct 2018 Location: Canada Device: Kobo Libra H2O, formerly Aura HD | 
			
			huh, odd -- though since this is getting out of scope of FFF itself, perhaps post a thread in Library Management about it?
		 | 
|   |   | 
|  02-12-2023, 06:22 PM | #8062 | 
| Custom User Title            Posts: 11,351 Karma: 79528341 Join Date: Oct 2018 Location: Canada Device: Kobo Libra H2O, formerly Aura HD | 
			
			I'm having trouble copying the workskin of this (and holy crap wtf is this css?) to add_to_output_css - either errors with half the dialog off-screen (so I can't actually see the important part of the error) or just not working. Any suggestions?    Last edited by ownedbycats; 02-12-2023 at 06:33 PM. | 
|   |   | 
|  02-12-2023, 06:39 PM | #8063 | 
| Plugin Developer            Posts: 7,127 Karma: 5005503 Join Date: Dec 2011 Location: Midwest USA Device: Kobo Clara Colour running KOReader | 
			
			Read it online?  It's < 900 words.  The author's "work skin" style is literally longer than the story. AO3 "work skins" are the only in-line styles (search for style type="text/css") and for whatever reason they flatten the CSS. If you really must, you should be able to copy that and put a new line after every ';' without issues. UPDATE: Fun fact: AO3's own epub download doesn't include work skin CSS. Last edited by JimmXinu; 02-12-2023 at 06:42 PM. | 
|   |   | 
|  02-12-2023, 06:46 PM | #8064 | 
| Custom User Title            Posts: 11,351 Karma: 79528341 Join Date: Oct 2018 Location: Canada Device: Kobo Libra H2O, formerly Aura HD | 
			
			I took a look at my personal.ini, then ran the CSS through Notepad++ to strip out #workskin and double the %'s. It didn't work, but it didn't error... Eh, read this one on the site I guess.   | 
|   |   | 
|  02-14-2023, 01:15 PM | #8065 | |
| Zealot            Posts: 106 Karma: 4486 Join Date: Mar 2020 Location: Netherlands Device: i-pad | Quote: 
 So it must be some setting somewhere else that we can't think of. But ownedbycats is right, this is not an FFF issue but I don't know how/who strips in into a separate thread under library management. | |
|   |   | 
|  02-14-2023, 01:31 PM | #8066 | 
| Custom User Title            Posts: 11,351 Karma: 79528341 Join Date: Oct 2018 Location: Canada Device: Kobo Libra H2O, formerly Aura HD | |
|   |   | 
|  02-15-2023, 12:04 PM | #8067 | 
| Custom User Title            Posts: 11,351 Karma: 79528341 Join Date: Oct 2018 Location: Canada Device: Kobo Libra H2O, formerly Aura HD | 
			
			When adding a story section for an ffnet story, I copied the entire story URL including the title. Do I need it, or just the ID? (ffnet's restrictions make testing annoying.   ) Last edited by JimmXinu; 02-15-2023 at 12:10 PM. Reason: Moved to correct thread | 
|   |   | 
|  02-15-2023, 12:08 PM | #8068 | 
| Member  Posts: 13 Karma: 10 Join Date: Jan 2013 Device: Kindle Paperwhite (10th Gen) | 
			
			For the story https://www.royalroad.com/fiction/35...t-how-the-hell Sections hidden behind a spoiler tag on the web site are overwriting text from the story making it unreadable. Example pictures attached. | 
|   |   | 
|  02-15-2023, 12:58 PM | #8069 | ||
| Plugin Developer            Posts: 7,127 Karma: 5005503 Join Date: Dec 2011 Location: Midwest USA Device: Kobo Clara Colour running KOReader | Quote: 
 Code: [https://www.fanfiction.net/s/99999/1/] ... Quote: 
 Viewed in my Kindle (from AZW3--same problem shows in Calibre's Viewer), in a browser or even in Calibre's own Edit book the table scrolls right-left or is squashed to fit. If you change Calibre Viewer Preferences > Page Layout > Flow mode (instead of Page mode), the table is cut off instead of wrapped over the later text. I don't know how you'd get Calibre Viewer to do a better job, either with it's own settings or with additional CSS. Attached is a minimal epub containing only that chapter if anyone else would like to try. | ||
|   |   | 
|  02-16-2023, 07:40 PM | #8070 | 
| Connoisseur  Posts: 73 Karma: 76 Join Date: Apr 2019 Device: none | 
			
			It looks like Scribblehub changed something today that stops FFF from working.  It started from the first book I tried updating today, so it's not a throttling issue.  When I went to the site with my browser, I got a screen saying it was checking if my connection was secure.  I ran Calibre in debug and reran one to grab the log.  Here is the relevant section: Code: FFF: DEBUG: 2023-02-16 18:29:52,683: calibre_plugins.fanficfare_plugin.fff_plugin(1125): FanFicFare v4.20.0
FFF: INFO: 2023-02-16 18:29:52,930: calibre_plugins.fanficfare_plugin.prefs(215): Using default settings
FFF: DEBUG: 2023-02-16 18:29:52,964: configurable.py(1050): use_browser_cache:
FFF: DEBUG: 2023-02-16 18:29:52,964: configurable.py(1070): use_basic_cache:true
FFF: DEBUG: 2023-02-16 18:29:52,965: adapter_scribblehubcom.py(133): URL: https://www.scribblehub.com/series/279372/system-change/
FFF: DEBUG: 2023-02-16 18:29:52,965: cache_basic.py(116): 
========== MISS (GET) BasicCache
https://www.scribblehub.com/series/279372/system-change/
FFF: DEBUG: 2023-02-16 18:29:52,966: fetcher_requests.py(114): 
---------- REQ (GET) RequestsFetcher
https://www.scribblehub.com/series/279372/system-change/
FFF: DEBUG: 2023-02-16 18:29:53,121: fetcher_requests.py(127): response code:403
FFF: ERROR: 2023-02-16 18:29:53,121: calibre_plugins.fanficfare_plugin.dialogs(725): Exception: {'title': 'System Change', 'author_sort': 'SunriseCV', 'author': ['SunriseCV'], 'comments': '', 'good': False, 'status': 'Error', 'showerror': True, 'calibre_id': 1981, 'begin': None, 'end': None, 'comment': "HTTP Error in FFF '403 Client Error: Forbidden for url: https://www.scribblehub.com/series/279372/system-change/'(403)", 'url': 'https://www.scribblehub.com/series/279372/system-change/', 'site': 'www.scribblehub.com', 'series': '', 'added': False, 'pubdate': None, 'publisher': 'www.scribblehub.com', 'listorder': 0, 'collision': 'Update EPUB if New Chapters'}:HTTP Error in FFF '403 Client Error: Forbidden for url: https://www.scribblehub.com/series/279372/system-change/'(403)
Traceback (most recent call last):
  File "C:\Users\applegaa\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\fetchers\fetcher_requests.py", line 128, in request
  File "C:\Users\applegaa\AppData\Roaming\calibre\plugins\FanFicFare.zip\requests\models.py", line 943, in raise_for_status
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://www.scribblehub.com/series/279372/system-change/
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "calibre_plugins.fanficfare_plugin.dialogs", line 712, in do_loop
  File "calibre_plugins.fanficfare_plugin.fff_plugin", line 1331, in prep_download_loop
  File "calibre_plugins.fanficfare_plugin.fff_plugin", line 1211, in get_story_metadata_only
  File "C:\Users\applegaa\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\adapters\base_adapter.py", line 327, in getStoryMetadataOnly
  File "C:\Users\applegaa\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\adapters\base_adapter.py", line 431, in doExtractChapterUrlsAndMetadata
  File "C:\Users\applegaa\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\adapters\adapter_scribblehubcom.py", line 135, in extractChapterUrlsAndMetadata
  File "C:\Users\applegaa\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\requestable.py", line 119, in get_request
  File "C:\Users\applegaa\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\requestable.py", line 111, in get_request_redirected
  File "C:\Users\applegaa\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\fetchers\base_fetcher.py", line 133, in get_request_redirected
  File "C:\Users\applegaa\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\fetchers\cache_basic.py", line 122, in fetcher_do_request
  File "C:\Users\applegaa\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\fetchers\decorators.py", line 102, in fetcher_do_request
  File "C:\Users\applegaa\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\fetchers\base_fetcher.py", line 106, in do_request
  File "C:\Users\applegaa\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\fetchers\fetcher_requests.py", line 149, in request
fanficfare.exceptions.HTTPErrorFFF: HTTP Error in FFF '403 Client Error: Forbidden for url: https://www.scribblehub.com/series/279372/system-change/'(403)
FFF: DEBUG: 2023-02-16 18:29:56,267: calibre_plugins.fanficfare_plugin.fff_plugin(2136): update_error_column_loop bad System Change https://www.scribblehub.com/series/279372/system-change/ HTTP Error in FFF '403 Client Error: Forbidden for url: https://www.scribblehub.com/series/279372/system-change/'(403)
FFF: DEBUG: 2023-02-16 18:29:56,348: calibre_plugins.fanficfare_plugin.fff_plugin(1864): set_marked_ids:{1981: 'fff_failed_0000'}
FFF: DEBUG: 2023-02-16 18:29:56,365: calibre_plugins.fanficfare_plugin.fff_plugin(1873): Finished Adding/Updating 0 books.
FFF: DEBUG: 2023-02-16 18:29:56,365: calibre_plugins.fanficfare_plugin.fff_plugin(1876): removed tdir | 
|   |   | 
|  | 
| Tags | 
| fanfiction | 
| Thread Tools | Search this Thread | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| [GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 527 | 08-15-2025 01:36 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 |