View Single Post
Old 08-23-2019, 03:56 AM   #1
wuebbel
Junior Member
wuebbel began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2019
Device: Kindle
convert: png treated as txt

I'm trying to convert an epub to pdf in calibre. The conversion fails with:

assets/img.png contains data in TXT format converting to HTML
Converting assets/tip-small.png ...
Failed to run pipe worker with command: from calibre.gui2.viewer.printing import do_print; do_print()
Python function terminated unexpectedly
'utf8' codec can't decode byte 0x89 in position 0: invalid start byte. -- Note: Markdown only accepts unicode input! (Error Code: 1)

Obviously, calibre is interpreting the PNG as text, which then fails.

This is on a fresh install of calibre 3.46.0 on Windows 10. Conversion of a different epub worked.

Any ideas?

Thanks Frank
wuebbel is offline   Reply With Quote