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:50 AM   #11671
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,274
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by belton180 View Post
When updating multiple fics from sufficient velocity, all failed with the following error: Background Job Failed, see Calibre Jobs log.

After checking each fic one by one, only one fic remained with the error.

The URL is https://forums.sufficientvelocity.co...-quest.136754/ and attached is a copy of the debug log.
That a problem we've seen before in github issue 1298. In fact, it was with the same story.

It's caused by Calibre's image processing not handling SVG files well in background jobs (it's Qt's fault, as usual).

FFF has code to not process SVG files, but it looks specifically for '.svg' and that story has SVG files named like ".../research_sfdp-svg.7211/"

You can avoid it by using no_image_processing_regexp to not do image processing on any file containing 'svg' in the URL:
Code:
[https://forums.sufficientvelocity.com/threads/vox-vitae-warhammer-ai-quest.136754]
no_image_processing_regexp:svg

This has come up twice now, but OTOH, it's in the same story. I will do a bit more investigation about whether that setting should be in defaults.ini, or the .svg avoidance code expanded. Or we chalk it up to one weird story...
JimmXinu is offline   Reply With Quote
Old Yesterday, 01:35 PM   #11672
HoppHagg
Junior Member
HoppHagg began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Feb 2026
Location: Germany
Device: Moon+ Reader Pro (Android 15)
Hi JimmXinu,

I've attached the requested the log.

Thank you :-)
Attached Files
File Type: txt calibre-debug-log.txt (30.4 KB, 3 views)
HoppHagg is offline   Reply With Quote
Advert
Old Yesterday, 02:07 PM   #11673
HoppHagg
Junior Member
HoppHagg began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Feb 2026
Location: Germany
Device: Moon+ Reader Pro (Android 15)
Quote:
Originally Posted by HoppHagg View Post
Hi JimmXinu,

I've attached the requested the log.

Thank you :-)
For comparison I've attached the debug log for version 4.53, maybe that's helpful. Thanks :-)
Attached Files
File Type: txt fanficfare_4-54-2.txt (30.4 KB, 1 views)
File Type: txt fanficfare_4-53-0.txt (20.6 KB, 2 views)
HoppHagg is offline   Reply With Quote
Old Yesterday, 02:25 PM   #11674
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,274
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by HoppHagg View Post
Hi JimmXinu,

I've attached the requested the log.

Thank you :-)
This is being caused by embedded fonts in CSS being interpreted by FFF as images. I forgot CSS url() could be used for fonts when I wrote that code.

To determine how FFF should handle this, I first need to know how did you get embedded fonts in the first place?
JimmXinu is offline   Reply With Quote
Old Yesterday, 02:48 PM   #11675
HoppHagg
Junior Member
HoppHagg began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Feb 2026
Location: Germany
Device: Moon+ Reader Pro (Android 15)
I've downloaded the font from here "https://papierlos-lesen.de/bookerly-fuer-cybook-kobo-pocketbook/" and installed them via 'windows/control panel/fonts'.

Then I use at first the 'modify epub' plugin and afterwards I use calibre's internal 'convert' function, where I can select to embed the desired font.

Thanks in advance, Marc
HoppHagg is offline   Reply With Quote
Advert
Old Yesterday, 03:02 PM   #11676
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,274
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by HoppHagg View Post
I've downloaded the font from here "https://papierlos-lesen.de/bookerly-fuer-cybook-kobo-pocketbook/" and installed them via 'windows/control panel/fonts'.

Then I use at first the 'modify epub' plugin and afterwards I use calibre's internal 'convert' function, where I can select to embed the desired font.
Okay. I will fix FFF to not fail entirely on embedded fonts.

But FFF will not keep embedded fonts on update. That's how it worked in v4.53, too.
JimmXinu is offline   Reply With Quote
Old Yesterday, 03:29 PM   #11677
HoppHagg
Junior Member
HoppHagg began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Feb 2026
Location: Germany
Device: Moon+ Reader Pro (Android 15)
JimmXinu, thank you very much for your quick replies :-)

Kind regards, Marc
HoppHagg is offline   Reply With Quote
Old Yesterday, 03:52 PM   #11678
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,274
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2026-02-05
- Ignore CSS url() when ttf/otf/woff/woff2 font files

For HoppHagg, only matters if user has manually embedded font files. Note that FFF will discard the embedded font files on update, but will not crash now.
JimmXinu is offline   Reply With Quote
Old Yesterday, 04:20 PM   #11679
HoppHagg
Junior Member
HoppHagg began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Feb 2026
Location: Germany
Device: Moon+ Reader Pro (Android 15)
Quote:
Originally Posted by JimmXinu View Post
New Test Version Posted

2026-02-05
- Ignore CSS url() when ttf/otf/woff/woff2 font files
This version works flawlessly, again, many thanks, JimmXinu :-)

Kind regards, Marc
HoppHagg is offline   Reply With Quote
Old Yesterday, 06:14 PM   #11680
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,274
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2026-02-05
- Ignore CSS url() when ttf/otf/woff/woff2 font files
- Additional checks for svg images to reject--Calibre only. Related to #1298


Quote:
Originally Posted by HoppHagg View Post
This version works flawlessly, again, many thanks, JimmXinu :-)

Kind regards, Marc



Regarding belton180's issue with a weirdly named svg URL:
Spoiler:
Code:
https://forums.sufficientvelocity.com//attachments/research_sfdp-svg.7211/


I'm not prepared to reject all images with 'svg' in the URL--I can absolutely see someone naming their converted file logo_svg.jpg.

But I did add some code to look at the first 1000 bytes of each image for '<svg ' or 'xmlns="http://www.w3.org/2000/svg".
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 529 01-28-2026 11:32 AM
[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 09:06 AM.


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