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, 02:58 AM   #11431
ficfangirl
Junior Member
ficfangirl began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Feb 2024
Device: Thinkpad laptop T480
Quote:
Originally Posted by KJS View Post
Hey, my normal method of keeping track of AO3 fics I need to add to calibre is to add them to my "mark for later" list, and then use the "get story URLs from webpage" option to collect them quickly. I just ran the latest update, and although I can add individual fics just fine, or use the buttons to get several URLs from a series or author page, the mark for later page gives me this error:


calibre, version 8.13.0
ERROR: Unhandled exception: <b>KeyError</b>:'href'

calibre 8.13 Portable embedded-python: True
Windows-10-10.0.26200-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.26200')
Python 3.11.14
Windows: ('10', '10.0.26200', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Users\username\OneDrive\Calibre Portable\Calibre\calibre.exe
Successfully initialized third party plugins: Diaps Editing Toolbag (0, 5, 0) && EpubMerge (3, 2, 0) && EpubSplit (3, 12, 0) && FanFicFare (4, 50, 0) && Find Duplicates (1, 10, 9) && Library Splitter (1, 0, 7) && Reading List (1, 15, 6)
Traceback (most recent call last):
File "calibre_plugins.fanficfare_plugin.fff_plugin" , line 712, in get_urls_from_page_menu
File "calibre_plugins.fanficfare_plugin.fff_plugin" , line 735, in get_urls_from_page
File "C:\Users\username\OneDrive\Calibre Portable\Calibre Settings\plugins\FanFicFare.zip\fanficfare\geturls .py", line 44, in get_urls_from_page
File "C:\Users\username\OneDrive\Calibre Portable\Calibre Settings\plugins\FanFicFare.zip\fanficfare\adapter s\base_adapter.py", line 504, in get_urls_from_page
File "C:\Users\username\OneDrive\Calibre Portable\Calibre Settings\plugins\FanFicFare.zip\fanficfare\adapter s\base_otw_adapter.py", line 688, in get_series_from_page
File "C:\Users\username\OneDrive\Calibre Portable\Calibre Settings\plugins\FanFicFare.zip\fanficfare\adapter s\base_otw_adapter.py", line 688, in <listcomp>
File "bs4\element.py", line 1573, in __getitem__
KeyError: 'href'






Blind googling has gotten me nowhere, any suggestions?
I started to get the same error code on AO3 about an hour ago. I'm using use_archive_transformativeworks_org:true
ficfangirl is offline   Reply With Quote
Old Yesterday, 11:38 AM   #11432
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: 7,135
Karma: 5005503
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by KJS View Post
Successfully initialized third party plugins: Diaps Editing Toolbag (0, 5, 0) && EpubMerge (3, 2, 0) && EpubSplit (3, 12, 0) && FanFicFare (4, 50, 0)
...
File "bs4\element.py", line 1573, in __getitem__
KeyError: 'href'
You're on the last released version. Current test version is fixed for this.
JimmXinu is offline   Reply With Quote
Advert
Old Yesterday, 11:58 AM   #11433
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: 7,135
Karma: 5005503
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2025-11-02
- writer_epub: Only do svg check for epub3

So people using epub2 (the default) don't pay the extra processing penalty.
JimmXinu is offline   Reply With Quote
Old Yesterday, 03:40 PM   #11434
ficfangirl
Junior Member
ficfangirl began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Feb 2024
Device: Thinkpad laptop T480
Quote:
Originally Posted by JimmXinu View Post
You're on the last released version. Current test version is fixed for this.
The href error started for me last night. I have the most recent version of FFF and am using transformative works. Here's the detail I'm getting for the error:

calibre 8.13 embedded-python: True
Windows-10-10.0.26100-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.26100')
Python 3.11.14
Windows: ('10', '10.0.26100', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre.exe
Successfully initialized third party plugins: FanFicFare (4, 50, 0)
Traceback (most recent call last):
File "calibre_plugins.fanficfare_plugin.fff_plugin" , line 712, in get_urls_from_page_menu
File "calibre_plugins.fanficfare_plugin.fff_plugin" , line 735, in get_urls_from_page
File "C:\Users\Robin\AppData\Roaming\calibre\plugins\Fa nFicFare.zip\fanficfare\geturls.py", line 44, in get_urls_from_page
File "C:\Users\Robin\AppData\Roaming\calibre\plugins\Fa nFicFare.zip\fanficfare\adapters\base_adapter.py", line 504, in get_urls_from_page
File "C:\Users\Robin\AppData\Roaming\calibre\plugins\Fa nFicFare.zip\fanficfare\adapters\base_otw_adapter. py", line 688, in get_series_from_page
File "C:\Users\Robin\AppData\Roaming\calibre\plugins\Fa nFicFare.zip\fanficfare\adapters\base_otw_adapter. py", line 688, in <listcomp>
File "bs4\element.py", line 1573, in __getitem__
KeyError: 'href'
ficfangirl is offline   Reply With Quote
Old Yesterday, 03:47 PM   #11435
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: 7,135
Karma: 5005503
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ficfangirl View Post
The href error started for me last night. I have the most recent version of FFF and am using transformative works. Here's the detail I'm getting for the error:

Successfully initialized third party plugins: FanFicFare (4, 50, 0)
Again, you are on the last released version.

The posted test version, 4.50.4, has that fix already. See link in my signature or see the second post of the thread.

If you are unable or unwilling to download and install the test version, you will have to wait until the next release.

We're a little off the regular schedule right now, so that may be a bit yet. I want to give the epub output changes some time for testing before releasing again.
JimmXinu is offline   Reply With Quote
Advert
Old Yesterday, 03:58 PM   #11436
ficfangirl
Junior Member
ficfangirl began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Feb 2024
Device: Thinkpad laptop T480
Quote:
Originally Posted by JimmXinu View Post
Again, you are on the last released version.

The posted test version, 4.50.4, has that fix already. See link in my signature or see the second post of the thread.

If you are unable or unwilling to download and install the test version, you will have to wait until the next release.

We're a little off the regular schedule right now, so that may be a bit yet. I want to give the epub output changes some time for testing before releasing again.
Eureka! I successfully installed the new test version and it worked! Thanks!
ficfangirl is offline   Reply With Quote
Old Yesterday, 07:16 PM   #11437
slimcat
Member
slimcat began at the beginning.
 
Posts: 10
Karma: 10
Join Date: May 2025
Device: none
Quote:
Originally Posted by JimmXinu View Post
I want to give the epub output changes some time for testing before releasing again.
Quick follow up on this. I've done more testing and the epub 3 cover retention is working great (thank you again, you are a saint among men ).

I did notice one small issue: the manifest item for the actual cover image loses properties="cover-image" during update. This happens with both SVG and non-SVG covers.

Since epub 2 fallbacks are being added (which is a bonus as far as I'm concerned!), thumbnails are still showing fine. But I’m worried that without the epub 3 cover property they might be a little flaky. I think Apple Books in particular suffers from the curse of the disappearing thumbnail (ask me how I know).

Would it be possible for FFF to keep or re-add properties="cover-image" on the cover image item during update?

*Minor technical note: I also noticed that the update process removes the calibre prefix from the package header. This triggers an 'Undeclared prefix' error in EPUBCheck. From my understanding, there's no real functional impact, but just wanted to mention it.
Attached Thumbnails
Click image for larger version

Name:	1 - Before update.jpg
Views:	6
Size:	670.0 KB
ID:	219029   Click image for larger version

Name:	2 - After update.jpg
Views:	5
Size:	687.1 KB
ID:	219030   Click image for larger version

Name:	epubcheck error.png
Views:	7
Size:	87.0 KB
ID:	219031  
slimcat is offline   Reply With Quote
Old Yesterday, 10:16 PM   #11438
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: 7,135
Karma: 5005503
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2025-11-02
- writer_epub: Only do svg check for epub3
- writer_epub: More epub3 - prefix & prop cover-image
- Don't include default_cover_image with use_old_cover with a different name.



Quote:
Originally Posted by slimcat View Post
I did notice one small issue: the manifest item for the actual cover image loses properties="cover-image" during update. This happens with both SVG and non-SVG covers.
That wasn't losing on update, so much as FFF never wrote it at all. Added.

Quote:
Originally Posted by slimcat View Post
*Minor technical note: I also noticed that the update process removes the calibre prefix from the package header. This triggers an 'Undeclared prefix' error in EPUBCheck. From my understanding, there's no real functional impact, but just wanted to mention it.
Added.

While testing these changes, I also found that if you had both default_cover_image and use_old_cover set, and injected a cover (changing the cover name), FFF was still downloading and including the default_cover_image, just without anything referring to it.
JimmXinu 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 527 08-15-2025 02:36 PM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 06:42 AM
[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 03:26 AM.


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