![]() |
#1 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,970
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Conversion Fail Due to Emojis?
I've seen this a few times before, but it's happened to me twice this morning:
Conversion from EPUB to AZW3 fails due to a single emoji character in the EPUB. It doesn't effect viewing, editing, exploding, polishing, etc--only converting as far as I can tell. In both cases, I get the same final error: ValueError: unichr() arg not in range(0x10000) (narrow Python build) I've narrowed it down specifically to these snippets: <img alt="🙀" ...> <img alt="😅" ...> Removing the emoji character in the alt attr allows conversion to work. And the error is the same even though the emojis are different. I'm running 64bit Calibre in debug mode on Windows 10. (Possibly related, I've also been occasionally seeing Calibre silently stop and close without any error message. I've seen it happen when calling auto-convert from FanFicFare plugin and once today when hitting the 'e' key to edit metadata. Only since v4 came out.) Attached are 2 epubs showing the problem and the conversion logs I get when they fail. Any help would be appreciated, thanks. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,970
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
That did it.
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre conversion fail all formats | katzsis | Conversion | 4 | 05-19-2018 11:53 AM |
kindle and emojis? | Trigun | Amazon Kindle | 21 | 03-15-2018 08:27 PM |
Errors due to format conversion - publisher's responsibility? | avantman42 | General Discussions | 58 | 03-01-2012 02:42 AM |
Conversion fail... | TheCrazier | Calibre | 4 | 07-30-2010 05:24 PM |
font rescaled due to conversion?? | alexxxm | Calibre | 2 | 01-28-2010 05:45 AM |