View Single Post
Old 03-01-2018, 11:29 AM   #27
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,874
Karma: 6120478
Join Date: Nov 2009
Device: many
Okay, I have now pushed commits to flightcrew master to hopefully handle this a bit better.

Instead of silently barfing up an exception and terminating when an url to an external resource is not properly utf-8 encoded, flightcrew will now simply print a a warning to stderr so that the end user knows something is up.

Flightcrew will not report a real error or warning in this case as that path may be a legitimate file path on that external server and it is properly url encoded latin-1.


Here is a result of flightcrew-plugin built with the new code running on an unpacked copy of your problem epub:

Code:
KevinsiMac:Desktop kbhend$ ./flightcrew-plugin hug/
Warning: URL Not properly utf-8 encoded: https://www.normacomics.com/ficha.as...crees_que_eres
No problems found.
This should enable you to track down these strange urls in your code and if needed "fix" them if they even indeed need to be "fixed".

So please pull from flightcrew master and rebuild and let me know if this works better for you.

Last edited by KevinH; 03-01-2018 at 12:11 PM.
KevinH is online now   Reply With Quote